File: rules

package info (click to toggle)
zope.hookable 8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 220 kB
  • sloc: python: 236; ansic: 199; makefile: 133
file content (14 lines) | stat: -rwxr-xr-x 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=zope.hookable

export PYBUILD_TEST_CUSTOM = 1
export PYBUILD_TEST_ARGS = \
        PYTHONPATH=. {interpreter} -m zope.testrunner --test-path $(if $(PYBUILD_AUTOPKGTEST),/usr/lib/python3/dist-packages,.) --package zope.hookable -vv

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_install:
	find debian/*/usr/lib -name '*.c' -delete