| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
export DH_VERBOSEscip-debian debian python-qwt 0.15.0-2 python-qwt/rules/DH_VERBOSE.=1 |
| 5 |
export PYBUILD_NAMEscip-debian debian python-qwt 0.15.0-2 python-qwt/rules/PYBUILD_NAME.=qwt |
| 6 |
|
| 7 |
%scip-debian debian python-qwt 0.15.0-2 python-qwt/rules/`%`().: |
| 8 |
dh $@ --buildsystem=pybuild |
| 9 |
|
| 10 |
execute_after_dh_cleanscip-debian debian python-qwt 0.15.0-2 python-qwt/rules/execute_after_dh_clean().: |
| 11 |
rm -rf build/html |
| 12 |
|
| 13 |
execute_after_dh_auto_buildscip-debian debian python-qwt 0.15.0-2 python-qwt/rules/execute_after_dh_auto_build().: export PYTHONPATH=$(CURDIRscip-debian debian python-qwt 0.15.0-2 python-qwt/rules/CURDIR.) |
| 14 |
execute_after_dh_auto_buildscip-debian debian python-qwt 0.15.0-2 python-qwt/rules/execute_after_dh_auto_build().: export http_proxy='127.0.0.1:9' |
| 15 |
execute_after_dh_auto_buildscip-debian debian python-qwt 0.15.0-2 python-qwt/rules/execute_after_dh_auto_build().: |
| 16 |
sphinx-build -vvv -N -bhtml doc/ build/html # HTML generator |
| 17 |
|
| 18 |
override_dh_auto_testscip-debian debian python-qwt 0.15.0-2 python-qwt/rules/override_dh_auto_test().: export PYTHONQWT_UNATTENDED_TESTS=1 |
| 19 |
override_dh_auto_testscip-debian debian python-qwt 0.15.0-2 python-qwt/rules/override_dh_auto_test().: |
| 20 |
|
| 21 |
dh_auto_testscip-debian debian debhelper . 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_testscip-debian debian debhelper . dh_auto_test(). -- -s custom --test-args="xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} -m qwt.tests.__init__"; \ |
| 28 |
done |