File: rules

package info (click to toggle)
python-typechecks 0.1.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 92 kB
  • sloc: python: 133; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DH_VERBOSE = 1
export PYBUILD_NAME=python-typechecks

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	nosetests3 --verbose
endif

override_dh_auto_clean:
	dh_auto_clean
	rm -f typechecks.egg-info/PKG-INFO typechecks.egg-info/SOURCES.txt