File: rules

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

# DH_VERBOSE := 1

export PYBUILD_NAME=cykhash

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m pytest -v tests/unit_tests --ignore tests/unit_tests/test_unique.py --ignore tests/unit_tests/test_CythonInterfaceSets.py --ignore tests/unit_tests/test_CythonInterfaceMaps.py"
	# TODO: remove --ignore-globs when cython3 3.x is a build-dep
endif