[med-svn] [python-pysam] 05/06: Do not provide test data package
Afif Elghraoui
afif-guest at moszumanska.debian.org
Sat Jul 11 23:40:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository python-pysam.
commit a20d9db9f0e83b4d5ec053fd1fd53f5abad3787d
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Sat Jul 11 16:03:08 2015 -0700
Do not provide test data package
Autopkgtest does not need it; it uses the source package.
---
debian/control | 12 ------------
debian/python-pysam-data.install | 2 --
debian/python-pysam-data.lintian-overrides | 2 --
debian/rules | 13 ++-----------
4 files changed, 2 insertions(+), 27 deletions(-)
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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pysam.git
More information about the debian-med-commit
mailing list