lightweight wrapper of the samtools C-API.
Package: python-pysam-tests
-Architecture: any
+Architecture: all
Priority: extra
Enhances: python-pysam
Depends: ${shlibs:Depends},
case "$1" in
configure)
chmod a+w /var/lib/pysam/tests
- chmod a+w /var/lib/pysam/tests/*.[bs]am
+ chmod a+w /var/lib/pysam/tests/*.sam*
chmod a+w /var/lib/pysam/tests/pysam_test_work
;;
#!/usr/bin/make -f
+DEBPKGNAME := python-$(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+TESTPKG := $(DEBPKGNAME)-tests
pybuilddir := $(CURDIR)/build/lib.$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)-$(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
%:
done
endif
+override_dh_install-indep:
+ dh_install -p $(TESTPKG)
+ cd debian/$(TESTPKG)/var/lib/pysam; make clean
+
override_dh_auto_clean:
dh_auto_clean
cd tests; make clean