File: rules

package info (click to toggle)
python-udatetime 0.0.16-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 208 kB
  • sloc: ansic: 767; python: 536; makefile: 6
file content (17 lines) | stat: -rwxr-xr-x 469 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

#export DH_VERBOSE = 1
export PYBUILD_NAME = udatetime

# Do not install the bench_udatetime.py script under /usr/bin.
# Instead, copy it under /usr/share/doc, as example.
export PYBUILD_AFTER_INSTALL = rm {destdir}/usr/bin/bench_udatetime.py

# Tests are under the 'test' directory
export PYBUILD_TEST_ARGS = test

# Enable hardening flags
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

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