File: rules

package info (click to toggle)
numexpr 2.14.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 784 kB
  • sloc: cpp: 4,250; python: 3,985; ansic: 369; makefile: 203
file content (22 lines) | stat: -rwxr-xr-x 517 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1
export PYBUILD_NAME=numexpr
export PYBUILD_TEST_CUSTOM=1
export PYBUILD_TEST_ARGS=\
env PYTHONPATH={build_dir} \
{interpreter} -c "import ${PYBUILD_NAME}, sys; r=${PYBUILD_NAME}.test(); sys.exit(0 if r.wasSuccessful() else 1)"
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
export CFLAGS ?= -O0
endif


%:
	dh $@ --buildsystem=pybuild


override_dh_installchangelogs:
	dh_installchangelogs -k RELEASE_NOTES.rst