File: rules

package info (click to toggle)
palettable 3.3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 772 kB
  • sloc: python: 25,326; makefile: 9
file content (17 lines) | stat: -rwxr-xr-x 256 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export PYBUILD_NAME=palettable

%:
	dh $@ --buildsystem=pybuild


override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. pytest-3
endif


execute_after_dh_clean:
	rm -rf .pytest_cache