| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 8 |
|
| 9 |
include /usr/share/dpkg/default.mk |
| 10 |
|
| 11 |
include /usr/share/debhelper/dh_package_notes/package-notes.mk |
| 12 |
|
| 13 |
export PYBUILD_TEST_CUSTOM=1 |
| 14 |
export PYBUILD_TEST_ARGS=\ |
| 15 |
env PYTHONPATH='${CURDIR}/debian/tests/python' \ |
| 16 |
python{version} -B -u -m temptest \ |
| 17 |
--srcdir '${CURDIR}' \ |
| 18 |
--pypath . \ |
| 19 |
|
| 20 |
|
| 21 |
%: |
| 22 |
dh $@ --with python3 --buildsystem=pybuild |
| 23 |
|
| 24 |
execute_after_dh_auto_build: |
| 25 |
rst2html README.rst > docs/Features.html |
| 26 |
|
| 27 |
override_dh_installdocs: |
| 28 |
dh_installdocs -A README.rst docs/UnicodeProperties.rst docs/Features.html |