afancontrol/debian/rules

18 lines
408 B
Plaintext
Raw Normal View History

2021-10-26 12:58:36 +02:00
#!/usr/bin/make -f
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export PYTHONWARNINGS=d
export PYBUILD_NAME=afancontrol
2021-10-26 16:04:21 +02:00
export PYBUILD_TEST_PYTEST=1
2021-10-26 12:58:36 +02:00
export PYBUILD_TEST_ARGS={dir}/tests/
2021-10-26 16:07:46 +02:00
override_dh_auto_test:
# the test suite does not 100% pass at present,
# but the output is useful documentation for users
(dh_auto_test; echo $?) > test-results
2021-10-26 12:58:36 +02:00
%:
2021-10-26 14:11:39 +02:00
dh $@ --with python3 --buildsystem=pybuild