File: rules

package info (click to toggle)
python-securetar 2025.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: python: 1,104; makefile: 11; sh: 6
file content (14 lines) | stat: -rwxr-xr-x 313 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
export PYBUILD_TEST_ARGS=-vv

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	for dir in ./.pybuild/*; do \
		cp -av $(CURDIR)/tests $$dir/build; \
	done
	dh_auto_test
	rm -r ./.pybuild/*/build/tests ./.pybuild/*/build/core*tar.gz*
endif