File: rules

package info (click to toggle)
python-hiredis 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 404 kB
  • sloc: ansic: 4,206; python: 279; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME = hiredis
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DPKG_EXPORT_BUILDFLAGS = 1

include /usr/share/dpkg/buildflags.mk

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

override_dh_auto_test:
	dh_auto_test -- \
		--system=custom \
		--test-args='BUILDDIR={build_dir} {interpreter} {dir}/test.py'