Do not provide test data package
authorAfif Elghraoui <afif@ghraoui.name>
Sat, 11 Jul 2015 23:03:08 +0000 (16:03 -0700)
committerAfif Elghraoui <afif@ghraoui.name>
Sat, 11 Jul 2015 23:03:08 +0000 (16:03 -0700)
Autopkgtest does not need it; it uses the source package.

debian/control
debian/python-pysam-data.install [deleted file]
debian/python-pysam-data.lintian-overrides [deleted file]
debian/rules

index 6962ec98eb2da7677e5aadb731df338fbc70f162..0bca2d497739b0ec4144288ae7ac86dc0c36c275 100644 (file)
@@ -45,15 +45,3 @@ Description: interface for the SAM/BAM sequence alignment and mapping format (Py
  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.
diff --git a/debian/python-pysam-data.install b/debian/python-pysam-data.install
deleted file mode 100644 (file)
index fd5c54b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-tests/pysam_data       usr/share/doc/python-pysam/data
-tests/tabix_data       usr/share/doc/python-pysam/data
diff --git a/debian/python-pysam-data.lintian-overrides b/debian/python-pysam-data.lintian-overrides
deleted file mode 100644 (file)
index 61c0327..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# 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
index 29f073a489bea7a0a7b91521c0e902ed795e11cc..5f45fc36ed80b31d9ae67d5bf6bb930ffa9cc118 100755 (executable)
@@ -12,17 +12,8 @@ export HTSLIB_INCLUDE_DIR=/usr/include
 %:
        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