File: rules

package info (click to toggle)
python-launchpadlib 1.10.6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 432 kB
  • sloc: python: 2,002; makefile: 15; sh: 14
file content (23 lines) | stat: -rwxr-xr-x 466 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
23
#!/usr/bin/make -f

export PYBUILD_NAME=launchpadlib

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

override_dh_auto_test:
	mkdir -p $(CURDIR)/build/home
	HOME=$(CURDIR)/build/home dh_auto_test --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build

override_dh_installchangelogs:
	dh_installchangelogs src/launchpadlib/NEWS.txt

override_dh_python2:
	dh_python2 --no-guessing-deps

override_dh_python3:
	dh_python3 --no-guessing-deps