File: rules

package info (click to toggle)
chardet 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,092 kB
  • sloc: xml: 66,422; python: 36,299; makefile: 155; sh: 3
file content (18 lines) | stat: -rwxr-xr-x 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=chardet
export PYTHONWARNINGS=d

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

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="cd {dir}; {interpreter} -m pytest" dh_auto_test

override_dh_clean:
	dh_clean
	rm -rf .hypothesis/