File: rules

package info (click to toggle)
python-axiom 0.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,336 kB
  • ctags: 2,893
  • sloc: python: 12,583; sh: 33; makefile: 14
file content (24 lines) | stat: -rwxr-xr-x 551 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
#!/usr/bin/make -f
export PYTHONDONTWRITEBYTECODE=yes
export PYBUILD_NAME=axiom

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


override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="{interpreter} /usr/bin/trial axiom" \
	PYBUILD_AFTER_TEST="find {build_dir} -name dropin.cache -delete" \
	dh_auto_test


override_dh_installchangelogs:
# The upstream sdist lacks NEWS.txt, so we ship our own copy
# See: https://github.com/twisted/axiom/issues/75
	dh_installchangelogs debian/NEWS.txt


override_dh_clean:
	dh_clean
	rm -rf _trial_temp