[med-svn] [sistr] 01/01: Try to build with Python3 - but the result is questionable. This needs more work
Andreas Tille
tille at debian.org
Wed Oct 11 19:46:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch python3
in repository sistr.
commit a33ef4dd39bc087e7b0edc72f1008721b311d75f
Author: Andreas Tille <tille at debian.org>
Date: Wed Oct 11 21:41:39 2017 +0200
Try to build with Python3 - but the result is questionable. This needs more work
---
debian/control | 26 +++++++++++++-------------
debian/rules | 10 ++++++++--
2 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/debian/control b/debian/control
index 455a679..badb2a5 100644
--- a/debian/control
+++ b/debian/control
@@ -5,12 +5,12 @@ Section: science
Priority: optional
Build-Depends: debhelper (>= 10),
dh-python,
- python-all,
- python-setuptools,
- python-pytest,
- python-pandas,
- python-fastcluster,
- python-scipy,
+ python3-all,
+ python3-setuptools,
+ python3-pytest,
+ python3-pandas,
+ python3-fastcluster,
+ python3-scipy,
ncbi-blast+,
mafft,
mash
@@ -18,17 +18,17 @@ 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
Homepage: https://github.com/peterk87/sistr_cmd/
-X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
Package: sistr
Architecture: all
-Depends: ${python:Depends},
+Depends: ${python3:Depends},
${misc:Depends},
- python-fastcluster,
- python-numpy,
- python-tables,
- python-pandas,
- python-scipy,
+ python3-fastcluster,
+ python3-numpy,
+ python3-tables,
+ python3-pandas,
+ python3-scipy,
ncbi-blast+,
mafft
Recommends: mash
diff --git a/debian/rules b/debian/rules
index 73cab74..8936e0e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,5 +10,11 @@ override_dh_fixperms:
find debian -name "*.fasta" -exec chmod -x \{\} \;
find debian -name "*.csv" -exec chmod -x \{\} \;
-#override_dh_auto_test:
-# dh_auto_test || true
+override_dh_auto_clean:
+ python3 setup.py clean -a
+
+override_dh_auto_build:
+ python3 setup.py build
+
+override_dh_auto_test:
+ dh_auto_test || true
--
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