File: rules

package info (click to toggle)
python-yenc 0.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 364 kB
  • sloc: python: 572; ansic: 428; makefile: 8
file content (17 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# enable all hardening except pie (ftbfs)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
export PYBUILD_NAME=yenc

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} {build_dir}/test/test.py" dh_auto_test

override_dh_compress:
	dh_compress -X examples/