[pybtex] 15/108: * Switch to source format 3.0 (quilt). * Make tests/run_bibtex.py compatible with Python 2.5. * Run unit-tests at build time.
Daniel Stender
stender at moszumanska.debian.org
Fri Jul 21 10:18:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
stender pushed a commit to branch master
in repository pybtex.
commit 1378e793f9bdedb081c25e0869451fe569ed851d
Author: Jakub Wilk <jwilk at debian.org>
Date: Tue Dec 29 12:31:39 2009 +0000
* Switch to source format 3.0 (quilt).
* Make tests/run_bibtex.py compatible with Python 2.5.
* Run unit-tests at build time.
---
debian/changelog | 5 ++++-
debian/control | 6 +++++-
debian/patches/python2.5.diff | 16 ++++++++++++++++
debian/patches/series | 1 +
debian/rules | 4 ++++
debian/source/format | 1 +
6 files changed, 31 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9c65bb4..e2d2011 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,11 @@ pybtex (0.12-2) UNRELEASED; urgency=low
* Install alternative for /usr/bin/bibtex.
Break TeX Live packages that installed this file.
* Update debian/copyright in accordance to the latest DEP-5 version.
+ * Switch to source format 3.0 (quilt).
+ * Make tests/run_bibtex.py compatible with Python 2.5.
+ * Run unit-tests at build time.
- -- Jakub Wilk <ubanus at users.sf.net> Tue, 29 Dec 2009 12:13:14 +0100
+ -- Jakub Wilk <ubanus at users.sf.net> Tue, 29 Dec 2009 13:30:54 +0100
pybtex (0.12-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index a8a34cc..bb364df 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,11 @@ Section: tex
Priority: optional
Maintainer: Jakub Wilk <ubanus at users.sf.net>
Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-support (>= 0.90), python-setuptools, elinks-lite | elinks
+Build-Depends: debhelper (>= 7.0.50~),
+ python-support (>= 0.90), python-setuptools,
+ python-nose, python-pyparsing, python-yaml, bzr,
+ python-docutils, python-jinja2, python-pygments,
+ elinks-lite | elinks
XS-Python-Version: >= 2.5
Standards-Version: 3.8.3
Homepage: http://pybtex.sourceforge.net/
diff --git a/debian/patches/python2.5.diff b/debian/patches/python2.5.diff
new file mode 100644
index 0000000..e32aa11
--- /dev/null
+++ b/debian/patches/python2.5.diff
@@ -0,0 +1,16 @@
+Description: Fix compatibility with Python 2.5.
+Author: Jakub Wilk <ubanus at users.sf.net>
+
+Index: pybtex-0.12/pybtex/tests/run_bibtex.py
+===================================================================
+--- pybtex-0.12.orig/pybtex/tests/run_bibtex.py 2009-12-29 13:00:29.000000000 +0100
++++ pybtex-0.12/pybtex/tests/run_bibtex.py 2009-12-29 13:00:38.000000000 +0100
+@@ -15,6 +15,8 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
++from __future__ import with_statement
++
+ import sys
+ import re
+ from os import path
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aa13ec9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+python2.5.diff
diff --git a/debian/rules b/debian/rules
index 4ae21c0..e1e1ca3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,10 @@ override_dh_installman:
dh_installman
cd debian/pybtex/ && rename.ul pybtex bibtex.pybtex usr/share/man/man*/pybtex.[0-9]
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+ python setup.py nosetests
+
.PHONY: override_dh_installchangelog
override_dh_installchangelogs:
elinks -config-file /dev/null -dump -no-numbering -no-references docs/html/history.html \
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git
More information about the debian-science-commits
mailing list