dh-python,
libhts-dev (>= 1.9),
zlib1g-dev,
+ python-all-dev,
+ python-setuptools,
+ cython (>= 0.23),
python3-all-dev,
python3-setuptools,
cython3 (>= 0.23),
tabix <!nocheck>,
samtools (>= 1.9) <!nocheck>,
bcftools (>= 1.9) <!nocheck>,
+ python-pytest <!nocheck>,
python3-pytest <!nocheck>
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/python-pysam
Vcs-Git: https://salsa.debian.org/med-team/python-pysam.git
Homepage: http://pysam.readthedocs.org/en/latest
+Package: python-pysam
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ ${python:Depends}
+Provides: ${python:Provides}
+Description: interface for the SAM/BAM sequence alignment and mapping format (Python 2)
+ Pysam is a Python module for reading and manipulating Samfiles. It's a
+ lightweight wrapper of the samtools C-API. Pysam also includes an interface
+ for tabix.
+ .
+ This package installs the module for Python 2.
+
Package: python3-pysam
Architecture: any
Depends: ${shlibs:Depends},
--- /dev/null
+#!/usr/bin/dh-exec
+/usr/lib/python2.7/dist-packages/pysam/libcsamtools.${DEB_HOST_GNU_TYPE}.so /usr/lib/python2.7/dist-packages/pysam/libcsamtools.so
+/usr/lib/python2.7/dist-packages/pysam/libcbcftools.${DEB_HOST_GNU_TYPE}.so /usr/lib/python2.7/dist-packages/pysam/libcbcftools.so
+/usr/lib/python2.7/dist-packages/pysam/libchtslib.${DEB_HOST_GNU_TYPE}.so /usr/lib/python2.7/dist-packages/pysam/libchtslib.so
--- /dev/null
+# These are apparently false-positives
+# Inspection of the build logs shows that these are indeed compiled with
+# -D_FORTIFY_SOURCE=2
+hardening-no-fortify-functions usr/lib/python2.7/dist-packages/pysam/lib*.so
clean: clean-tests
%:
- dh $@ --with python3 --buildsystem=pybuild
+ dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_install: clean-tests
dh_install -Xtest.gtf.gz