Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 #export DH_VERBOSE=1
5 export PYBUILD_NAME=numexpr
6 export PYBUILD_TEST_CUSTOM=1
7 export PYBUILD_TEST_ARGS=\
8 env PYTHONPATH={build_dir} \
9 {interpreter} -c "import ${PYBUILD_NAME}, sys; r=${PYBUILD_NAME}.test(); sys.exit(0 if r.wasSuccessful() else 1)"
10 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
11
12 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
13 export CFLAGS ?= -O0
14 endif
15
16
17 %:
18 dh $@ --buildsystem=pybuild
19
20
21 override_dh_installchangelogs:
22 dh_installchangelogs -k RELEASE_NOTES.rst