| 1 | #!/usr/bin/make -f |
| 2 | export DH_VERBOSE = 1 |
| 3 | export PYBUILD_NAME=python-gtfparse |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=pybuild |
| 7 | |
| 8 | override_dh_auto_test: |
| 9 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 10 | # This is done because data/ dir is not vendored on pypi |
| 11 | rm -f test/test_refseq_gtf.py test/test_ensembl_gtf.py test/test_read_stringtie_gtf.py |
| 12 | PYTHONPATH=$(CURDIR) pytest-3 -v |
| 13 | endif |
| 14 | |
| 15 | execute_after_dh_auto_clean: |
| 16 | rm -f gtfparse.egg-info/SOURCES.txt |