File: rules

package info (click to toggle)
python-pymummer 0.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 304 kB
  • sloc: python: 1,074; sh: 55; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

#DH_VERBOSE = 1

include /usr/share/dpkg/default.mk

export PYBUILD_NAME=pymummer

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="{interpreter} setup.py test" \
	  dh_auto_test
endif

override_dh_auto_clean:
	rm -f pymummer.egg-info/PKG-INFO pymummer.egg-info/SOURCES.txt pymummer.egg-info/dependency_links.txt pymummer.egg-info/requires.txt pymummer.egg-info/top_level.txt
	rm -rf .pybuild pymummer/tests/__pycache__ pymummer/__pycache__