.
This package installs the module for Python 3.
-Package: python-pysam-tests
+Package: python-pysam-data
Architecture: all
Enhances: python-pysam
Depends: ${misc:Depends},
--- /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
+++ /dev/null
-Pysam for Debian
-================
-
-To verify whether your python-pysam and python3-pysam modules are working
-correctly you can run the test suite manually by running the scripts
-run-nose-tests and run-nose3-tests in this directory.
-
- -- Jorge Soares <j.s.soares@gmail.com> Fri, 28 Nov 2014 14:29:40 +0100
+++ /dev/null
-debian/tests/run-nose-tests
-debian/tests/run-nose3-tests
+++ /dev/null
-tests usr/share/doc/python-pysam
+++ /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
--- /dev/null
+usr/share/doc/python-pysam/data/pysam_data usr/lib/python2.7/dist-packages/pysam/tests/pysam_data
+usr/share/doc/python-pysam/data/tabix_data usr/lib/python2.7/dist-packages/pysam/tests/tabix_data
--- /dev/null
+usr/share/doc/python-pysam/data/pysam_data usr/lib/python3/dist-packages/pysam/tests/pysam_data
+usr/share/doc/python-pysam/data/tabix_data usr/lib/python3/dist-packages/pysam/tests/tabix_data
export PYBUILD_NAME=pysam
DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-TESTPKG := $(DEBPKGNAME)-tests
HTSLIBDIR := /usr/lib/$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export HTSLIB_LIBRARY_DIR=$(HTSLIBDIR)
%:
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
#nothing to test until pysam is installed.
#test package is provided for both Python versions
+override_dh_auto_clean:
+ dh_auto_clean
+ $(MAKE) -C tests/pysam_data clean
+
get-orig-source:
uscan --verbose --force-download --repack --compression xz