Package: mutagen Severity: wishlist Tags: patch I've added python setup.py test calls to debian/rules. DPMT isn't mentioned in Maintainer/Uploaders so I didn't commit that to the SVN repo. The patch is attached.
-- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37.1-wrar+ (SMP w/4 CPU cores; PREEMPT) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Index: debian/control =================================================================== --- debian/control (revision 15952) +++ debian/control (working copy) @@ -3,7 +3,8 @@ Priority: optional Maintainer: Tristan Seligmann <mithra...@mithrandi.net> Build-Depends-Indep: python-support -Build-Depends: debhelper (>= 7.0.50~), python (>= 2.3.5-7) +Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.3.5-7), + faad, flac, oggz-tools, vorbis-tools, python-pyvorbis Standards-Version: 3.8.4 XS-Python-Version: >= 2.3 Vcs-Svn: svn://svn.debian.org/python-modules/packages/mutagen Index: debian/rules =================================================================== --- debian/rules (revision 15952) +++ debian/rules (working copy) @@ -1,7 +1,17 @@ #!/usr/bin/make -f +PYTHON2=$(shell pyversions -vr) + %: dh $@ 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%)