File: rules

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

export DH_VERBOSE = 1
export PYBUILD_NAME=annexremote

export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests

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

override_dh_auto_test:
	dh_auto_test -- --test-nose

clean::
	dh_clean
	-rm -rf __pycache__ build .pybuild annexremote.egg-info dist
	-find . -name __pycache__ -type d -exec rm -rf {} \;