[med-svn] [python-csb] 01/03: Applying patch provided by Dmitry Shachnev to fix tests and some dependencies (738962)

Tomás Di Domenico tdido-guest at moszumanska.debian.org
Mon Feb 17 12:25:44 UTC 2014


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

tdido-guest pushed a commit to branch master
in repository python-csb.

commit fe633e92c5ddd2513300060a24f873265e4f6d64
Author: Tomás Di Domenico <tdido at tdido.com.ar>
Date:   Mon Feb 17 11:21:58 2014 +0100

    Applying patch provided by Dmitry Shachnev to fix tests and some dependencies (738962)
---
 debian/control       | 8 ++++++--
 debian/tests/build   | 4 ++--
 debian/tests/control | 3 ++-
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 82db722..eeef92d 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,9 @@ X-Python3-Version: >= 3.1
 Package: python-csb
 Architecture: all
 Depends: ${misc:Depends},
-         ${python:Depends}
+         ${python:Depends},
+         python-numpy,
+         python-scipy
 Suggests: python-csb-doc
 Description: Python framework for structural bioinformatics 
  Computational Structural Biology Toolbox (CSB) is a Python class
@@ -35,7 +37,9 @@ Description: Python framework for structural bioinformatics
 Package: python3-csb
 Architecture: all
 Depends: ${misc:Depends},
-         ${python3:Depends}
+         ${python3:Depends},
+         python3-numpy,
+         python3-scipy
 Suggests: python-csb-doc
 Description: Python framework for structural bioinformatics (Python3 version)
  Computational Structural Biology Toolbox (CSB) is a Python class
diff --git a/debian/tests/build b/debian/tests/build
index e6ee7f7..9eb6774 100644
--- a/debian/tests/build
+++ b/debian/tests/build
@@ -5,6 +5,6 @@ set -eu
 cp -r csb/test "$ADTTMP/"
 
 cd "$ADTTMP"
-for python in $(pyversions -i) $(py3versions -i); do
-    PYTHONPATH=$(CURDIR):$(PYTHONPATH) PYTHONWARNINGS=d python test/app.py --generated-resources /tmp
+for py in $(pyversions -i) $(py3versions -i); do
+    PYTHONWARNINGS=d $py test/app.py --generated-resources /tmp --verbosity 2
 done
diff --git a/debian/tests/control b/debian/tests/control
index ec92df6..6b68d1a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,3 @@
 Tests: build
-Depends: python-csb,python3-csb,python-unittest2,python-numpy
+Depends: python-csb, python-unittest2, python3-csb, python3-all
+Restrictions: allow-stderr

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



More information about the debian-med-commit mailing list