File: rules

package info (click to toggle)
python-snuggs 1.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 108 kB
  • sloc: python: 334; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=snuggs
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=$(CURDIR)/test_snuggs.py

%:
	dh  $@ --with python2,python3 --buildsystem pybuild --parallel

override_dh_python2:
	dh_python2 -ppython-snuggs
	dh_numpy -ppython-snuggs

override_dh_python3:
	dh_python3 -ppython3-snuggs
	dh_numpy3 -ppython3-snuggs