File: rules

package info (click to toggle)
zodbpickle 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 684 kB
  • sloc: ansic: 5,566; python: 4,794; makefile: 18
file content (14 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
#-*- makefile -*-

export PYBUILD_NAME=zodbpickle
export PYBUILD_TEST_CUSTOM=1
export PYBUILD_TEST_ARGS={interpreter} -m zope.testrunner --test-path $(if $(PYBUILD_AUTOPKGTEST),/usr/lib/python3/dist-packages,.) --package zodbpickle -vv
export PYBUILD_AFTER_INSTALL_python3 = cd {destdir}{install_dir}/zodbpickle && rm -r *.c

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

override_dh_auto_clean:
	dh_auto_clean
	rm -f src/zodbpickle/*.so