[Python-apps-commits] r4393 - in packages/pybtex/trunk/debian (8 files)

jwilk-guest at users.alioth.debian.org jwilk-guest at users.alioth.debian.org
Tue Dec 29 12:31:40 UTC 2009


    Date: Tuesday, December 29, 2009 @ 12:31:39
  Author: jwilk-guest
Revision: 4393

* Switch to source format 3.0 (quilt).
* Make tests/run_bibtex.py compatible with Python 2.5.
* Run unit-tests at build time.

Added:
  packages/pybtex/trunk/debian/patches/
  packages/pybtex/trunk/debian/patches/python2.5.diff
  packages/pybtex/trunk/debian/patches/series
  packages/pybtex/trunk/debian/source/
  packages/pybtex/trunk/debian/source/format
Modified:
  packages/pybtex/trunk/debian/changelog
  packages/pybtex/trunk/debian/control
  packages/pybtex/trunk/debian/rules

Modified: packages/pybtex/trunk/debian/changelog
===================================================================
--- packages/pybtex/trunk/debian/changelog	2009-12-29 11:37:48 UTC (rev 4392)
+++ packages/pybtex/trunk/debian/changelog	2009-12-29 12:31:39 UTC (rev 4393)
@@ -4,8 +4,11 @@
   * 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
 

Modified: packages/pybtex/trunk/debian/control
===================================================================
--- packages/pybtex/trunk/debian/control	2009-12-29 11:37:48 UTC (rev 4392)
+++ packages/pybtex/trunk/debian/control	2009-12-29 12:31:39 UTC (rev 4393)
@@ -3,7 +3,11 @@
 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/

Added: packages/pybtex/trunk/debian/patches/python2.5.diff
===================================================================
--- packages/pybtex/trunk/debian/patches/python2.5.diff	                        (rev 0)
+++ packages/pybtex/trunk/debian/patches/python2.5.diff	2009-12-29 12:31:39 UTC (rev 4393)
@@ -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

Added: packages/pybtex/trunk/debian/patches/series
===================================================================
--- packages/pybtex/trunk/debian/patches/series	                        (rev 0)
+++ packages/pybtex/trunk/debian/patches/series	2009-12-29 12:31:39 UTC (rev 4393)
@@ -0,0 +1 @@
+python2.5.diff

Modified: packages/pybtex/trunk/debian/rules
===================================================================
--- packages/pybtex/trunk/debian/rules	2009-12-29 11:37:48 UTC (rev 4392)
+++ packages/pybtex/trunk/debian/rules	2009-12-29 12:31:39 UTC (rev 4393)
@@ -13,6 +13,10 @@
 	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 \

Added: packages/pybtex/trunk/debian/source/format
===================================================================
--- packages/pybtex/trunk/debian/source/format	                        (rev 0)
+++ packages/pybtex/trunk/debian/source/format	2009-12-29 12:31:39 UTC (rev 4393)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the Python-apps-commits mailing list