File: rules

package info (click to toggle)
python-psutil 7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,412 kB
  • sloc: python: 19,175; ansic: 15,482; makefile: 446; javascript: 153; sh: 48
file content (44 lines) | stat: -rwxr-xr-x 1,440 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/make -f

# fake CI running, https://github.com/giampaolo/psutil/issues/2104
export APPVEYOR=
# skipping tests:
#   - test_sensors_temperatures: https://github.com/giampaolo/psutil/issues/2551
#   - test_ips: https://github.com/giampaolo/psutil/issues/2555
#   - test_emulate_use_cpuinfo,
#     test_emulate_use_second_file,
#     test_cpu_freq,
#     test_against_nproc,
#     test_cpu_affinity: https://github.com/giampaolo/psutil/issues/2557
#   - all other tests skipped since they dont run reliably in chroot/containers
export PYBUILD_TEST_ARGS = --verbose \
                           -k '    not test_disk_partition \
			       and not test_import_all \
			       and not test_against_findmnt \
			       and not test_comparisons \
			       and not test_who \
			       and not test_invocation \
			       and not test_users \
			       and not test_procsmem \
			       and not test_all \
			       and not test_sensors_temperatures \
			       and not test_ips \
			       and not test_emulate_use_cpuinfo \
			       and not test_emulate_use_second_file \
			       and not test_cpu_freq \
			       and not test_against_nproc \
			       and not test_cpu_freq \
			       and not test_cpu_affinity \
			   '

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs HISTORY.rst

override_dh_installdocs:
	dh_installdocs -X.DS_Store

override_dh_compress:
	dh_compress -X.py