From: Afif Elghraoui Date: Sat, 11 Jul 2015 23:03:08 +0000 (-0700) Subject: Do not provide test data package X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~303 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a20d9db9f0e83b4d5ec053fd1fd53f5abad3787d;p=python-pysam.git Do not provide test data package Autopkgtest does not need it; it uses the source package. --- diff --git a/debian/control b/debian/control index 6962ec9..0bca2d4 100644 --- a/debian/control +++ b/debian/control @@ -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 index fd5c54b..0000000 --- a/debian/python-pysam-data.install +++ /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 index 61c0327..0000000 --- a/debian/python-pysam-data.lintian-overrides +++ /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 diff --git a/debian/rules b/debian/rules index 29f073a..5f45fc3 100755 --- a/debian/rules +++ b/debian/rules @@ -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