[Python-modules-commits] [python-urllib3] 01/02: Use autopkgtest-pkg-python testsuite instead of hardcoded one
Ondrej Novy
onovy at debian.org
Mon Dec 11 22:21:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository python-urllib3.
commit d52786d2e52e410cc478c4babdff28c0ae141913
Author: Ondřej Nový <onovy at debian.org>
Date: Mon Dec 11 23:13:21 2017 +0100
Use autopkgtest-pkg-python testsuite instead of hardcoded one
---
debian/changelog | 1 +
debian/control | 1 +
debian/tests/control | 6 ------
3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f8f39f0..65e17b4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ python-urllib3 (1.22-1) UNRELEASED; urgency=medium
* Standards-Version is 4.1.2 now (no changes needed)
* Add python{3,}-pytest to B-D
* Use pytest for unit tests (same as upstream) and skip timing tests
+ * Use autopkgtest-pkg-python testsuite instead of hardcoded one
-- Ondřej Nový <onovy at debian.org> Mon, 11 Dec 2017 21:22:20 +0100
diff --git a/debian/control b/debian/control
index 0825a79..262f6d2 100644
--- a/debian/control
+++ b/debian/control
@@ -30,6 +30,7 @@ X-Python3-Version: >= 3.2
Homepage: http://urllib3.readthedocs.org
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-urllib3.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-urllib3.git
+Testsuite: autopkgtest-pkg-python
Package: python-urllib3
Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index e6e5bba..0000000
--- a/debian/tests/control
+++ /dev/null
@@ -1,6 +0,0 @@
-Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import urllib3; print urllib3" ; done
-Depends: python-all, python-urllib3
-
-Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import urllib3; print(urllib3)" ; done
-Depends: python3-all, python3-urllib3
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-urllib3.git
More information about the Python-modules-commits
mailing list