[Python-modules-commits] [python-webencodings] 01/01: Enable tests via nose

Barry Warsaw barry at moszumanska.debian.org
Thu Jan 5 15:14:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository python-webencodings.

commit 3ad11cb8968fbda79348df8286bd56ebf31d0a11
Author: Barry Warsaw <barry at python.org>
Date:   Thu Jan 5 10:14:26 2017 -0500

    Enable tests via nose
---
 debian/changelog | 7 +++++++
 debian/control   | 2 ++
 debian/rules     | 2 ++
 3 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 790367c..933eb4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-webencodings (0.5-2) UNRELEASED; urgency=medium
+
+  * d/rules: Run tests via nose at build time.
+  * d/control: Add python{,3}-nose to Build-Depends.
+
+ -- Barry Warsaw <barry at debian.org>  Thu, 05 Jan 2017 10:03:34 -0500
+
 python-webencodings (0.5-1) unstable; urgency=medium
 
   * Initial release. (Closes: #842738)
diff --git a/debian/control b/debian/control
index 671fb47..7c2ff29 100644
--- a/debian/control
+++ b/debian/control
@@ -6,9 +6,11 @@ Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.o
 Build-Depends: debhelper (>= 9.0.0),
                dh-python,
                python (>= 2.6.6-3~),
+               python-nose,
                python-setuptools,
                python3,
                python3-all,
+               python3-nose,
                python3-setuptools,
 Standards-Version: 3.9.8
 Homepage: https://github.com/SimonSapin/python-webencodings
diff --git a/debian/rules b/debian/rules
index f240dcb..3f4c157 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@ export PYBUILD_NAME=webencodings
 #export PYBUILD_VERBOSE=1
 #export DH_VERBOSE=1
 
+export PYBUILD_TEST_NOSE=1
+
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-webencodings.git



More information about the Python-modules-commits mailing list