File: rules

package info (click to toggle)
zope.interface 7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,516 kB
  • sloc: python: 14,848; ansic: 1,878; makefile: 144
file content (31 lines) | stat: -rwxr-xr-x 863 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

export PYBUILD_NAME=zope.interface
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS = -o consider_namespace_packages=true
ifeq ($(PYBUILD_AUTOPKGTEST),1)
PYBUILD_TEST_ARGS += /usr/lib/python3/dist-packages/zope/interface/tests
endif
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export PYBUILD_VERBOSE=1
#export DH_VERBOSE=1

%:
	dh $@ --with python3 --buildsystem=pybuild

package3=python3-zope.interface

execute_after_dh_auto_install:
	# Remove C sources.
	find debian/$(package3) -name '*.c' | xargs -r rm -f

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst

override_dh_strip:
	dh_strip --dbgsym-migration='python3-zope.interface-dbg (<< 5.4.0-2~)'

execute_after_dh_auto_clean:
	rm -f .eggs/README.txt
	rm -f src/zope.interface.egg-info/requires.txt
	rm -f src/zope/interface/_zope_interface_coptimizations.*.so