File: rules

package info (click to toggle)
python-lupa 2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,492 kB
  • sloc: python: 3,001; makefile: 74; sh: 6
file content (16 lines) | stat: -rwxr-xr-x 556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

export PYBUILD_NAME=lupa
export PYBUILD_BEFORE_BUILD=rm -f lupa/_lupa.c
export PYBUILD_BEFORE_TEST=mkdir {build_dir}/lupa ; cp -r {dir}/lupa/tests {build_dir}/lupa
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'

%:
	dh $@ --buildsystem=pybuild