File: rules

package info (click to toggle)
python-click-default-group 1.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 100 kB
  • sloc: python: 157; makefile: 13; sh: 6
file content (18 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=click-default-group
export PYBUILD_TEST_ARGS=-v -k "not test_default_command_with_arguments"
export PYBUILD_BEFORE_TEST=cp -r {dir}/test.py {build_dir}
export PYBUILD_AFTER_TEST=rm -f {build_dir}/test.py

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .pytest_cache

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)
	dh_auto_test
endif