File: rules

package info (click to toggle)
joypy 0.2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 8,556 kB
  • sloc: python: 439; makefile: 8; sh: 6
file content (13 lines) | stat: -rwxr-xr-x 296 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_VERBOSE = 1

export PYBUILD_NAME=joypy

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir}/data {interpreter} -m pytest -v"
endif