File: rules

package info (click to toggle)
python-tempora 5.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: python: 636; sh: 12; makefile: 7
file content (16 lines) | stat: -rwxr-xr-x 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=tempora

export PYBUILD_BEFORE_TEST=cp -va {dir}/pytest.ini {dir}/tests {build_dir}/
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/pytest.ini {build_dir}/tests

%:
	dh $@ --with python3 --buildsystem=pybuild --test-pytest

execute_after_dh_installexamples:
	# install tiny, autogenerated calc-prorate script as an example only
	rm -vrf debian/python3-tempora/usr/bin