| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
export PYBUILD_NAME = qtawesome |
| 7 |
|
| 8 |
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS))) |
| 9 |
%: |
| 10 |
dh $@ --with sphinxdoc --buildsystem=pybuild |
| 11 |
|
| 12 |
execute_after_dh_auto_build: |
| 13 |
PYTHONPATH=. python3 -m sphinx -N -b html docs/source build/html |
| 14 |
|
| 15 |
execute_after_dh_auto_install: |
| 16 |
|
| 17 |
rm -f debian/python3-qtawesome/usr/bin/qta-install-fonts-all-users |
| 18 |
|
| 19 |
execute_after_dh_install: |
| 20 |
debian/remove-mdi-brand-icons.py debian/python-qtawesome-common/usr/share/python-qtawesome/fonts/materialdesignicons5-webfont-charmap-5.9.55.json |
| 21 |
debian/remove-mdi-brand-icons.py debian/python-qtawesome-common/usr/share/python-qtawesome/fonts/materialdesignicons6-webfont-charmap-6.9.96.json |
| 22 |
|
| 23 |
override_dh_installdocs: |
| 24 |
dh_installdocs -ppython-qtawesome-doc --doc-main-package=python3-qtawesome |
| 25 |
dh_installdocs --remaining-packages |
| 26 |
|
| 27 |
override_dh_installexamples: |
| 28 |
dh_installexamples -ppython-qtawesome-doc --doc-main-package=python3-qtawesome |
| 29 |
dh_installexamples --remaining-packages |
| 30 |
else |
| 31 |
%: |
| 32 |
dh $@ --buildsystem=pybuild |
| 33 |
endif |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
override_dh_auto_test: |
| 38 |
QT_API=pyqt6 dh_auto_test --buildsystem=pybuild |
| 39 |
QT_API=pyside6 dh_auto_test --buildsystem=pybuild |