[med-svn] [python-pysam] 01/01: starting to implement python 3 support

Jorge Soares jssoares-guest at moszumanska.debian.org
Wed Nov 26 10:56:30 UTC 2014


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

jssoares-guest pushed a commit to branch master
in repository python-pysam.

commit 3d2e27b2cf8032c41ad5741c66faad6bd5666bdc
Author: Jorge Soares <j.s.soares at gmail.com>
Date:   Wed Nov 26 10:56:08 2014 +0000

    starting to implement python 3 support
---
 debian/control | 40 +++++++++++++++++++++++++++++++++++-----
 debian/rules   |  2 +-
 2 files changed, 36 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 421636e..14f7647 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,14 @@ Section: python
 XS-Testsuite: autopkgtest
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               dh-python,
-               python-all-dev,
-               python-setuptools,
-               cython,
+	       dh-python,
+	       python-all-dev,
+	       python-setuptools,
+	       cython,
+	       dh-python3,
+	       python3-all-dev,
+	       python3-setuptools,
+	       cython3,
                zlib1g-dev,
                samtools (>= 0.1.19),
                libhts-dev
@@ -24,11 +28,20 @@ Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          ${python:Depends},
-         python-pyrex
 Description: interface for the SAM/BAM sequence alignment and mapping format
  Pysam is a Python module for reading and manipulating Samfiles. It's a
  lightweight wrapper of the samtools C-API. 
 
+Package: python3-pysam
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python3:Depends},
+Description: interface for the SAM/BAM sequence alignment and mapping format
+ Pysam is a Python module for reading and manipulating Samfiles. It's a
+ lightweight wrapper of the samtools C-API. 
+
+
 Package: python-pysam-tests
 Architecture: all
 Priority: extra
@@ -45,3 +58,20 @@ Description: interface for the SAM/BAM sequence alignment and mapping format (te
  .
  This package contains the data provided by upstream to run the pysam
  test suite.
+
+Package: python3-pysam-tests
+Architecture: all
+Priority: extra
+Enhances: python3-pysam
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python3:Depends},
+         python3,
+         python3-pysam,
+	 cython3
+Description: interface for the SAM/BAM sequence alignment and mapping format (test data)
+ Pysam is a Python module for reading and manipulating Samfiles. It's a
+ lightweight wrapper of the samtools C-API. 
+ .
+ This package contains the data provided by upstream to run the pysam
+ test suite.
diff --git a/debian/rules b/debian/rules
index b9439ae..550e772 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ HTSLIBDIR  := /usr/lib/$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 # DEB_BUILD_OPTIONS := nocheck
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 # Make sure Cython is recreating some c-files.  To enable building twice in a
 # row these will be saved in advance and restored afterwards

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



More information about the debian-med-commit mailing list