From: Jorge Soares Date: Wed, 26 Nov 2014 10:56:08 +0000 (+0000) Subject: starting to implement python 3 support X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~373 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3d2e27b2cf8032c41ad5741c66faad6bd5666bdc;p=python-pysam.git starting to implement python 3 support --- 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