[med-svn] [sistr] 03/04: Attempt to use Python3 failed - switch to Python 2, some more Dependencies

Andreas Tille tille at debian.org
Wed Oct 11 15:45:28 UTC 2017


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

tille pushed a commit to branch master
in repository sistr.

commit 69184b2a1ec300cb4dcd7427d04f06f7d41d5d7a
Author: Andreas Tille <tille at debian.org>
Date:   Wed Oct 11 17:36:08 2017 +0200

    Attempt to use Python3 failed - switch to Python 2, some more Dependencies
---
 debian/control | 12 +++++++++---
 debian/rules   |  2 +-
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index a63ecc8..5583cf2 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,11 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10),
-               python3-all,
+               dh-python,
+               python-all,
                python-setuptools,
+               python-pytest,
+               python-pandas
 Standards-Version: 4.1.1
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/sistr.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/sistr.git
@@ -14,8 +17,11 @@ X-Python-Version: >= 2.7
 
 Package: sistr
 Architecture: all
-Depends: ${python3:Depends},
-         ${misc:Depends}
+Depends: ${python:Depends},
+         ${misc:Depends},
+         python-numpy,
+         python-tables,
+         python-pandas
 Description: Salmonella In Silico Typing Resource (SISTR)
  The Salmonella In Silico Typing Resource (SISTR) commandline tool allows
  serovar predictions from whole-genome sequence assemblies by
diff --git a/debian/rules b/debian/rules
index 271a837..22cbf13 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 # DH_VERBOSE := 1
 
 %:
-	dh $@  --with python3
+	dh $@  --with python2 --buildsystem=pybuild
 
 override_dh_fixperms:
 	dh_fixperms

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



More information about the debian-med-commit mailing list