[Python-modules-commits] [python-pex] 01/01: * d/rules: Only build for the default Python 3 version, which fixes a lintian warning (and bogus shebang) when multiple Python 3 versions are supported. * d/tests/control: - Use Test-Command instead of a separate script. - Bump pex verbosity in the execution test. - Add "Restrictions: allow-stderr" for verbose execution test. - Add import tests for Python 2 and 3. * d/tests/smoketest: Remove.
Barry Warsaw
barry at moszumanska.debian.org
Tue Oct 6 19:29:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository python-pex.
commit a5feeda3ac1ef4568ff4bd0ea54a26786c8275ed
Author: Barry Warsaw <barry at debian.org>
Date: Tue Oct 6 15:29:07 2015 -0400
* d/rules: Only build for the default Python 3 version, which fixes a
lintian warning (and bogus shebang) when multiple Python 3 versions
are supported.
* d/tests/control:
- Use Test-Command instead of a separate script.
- Bump pex verbosity in the execution test.
- Add "Restrictions: allow-stderr" for verbose execution test.
- Add import tests for Python 2 and 3.
* d/tests/smoketest: Remove.
---
debian/changelog | 14 ++++++++++++++
debian/rules | 1 +
debian/tests/control | 8 +++++++-
debian/tests/smoketest | 4 ----
4 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 368c7a9..fd8b507 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+python-pex (1.0.3-2) UNRELEASED; urgency=medium
+
+ * d/rules: Only build for the default Python 3 version, which fixes a
+ lintian warning (and bogus shebang) when multiple Python 3 versions
+ are supported.
+ * d/tests/control:
+ - Use Test-Command instead of a separate script.
+ - Bump pex verbosity in the execution test.
+ - Add "Restrictions: allow-stderr" for verbose execution test.
+ - Add import tests for Python 2 and 3.
+ * d/tests/smoketest: Remove.
+
+ -- Barry Warsaw <barry at debian.org> Tue, 06 Oct 2015 14:32:46 -0400
+
python-pex (1.0.3-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/rules b/debian/rules
index b3f6dfa..4fa499a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME=pex
+export PYBUILD_PYVER=$(shell py3versions -d)
export DH_VERBOSE=1
export pkgversion=$(shell dpkg-parsechangelog --show-field version)
diff --git a/debian/tests/control b/debian/tests/control
index 3f6d8fb..728fa05 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,8 @@
-Tests: smoketest
+Test-Command: pex -m textwrap -vv -o script && ./script
+Restrictions: allow-stderr
Depends: @
+
+Test-Command: python -c "import pex; print pex"
+Depends: @
+
+Test-Command: python3 -c "import pex; print(pex)"
diff --git a/debian/tests/smoketest b/debian/tests/smoketest
deleted file mode 100755
index 43c27e6..0000000
--- a/debian/tests/smoketest
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-pex -m textwrap -o script
-./script
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pex.git
More information about the Python-modules-commits
mailing list