| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
export DH_VERBOSE=1 |
| 5 |
export PYBUILD_NAME=qwt |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --buildsystem=pybuild |
| 9 |
|
| 10 |
execute_after_dh_clean: |
| 11 |
rm -rf build/html |
| 12 |
|
| 13 |
execute_after_dh_auto_build: export PYTHONPATH=$(CURDIR) |
| 14 |
execute_after_dh_auto_build: export http_proxy='127.0.0.1:9' |
| 15 |
execute_after_dh_auto_build: |
| 16 |
sphinx-build -vvv -N -bhtml doc/ build/html # HTML generator |
| 17 |
|
| 18 |
override_dh_auto_test: export PYTHONQWT_UNATTENDED_TESTS=1 |
| 19 |
override_dh_auto_test: |
| 20 |
|
| 21 |
dh_auto_test |
| 22 |
for API in pyqt5 pyqt6 pyside6; do \ |
| 23 |
set -e; \ |
| 24 |
echo "################# $$API TEST ##################"; \ |
| 25 |
PYTEST_QT_API=$$API \ |
| 26 |
QT_API=$$API \ |
| 27 |
dh_auto_test -- -s custom --test-args="xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} -m qwt.tests.__init__"; \ |
| 28 |
done |