File: rules

package info (click to toggle)
aggdraw 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,480 kB
  • sloc: cpp: 41,481; python: 291; makefile: 19
file content (18 lines) | stat: -rwxr-xr-x 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/make -f

#export DH_VERBOSE = 1

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

export PYBUILD_NAME=aggdraw
export PYBUILD_TEST_CUSTOM=1
export PYBUILD_TEST_ARGS=env PYTHONPATH={build_dir} python{version} selftest.py -v -k "not test_graphics2"
export PYBUILD_BEFORE_TEST=cp selftest.py {build_dir}
export PYBUILD_AFTER_TEST=rm -f {build_dir}/selftest.py

%:
	dh $@ --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs -k CHANGELOG.md