[med-svn] [python-cobra] 03/06: Update packaging to accomodate change in test suite framework

Afif Elghraoui afif at moszumanska.debian.org
Tue Nov 29 11:47:39 UTC 2016


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

afif pushed a commit to branch master
in repository python-cobra.

commit c9ccb3658d2958639f5495d046fe5d70444e8e64
Author: Afif Elghraoui <afif at debian.org>
Date:   Tue Nov 29 03:08:34 2016 -0800

    Update packaging to accomodate change in test suite framework
---
 debian/control       | 4 ++++
 debian/rules         | 1 +
 debian/tests/control | 4 ++++
 3 files changed, 9 insertions(+)

diff --git a/debian/control b/debian/control
index a79f657..a27aef3 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,10 @@ Build-Depends:
 	python3-six,
 	cython3,
 # Test-Depends:
+	python-pytest,
+	python-pytest-benchmark,
+	python3-pytest,
+	python3-pytest-benchmark,
 	python-jsonschema (>> 2.5.0),
 	python-numpy,
 	python-scipy,
diff --git a/debian/rules b/debian/rules
index c7d3397..ca00316 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@
 #include /usr/share/dpkg/default.mk
 export LC_ALL=C.UTF-8
 export PYBUILD_NAME=cobra
+export PYBUILD_TEST_ARGS=--benchmark-skip
 
 
 %:
diff --git a/debian/tests/control b/debian/tests/control
index eb1e3c6..eb2cc83 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -4,6 +4,8 @@ Test-Command:
 Depends:
 	make,
 	python-cobra,
+	python-pytest,
+	python-pytest-benchmark,
 	python-jsonschema,
 # We could have avoided retyping these by adding the "needs-recommends" restriction, but doing that would also cause matplotlib to be pulled in.
 # The tests involving matplotlib fail on debci from trying to do graphical operations on a headless server.
@@ -19,6 +21,8 @@ Test-Command:
 Depends:
 	make,
 	python3-cobra,
+	python3-pytest,
+	python3-pytest-benchmark,
 	python3-jsonschema,
 # See the comment for the corresponding section in the python2 test above.
 	python3-scipy,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-cobra.git



More information about the debian-med-commit mailing list