[Python-modules-commits] r21669 - in packages/html5lib/trunk/debian (changelog control rules)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Wed May 9 20:06:09 UTC 2012
Date: Wednesday, May 9, 2012 @ 20:06:04
Author: bzed
Revision: 21669
* Tidy debian/rules, using dh, bump debian/compat to 7,
use override_dh_auth_test to run tests.
* Do not install tests folder.
Modified:
packages/html5lib/trunk/debian/changelog
packages/html5lib/trunk/debian/control
packages/html5lib/trunk/debian/rules
Modified: packages/html5lib/trunk/debian/changelog
===================================================================
--- packages/html5lib/trunk/debian/changelog 2012-05-09 19:43:25 UTC (rev 21668)
+++ packages/html5lib/trunk/debian/changelog 2012-05-09 20:06:04 UTC (rev 21669)
@@ -2,14 +2,16 @@
* New upstream version
* Fix watch file.
- * Tidy debian/rules, using dh, bump debian/compat to 7.
+ * Tidy debian/rules, using dh, bump debian/compat to 7,
+ use override_dh_auth_test to run tests.
* Migrate to dh_python2.
* Drop no-setuptools patch, add python-setuptools as dependency.
* Drop patch system and debian/README.source
* Remove debian/examples - not shipped by upstream anymore.
* Bump Standards-Version to 3.9.3.
+ * Do not install tests folder.
- -- Bernd Zeimetz <bzed at debian.org> Wed, 09 May 2012 21:43:18 +0200
+ -- Bernd Zeimetz <bzed at debian.org> Wed, 09 May 2012 22:05:47 +0200
html5lib (0.90-1) unstable; urgency=low
Modified: packages/html5lib/trunk/debian/control
===================================================================
--- packages/html5lib/trunk/debian/control 2012-05-09 19:43:25 UTC (rev 21668)
+++ packages/html5lib/trunk/debian/control 2012-05-09 20:06:04 UTC (rev 21669)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Bernd Zeimetz <bzed at debian.org>
-Build-Depends: debhelper (>= 7), python-all (>= 2.6.6-3~), python-setuptools
+Build-Depends: debhelper (>= 7.0.50), python-all (>= 2.6.6-3~), python-setuptools
Build-Depends-Indep: python-lxml, python-simplejson, python-chardet
Vcs-Svn: svn://svn.debian.org/python-modules/packages/html5lib/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/html5lib/trunk/
Modified: packages/html5lib/trunk/debian/rules
===================================================================
--- packages/html5lib/trunk/debian/rules 2012-05-09 19:43:25 UTC (rev 21668)
+++ packages/html5lib/trunk/debian/rules 2012-05-09 20:06:04 UTC (rev 21669)
@@ -1,6 +1,20 @@
#!/usr/bin/make -f
+PYVERS:=$(shell pyversions -r)
+
%:
dh --with python2 $@
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ set -e ;\
+ cd html5lib/tests ;\
+ for py in $(PYVERS); do \
+ PYTHONPATH=$(CURDIR)/build/lib $$py runtests.py; \
+ done
+endif
+
+override_dh_auto_install:
+ dh_auto_install
+ find debian/temp -type d -name tests -print0 | xargs -0 rm -r
More information about the Python-modules-commits
mailing list