File: rules

package info (click to toggle)
aggdraw 1.3.9%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,456 kB
  • sloc: cpp: 41,441; python: 178; sh: 29; makefile: 17
file content (16 lines) | stat: -rwxr-xr-x 351 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 DH_VERBOSE = 1

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export PYBUILD_NAME=aggdraw

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="env PYTHONPATH={build_dir} python{version} selftest.py -v" \
	dh_auto_test