File: rules

package info (click to toggle)
django-rich 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 424 kB
  • sloc: python: 1,283; sh: 17; makefile: 8
file content (19 lines) | stat: -rwxr-xr-x 437 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
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE = 1

export PYBUILD_NAME=django_rich

%:
	dh $@ --buildsystem=pybuild

override_dh_clean:
	dh_clean
	rm -rf .coverage*

override_dh_auto_test:
	# Upstream uses a more agressive call, wont work here
	# as at least the package we build isn't installed so
	# using a modified pytest call.
	dh_auto_test -- --system=custom --test-args="{interpreter} -m coverage run -m pytest tests"