File: rules

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

#setting locale explicitly is needed for running the tests using pbuilder
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export PYBUILD_TEST_PYTEST=1
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests

export PYBUILD_NAME=click-plugins

%:
	dh  $@ --with python3 --buildsystem pybuild