File: rules

package info (click to toggle)
python-pbcommand 2.1.1%2Bgit20201023.cc0ed3d-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 944 kB
  • sloc: python: 6,959; makefile: 220; sh: 71
file content (19 lines) | stat: -rwxr-xr-x 396 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

#DH_VERBOSE = 1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export PYBUILD_NAME=pbcommand

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

override_dh_install:
	dh_install
	find debian \( -name .coverage -o -name coverage.xml -o -name nosetests.xml \) -delete

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .pytest_cache pbcommand.egg-info