File: rules

package info (click to toggle)
python-pyfaidx 0.5.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 616 kB
  • sloc: python: 2,854; makefile: 11
file content (22 lines) | stat: -rwxr-xr-x 549 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=pyfaidx

%:
	LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild

override_dh_install:
	dh_install
	# remove duplilcated wrapper script from Python2 package
	rm -rf debian/python-$(PYBUILD_NAME)/usr/bin

override_dh_auto_test:
	dh_auto_test -- --test --system=custom --test-args='set -e; \
				{interpreter} -m "nose" --with-coverage --cover-package=pyfaidx'

override_dh_compress:
	dh_compress --exclude=gz.tbi