| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# fake CI running, https://github.com/giampaolo/psutil/issues/2104 |
| 4 |
export APPVEYOR= |
| 5 |
# skipping tests: |
| 6 |
# - test_sensors_temperatures: https://github.com/giampaolo/psutil/issues/2551 |
| 7 |
# - test_ips: https://github.com/giampaolo/psutil/issues/2555 |
| 8 |
# - test_emulate_use_cpuinfo, |
| 9 |
# test_emulate_use_second_file, |
| 10 |
# test_cpu_freq, |
| 11 |
# test_against_nproc, |
| 12 |
# test_cpu_affinity: https://github.com/giampaolo/psutil/issues/2557 |
| 13 |
# - all other tests skipped since they dont run reliably in chroot/containers |
| 14 |
export PYBUILD_TEST_ARGS = --verbose \ |
| 15 |
-k ' not test_disk_partition \ |
| 16 |
and not test_import_all \ |
| 17 |
and not test_against_findmnt \ |
| 18 |
and not test_comparisons \ |
| 19 |
and not test_who \ |
| 20 |
and not test_invocation \ |
| 21 |
and not test_users \ |
| 22 |
and not test_procsmem \ |
| 23 |
and not test_all \ |
| 24 |
and not test_sensors_temperatures \ |
| 25 |
and not test_ips \ |
| 26 |
and not test_emulate_use_cpuinfo \ |
| 27 |
and not test_emulate_use_second_file \ |
| 28 |
and not test_cpu_freq \ |
| 29 |
and not test_against_nproc \ |
| 30 |
and not test_cpu_freq \ |
| 31 |
and not test_cpu_affinity \ |
| 32 |
' |
| 33 |
|
| 34 |
%: |
| 35 |
dh $@ --with python3 --buildsystem=pybuild |
| 36 |
|
| 37 |
override_dh_installchangelogs: |
| 38 |
dh_installchangelogs HISTORY.rst |
| 39 |
|
| 40 |
override_dh_installdocs: |
| 41 |
dh_installdocs -X.DS_Store |
| 42 |
|
| 43 |
override_dh_compress: |
| 44 |
dh_compress -X.py |