From: Afif Elghraoui Date: Tue, 9 Jun 2015 06:58:02 +0000 (-0700) Subject: Resolve lintian "duplicated-compressed-file" X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~329 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d273aea617af727e9044fc358706c8bc92498b57;p=python-pysam.git Resolve lintian "duplicated-compressed-file" tests/pysam_data/test.gtf and tests/pysam_data/test.gtf.gz in the source distribution are two copies of the same thing. I verified this by decompressing the latter and taking the diff of the two. This patch prevents installing the provided compressed version. --- diff --git a/debian/rules b/debian/rules index 9f1f053..1300435 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,9 @@ export HTSLIB_INCLUDE_DIR=/usr/include %: LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild +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