| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME = pyparsing |
| 4 |
export PYBUILD_TEST_ARGS = -v -k "not test_range_check" |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --buildsystem=pybuild |
| 8 |
|
| 9 |
execute_after_dh_auto_build-indep: |
| 10 |
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 11 |
PYTHONPATH=`pybuild --print {build_dir}` http_proxy='127.0.0.1:9' make -C docs html # HTML generator |
| 12 |
endif |
| 13 |
|
| 14 |
execute_after_dh_python3: |
| 15 |
rm -rvf debian/*/usr/lib/python3/dist-packages/*.html |
| 16 |
|
| 17 |
override_dh_installexamples: |
| 18 |
dh_installexamples -i -ppython-pyparsing-doc -X.pyc -X__pycache__ |
| 19 |
|
| 20 |
override_dh_compress: |
| 21 |
dh_compress -i -X.py |