File: rules

package info (click to toggle)
python-pcre2 0.6.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 416 kB
  • sloc: python: 1,986; makefile: 32
file content (19 lines) | stat: -rwxr-xr-x 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# DH_VERBOSE := 1

export LC_ALL=C.UTF-8

include /usr/share/dpkg/architecture.mk

export PYBUILD_TEST_ARGS= -k 'not test_re_compatibility'

ifneq (,$(filter alpha armel hppa m68k sh4 sparc64 x32, $(DEB_HOST_ARCH)))
export PYBUILD_TEST_ARGS+= -k 'not (test_pattern_jit)'
endif

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean || true