| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME = fontfeatures |
| 4 |
export PYBUILD_BEFORE_TEST = cp /usr/share/fonts/truetype/roboto/unhinted/RobotoTTF/Roboto-Regular.ttf fonts/ |
| 5 |
export PYBUILD_TEST_ARGS = --ignore-glob "tests/test_shaping_*.py" |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --buildsystem=pybuild |
| 9 |
|
| 10 |
execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9 |
| 11 |
execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9 |
| 12 |
execute_after_dh_auto_build-indep: |
| 13 |
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) |
| 14 |
LC_ALL=C PYTHONPATH=Lib python3 -m sphinx -N -bhtml docs/ build/html |
| 15 |
endif |
| 16 |
|
| 17 |
execute_after_dh_auto_install-indep: |
| 18 |
rm -r debian/python3-fontfeatures/usr/bin |