File: rules

package info (click to toggle)
tinyarray 1.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 276 kB
  • sloc: cpp: 2,805; python: 656; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 393 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 = tinyarray

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test -- --test-pytest --test-args=../../../test_tinyarray.py
endif

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .pytest_cache
	rm -f src/version.hh
	rm -f tinyarray.egg-info/SOURCES.txt