File: rules

package info (click to toggle)
python-launchpadlib 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,996 kB
  • sloc: xml: 30,995; python: 2,749; makefile: 27; sh: 10
file content (25 lines) | stat: -rwxr-xr-x 604 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
22
23
24
25
#!/usr/bin/make -f

export PYBUILD_NAME=launchpadlib
export PYBUILD_TEST_ARGS={dir}/src/launchpadlib/tests {dir}/src/launchpadlib/testing
export PYBUILD_AFTER_INSTALL=rm -r {destdir}{install_dir}/launchpadlib/docs/

%:
	dh $@ --with 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_installdocs:
	dh_installdocs -X NEWS.rst

override_dh_installchangelogs:
	dh_installchangelogs NEWS.rst

override_dh_python3:
	dh_python3 --no-guessing-deps