| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 8 |
include /usr/share/dpkg/buildflags.mk |
| 9 |
|
| 10 |
export PYBUILD_NAME=lupa |
| 11 |
export PYBUILD_BEFORE_BUILD=rm -f lupa/_lupa.c |
| 12 |
export PYBUILD_BEFORE_TEST=mkdir {build_dir}/lupa ; cp -r {dir}/lupa/tests {build_dir}/lupa |
| 13 |
export PYBUILD_TEST_ARGS=lupa/tests/test.py -k 'not test_attrgetter_refcycle and not test_no_overflow and not test_pyfunc_refcycle and not test_runtime_cleanup' |
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ --buildsystem=pybuild |