File: rules

package info (click to toggle)
python-click-plugins 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 192 kB
  • sloc: python: 285; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 366 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 python2,python3 --buildsystem pybuild