[Python-modules-commits] r18501 - in packages/mutagen/trunk/debian (control pycompat rules)

mithrandi-guest at users.alioth.debian.org mithrandi-guest at users.alioth.debian.org
Sun Sep 11 17:33:22 UTC 2011


    Date: Sunday, September 11, 2011 @ 17:33:21
  Author: mithrandi-guest
Revision: 18501

Switch to dh_python2 and run tests on build.

Modified:
  packages/mutagen/trunk/debian/control
  packages/mutagen/trunk/debian/rules
Deleted:
  packages/mutagen/trunk/debian/pycompat

Modified: packages/mutagen/trunk/debian/control
===================================================================
--- packages/mutagen/trunk/debian/control	2011-09-11 16:46:57 UTC (rev 18500)
+++ packages/mutagen/trunk/debian/control	2011-09-11 17:33:21 UTC (rev 18501)
@@ -2,10 +2,10 @@
 Section: python
 Priority: optional
 Maintainer: Tristan Seligmann <mithrandi at mithrandi.net>
-Build-Depends-Indep: python-support
-Build-Depends: debhelper (>= 7.0.50~), python (>= 2.3.5-7)
-Standards-Version: 3.8.4
-XS-Python-Version: >= 2.3
+Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), faad, flac,
+    oggz-tools, vorbis-tools, python-pyvorbis
+Standards-Version: 3.9.2
+X-Python-Version: >= 2.3
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/mutagen
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/mutagen/trunk/
 Homepage: http://code.google.com/p/quodlibet/wiki/Mutagen

Deleted: packages/mutagen/trunk/debian/pycompat
===================================================================
--- packages/mutagen/trunk/debian/pycompat	2011-09-11 16:46:57 UTC (rev 18500)
+++ packages/mutagen/trunk/debian/pycompat	2011-09-11 17:33:21 UTC (rev 18501)
@@ -1 +0,0 @@
-2

Modified: packages/mutagen/trunk/debian/rules
===================================================================
--- packages/mutagen/trunk/debian/rules	2011-09-11 16:46:57 UTC (rev 18500)
+++ packages/mutagen/trunk/debian/rules	2011-09-11 17:33:21 UTC (rev 18501)
@@ -1,7 +1,17 @@
 #!/usr/bin/make -f
 
+PYTHON2=$(shell pyversions -vr)
+
 %:
-	dh $@
+	dh --with python2 $@
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
+
+test-python%:
+	-
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	python$* setup.py test
+endif
+
+override_dh_auto_test: $(PYTHON2:%=test-python%)




More information about the Python-modules-commits mailing list