File: rules

package info (click to toggle)
python-phonenumbers 8.12.57-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 39,212 kB
  • sloc: python: 332,712; xml: 46,045; makefile: 143; java: 91
file content (12 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export PYBUILD_NAME := phonenumbers
export PYBUILD_DIR  := python

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
	dh_auto_test -- --system=custom --test-args="set -e; cd {build_dir}; \
		{interpreter} -m unittest tests.examplenumberstest; \
		rm {build_dir}/tests -r"