File: rules

package info (click to toggle)
python-returns 0.26.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,652 kB
  • sloc: python: 11,000; makefile: 18
file content (13 lines) | stat: -rwxr-xr-x 424 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

#export DH_VERBOSE=1
export PYBUILD_BEFORE_TEST=cp -r {dir}/setup.cfg {dir}/docs {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/docs {build_dir}/setup.cfg {build_dir}/htmlcov {build_dir}/coverage.xml
export PYBUILD_TEST_ARGS=--cov-fail-under=0 -v returns docs/pages tests

%:
	dh $@ --buildsystem=pybuild

before-pybuild-autopkgtest:
	mkdir -pv $${ADTTMP}/build
	cp -r returns $${ADTTMP}/build