aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Tricoli <eriol@mornie.org>2014-05-27 14:42:20 +0000
committerDaniele Tricoli <eriol@mornie.org>2014-05-27 14:42:20 +0000
commit4aa7d7f3a9cfc3b67279f3ed4853db4f60de3d00 (patch)
tree7cf6fedeaede7fc347dae8db9e37b20de351313f
parenta83049459ec68bb7eb3d4cb093a1921085c44f45 (diff)
downloadpython-urllib3-4aa7d7f3a9cfc3b67279f3ed4853db4f60de3d00.tar
python-urllib3-4aa7d7f3a9cfc3b67279f3ed4853db4f60de3d00.tar.gz
Enabled tests at build time also for Python 3 using the custom build plugin for tests
-rw-r--r--debian/changelog5
-rwxr-xr-xdebian/rules13
2 files changed, 5 insertions, 13 deletions
diff --git a/debian/changelog b/debian/changelog
index 36eb8f5..8faf2d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,9 +19,10 @@ python-urllib3 (1.8.2-1) UNRELEASED; urgency=medium
* debian/patches/06_relax-test-requirements.patch
- Relax version of packages needed for testing
* debian/rules
- - Enabled tests at build time for Python 3
+ - Enabled tests at build time also for Python 3 using the custom build
+ plugin for tests
- -- Daniele Tricoli <eriol@mornie.org> Sun, 25 May 2014 03:04:16 +0200
+ -- Daniele Tricoli <eriol@mornie.org> Tue, 27 May 2014 16:40:30 +0200
python-urllib3 (1.8-2) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index 364062f..7e92dea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,17 +21,8 @@ override_dh_auto_install:
-d $(CURDIR)/debian/tmp/usr/share/python-wheels
override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- set -ex; \
- for python in $(PYVERS); do \
- $$python setup.py nosetests; \
- done
-
- set -ex; \
- for python in $(PY3VERS); do \
- $$python setup.py nosetests; \
- done
-endif
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="{interpreter} -m nose" dh_auto_test
override_dh_installchangelogs:
dh_installchangelogs CHANGES.rst