File: rules

package info (click to toggle)
python-pytest-timeout 1.0.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 152 kB
  • ctags: 58
  • sloc: python: 448; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 493 bytes parent folder | download | duplicates (2)
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 PYBUILD_TEST_TOX=1

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

override_dh_installchangelogs:
	if [ -e $(CURDIR)/debian/CHANGELOG ] ; then \
		dh_installchangelogs $(CURDIR)/debian/CHANGELOG ; \
	else \
		dh_installchangelogs ; \
	fi

override_dh_install:
	dh_install -O--buildsystem=pybuild

override_dh_installdocs:
	dh_installdocs -A README TODO

override_dh_auto_test:
	dh_auto_install
	PYTHONPATH=$(CURDIR) py.test-3
	PYTHONPATH=$(CURDIR) py.test