[med-svn] r16379 - trunk/packages/python-biopython/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Tue Mar 4 18:11:25 UTC 2014
Author: tille
Date: 2014-03-04 18:11:25 +0000 (Tue, 04 Mar 2014)
New Revision: 16379
Modified:
trunk/packages/python-biopython/trunk/debian/control
trunk/packages/python-biopython/trunk/debian/rules
Log:
Follow some hints from Debian Python team
Modified: trunk/packages/python-biopython/trunk/debian/control
===================================================================
--- trunk/packages/python-biopython/trunk/debian/control 2014-03-04 15:22:03 UTC (rev 16378)
+++ trunk/packages/python-biopython/trunk/debian/control 2014-03-04 18:11:25 UTC (rev 16379)
@@ -21,6 +21,7 @@
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/python-biopython/trunk/
Homepage: http://biopython.org
X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.3
Package: python-biopython
Architecture: any
@@ -38,7 +39,6 @@
blast2,
python-psycopg2,
probcons
-Provides: ${python:Provides}
Description: Python library for bioinformatics (implemented in Python 2)
The Biopython Project is an international association
of developers of freely available Python tools for
@@ -57,7 +57,7 @@
Package: python3-biopython
Architecture: any
-Depends: ${python:Depends},
+Depends: ${python3:Depends},
${shlibs:Depends},
${misc:Depends},
python3-reportlab
@@ -71,7 +71,6 @@
blast2,
python3-psycopg2,
probcons
-Provides: ${python:Provides}
Description: Python library for bioinformatics (implemented in Python 3)
The Biopython Project is an international association
of developers of freely available Python tools for
@@ -115,7 +114,7 @@
Package: python3-biopython-sql
# Todo: add www.biosql.org as "External Ressource" on packages.debian.org when the infrastructure will provide a way to do so.
Architecture: all
-Depends: ${python:Depends},
+Depends: ${python3:Depends},
${misc:Depends},
python3-biopython
Provides: ${python:Provides}
Modified: trunk/packages/python-biopython/trunk/debian/rules
===================================================================
--- trunk/packages/python-biopython/trunk/debian/rules 2014-03-04 15:22:03 UTC (rev 16378)
+++ trunk/packages/python-biopython/trunk/debian/rules 2014-03-04 18:11:25 UTC (rev 16379)
@@ -3,7 +3,7 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
-#PACKAGE_NAME := python_biopython
+#export PYBUILD_NAME=biopython
#export PYBUILD_DESTDIR_python2=debian/python-biopython/
#export PYBUILD_DESTDIR_python3=debian/python3-biopython/
@@ -15,3 +15,5 @@
dh_numpy -ppython-biopython
dh_numpy3 -ppython3-biopython
+override_dh_auto_test:
+ dh_auto_test -- --test --system=custom --test-args='env PYTHONPATH={build_dir} {interpreter} setup.py test'
More information about the debian-med-commit
mailing list