[med-svn] [python-pbconsensuscore] 06/08: Build Python 3 package

Afif Elghraoui afif-guest at moszumanska.debian.org
Thu Sep 3 07:14:31 UTC 2015


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

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

commit 34ac67721cab2a008db28f5ded7d0518469ca4ef
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Thu Sep 3 00:10:58 2015 -0700

    Build Python 3 package
---
 debian/control | 15 +++++++++++++++
 debian/rules   |  8 ++++++--
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 9484144..e165dbb 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,9 @@ Build-Depends: debhelper (>= 9),
 	       python-setuptools,
 	       python-dev,
 	       python-numpy,
+	       python3-setuptools,
+	       python3-dev,
+	       python3-numpy,
 	       libboost-dev,
 	       swig
 Standards-Version: 3.9.6
@@ -27,3 +30,15 @@ Description: algorithms for Pacific Biosciences multiple sequence consensus
  .
  This package is part of the SMRT Analysis suite
 
+Package: python3-pbconsensuscore
+Architecture: any
+Depends: ${shlibs:Depends},
+	 ${misc:Depends},
+	 ${python3:Depends}
+Description: algorithms for Pacific Biosciences multiple sequence consensus (Python 3)
+ ConsensusCore is a library of C++ algorithms for PacBio multiple sequence
+ consensus that powers Quiver (Python) and ConsensusTools (.NET). This library
+ primarily exists as the backend for GenomicConsensus, which implements Quiver.
+ .
+ This package is part of the SMRT Analysis suite.
+ It provides the Python3 module.
diff --git a/debian/rules b/debian/rules
index b23c265..9d651fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,11 +5,15 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
-export PYBUILD_NAME=ConsensusCore
+export PYBUILD_NAME=pbconsensuscore
 
 %:
-	LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
+	LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_python2:
 	dh_python2
 	dh_numpy
+
+override_dh_python3:
+	dh_python3
+	dh_numpy3

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



More information about the debian-med-commit mailing list