File: rules

package info (click to toggle)
python-iniparse 0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 396 kB
  • sloc: python: 2,228; makefile: 25; sh: 8
file content (16 lines) | stat: -rwxr-xr-x 390 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 PYBUILD_NAME=iniparse

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	rm -fr debian/python*-iniparse/usr/share/doc/iniparse-*

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	  PYBUILD_TEST_ARGS="cd {build_dir}; python{version} ./runtests.py" \
	  dh_auto_test --buildsystem=pybuild

.PHONY: execute_after_dh_auto_install override_dh_auto_test