File: rules

package info (click to toggle)
python-plaster-pastedeploy 0.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 316 kB
  • sloc: python: 639; makefile: 8
file content (10 lines) | stat: -rwxr-xr-x 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_BEFORE_TEST='cp -r src/plaster_pastedeploy.egg-info {build_dir}' \
	PYBUILD_AFTER_TEST='rm -r {build_dir}/plaster_pastedeploy.egg-info' \
	PYBUILD_TEST_ARGS='env PYTHONPATH={build_dir} {interpreter} -m pytest' \
	dh_auto_test