Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE = 1
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 # This script only makes sense on Windows
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 # We only check with PyQt6 and PySide 6 as PyQt5 is end-of-life
36 # and will soon be dropped from Debian.
37 override_dh_auto_test:
38 QT_API=pyqt6 dh_auto_test --buildsystem=pybuild
39 QT_API=pyside6 dh_auto_test --buildsystem=pybuild