Autopkgtest does not need it; it uses the source package.
for tabix.
.
This package installs the module for Python 3.
-
-Package: python-pysam-data
-Architecture: all
-Enhances: python-pysam
-Depends: ${misc:Depends},
-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. Pysam also includes an interface
- for tabix.
- .
- This package contains the data provided by upstream to run the pysam
- test suite.
+++ /dev/null
-tests/pysam_data usr/share/doc/python-pysam/data
-tests/tabix_data usr/share/doc/python-pysam/data
+++ /dev/null
-# Upstream-provided gzip file is independent of the build process
-package-contains-timestamped-gzip usr/share/doc/python-pysam/tests/pysam_data/ex1.sam.gz
%:
LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
-override_dh_auto_build:
- dh_auto_build
- $(MAKE) -C tests/pysam_data
-
-override_dh_install:
- dh_install -Xtest.gtf.gz
-
-override_dh_auto_test:
-#nothing to test until pysam is installed.
-#test package is provided for both Python versions
-
+# Testing and building the test data are handled by autopkgtest,
+# but debian/rules must be able to clean up after it.
override_dh_auto_clean:
dh_auto_clean
$(MAKE) -C tests/pysam_data clean