File: rules

package info (click to toggle)
python-numpy-groupies 0.9.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 528 kB
  • sloc: python: 3,401; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 331 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=numpy-groupies

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .pytest_cache
	find . -name __pycache__ -type d | xargs -r rm -r

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	pytest-3 -rls
endif