File: rules

package info (click to toggle)
python-gtfparse 1.3.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 244 kB
  • sloc: python: 583; makefile: 12; sh: 8
file content (17 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export DH_VERBOSE = 1
export PYBUILD_NAME=python-gtfparse

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	# This is done because data/ dir is not vendored on pypi
	rm -f test/test_refseq_gtf.py test/test_ensembl_gtf.py test/test_read_stringtie_gtf.py
	PYTHONPATH=$(CURDIR) pytest-3 -v
endif

override_dh_auto_clean:
	dh_auto_clean
	rm -f gtfparse.egg-info/SOURCES.txt