drop python2
authorMichael R. Crusoe <michael.crusoe@gmail.com>
Tue, 6 Aug 2019 17:53:50 +0000 (19:53 +0200)
committerMichael R. Crusoe <michael.crusoe@gmail.com>
Tue, 6 Aug 2019 17:54:19 +0000 (19:54 +0200)
debian/control
debian/python-pysam.links [deleted file]
debian/python-pysam.lintian-overrides [deleted file]
debian/rules

index ca1f9b8124391841ec2560c53ec61f77fc7dacbd..86273696f4957eacf31a899a92b8c69ce36ac868 100644 (file)
@@ -10,35 +10,18 @@ Build-Depends: debhelper (>= 11~),
                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},
diff --git a/debian/python-pysam.links b/debian/python-pysam.links
deleted file mode 100755 (executable)
index 8cc3b2c..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/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
diff --git a/debian/python-pysam.lintian-overrides b/debian/python-pysam.lintian-overrides
deleted file mode 100644 (file)
index 785680d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# 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
index 091888ff37edee089a51638b4283ee7cd5801cc4..38b8c725ed8ff542d7b9d27a40eb9bd5e535900d 100755 (executable)
@@ -21,7 +21,7 @@ export HTSLIB_INCLUDE_DIR=/usr/include
 
 clean: clean-tests
 %:
-       dh $@ --with python2,python3 --buildsystem=pybuild
+       dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_install: clean-tests
        dh_install -Xtest.gtf.gz