[med-svn] [python-cobra] 10/11: Clean up and fix autopkgtest

Afif Elghraoui afif-guest at moszumanska.debian.org
Sat Feb 20 09:21:00 UTC 2016


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

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

commit 8e0e72921ccbfbc5a54b4180505137c4a4f006ac
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sat Feb 20 01:02:39 2016 -0800

    Clean up and fix autopkgtest
    
    * Don't use restriction "needs-recommends"; This ends up
      pulling in matplotlib, causing a test failure due to no
      available display for creating plots
    * Simplify test commands
    * Remove explicit dependency on python-cobra-data
---
 debian/tests/control | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 134074d..5a764a5 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,7 +1,14 @@
-Test-Command: cd $ADTTMP && python -c "from sys import exit; from cobra.test import test_all; exit(test_all())"
-Depends: python-cobra, python-cobra-data
-Restrictions: allow-stderr, needs-recommends
+Test-Command: cd $ADTTMP && python -c "import sys; from cobra.test import test_all; sys.exit(test_all())"
+Depends:
+	python-cobra,
+	python-sbml,
+	python-scipy,
+	python-numpy,
+Restrictions: allow-stderr
 
-Test-Command: cd $ADTTMP && python3 -c "from sys import exit; from cobra.test import test_all; exit(test_all())"
-Depends: python3-cobra, python-cobra-data
-Restrictions: allow-stderr, needs-recommends
+Test-Command: cd $ADTTMP && python3 -c "import sys; from cobra.test import test_all; sys.exit(test_all())"
+Depends:
+	python3-cobra,
+	python3-scipy,
+	python3-numpy,
+Restrictions: allow-stderr

-- 
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