| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE = 1 |
| 3 |
export PYBUILD_NAME=domain2idna |
| 4 |
export PYBUILD_DISABLE=test |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --with sphinxdoc --buildsystem=pybuild |
| 8 |
|
| 9 |
override_dh_auto_build: |
| 10 |
sort domain2idna-1.12.2.egg-info/PKG-INFO -o domain2idna-1.12.2.egg-info/PKG-INFO |
| 11 |
dh_auto_build |
| 12 |
|
| 13 |
|
| 14 |
override_dh_auto_build: |
| 15 |
dh_auto_build |
| 16 |
PYTHONPATH=. http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -bhtml docs/ debian/html |
| 17 |
|
| 18 |
#fix privacy-breach-generic |
| 19 |
|
| 20 |
execute_after_dh_link: |
| 21 |
find debian/python-domain2idna-doc/ -name '*.html' -exec sed -i 's|src="https:||g' {} \; |
| 22 |
rm -rf debian//python3-domain2idna/usr/lib/python3.13/ |