[Python-modules-commits] [python-pykka] 16/17: Build-Depend on python{, 3}-nose and python{, 3}-mock to run tests

Stein Magnus Jodal jodal at moszumanska.debian.org
Sat Nov 7 20:24:47 UTC 2015


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

jodal pushed a commit to branch master
in repository python-pykka.

commit 764eb56f9a2e5d8524fdfe8c4f1cfa3d5dc0d8e3
Author: Stein Magnus Jodal <jodal at debian.org>
Date:   Sat Nov 7 21:14:23 2015 +0100

    Build-Depend on python{,3}-nose and python{,3}-mock to run tests
---
 debian/changelog | 1 +
 debian/control   | 4 ++++
 debian/rules     | 2 ++
 3 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 41a444a..e4345aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ python-pykka (1.2.1-2) UNRELEASED; urgency=medium
     - Build-Depend on debhelper 9
     - Build-Depend on dh-python
     - Build-Depend on python3-sphinx so we can build docs under Python 3
+    - Build-Depend on python{,3}-nose and python{,3}-mock to run tests
     - wrap-and-sort
     - Include python3-gevent and python3-eventlet in Suggests for py3 package
   * debian/copyright
diff --git a/debian/control b/debian/control
index ef38314..ca5da66 100644
--- a/debian/control
+++ b/debian/control
@@ -6,9 +6,13 @@ Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.o
 Build-Depends: debhelper (>= 9),
                dh-python,
                python-all (>= 2.6.6-3~),
+               python-mock,
+               python-nose,
                python-setuptools,
                python-sphinx,
                python3-all,
+               python3-mock,
+               python3-nose,
                python3-setuptools,
                python3-sphinx,
 Standards-Version: 3.9.6
diff --git a/debian/rules b/debian/rules
index d0dc560..5bbd8a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 #export DH_VERBOSE=1
 
 export PYBUILD_NAME=pykka
+export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
+export PYBUILD_TEST_NOSE=1
 
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list