File: rules

package info (click to toggle)
python-proboscis 1.2.6.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 180 kB
  • sloc: python: 1,103; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

-include /usr/share/openstack-pkg-tools/pkgos.make

export PYBUILD_NAME=proboscis
export PYBUILD_AFTER_INSTALL_python3=rm \
	{destdir}/{install_dir}/proboscis/compatability/exceptions_2_5.py \
	{destdir}/{install_dir}/proboscis/compatability/raise_2_x.py

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

override_dh_clean:
	dh_clean
	rm -rf build
	if ! [ -d .git ] ; then \
		rm -f proboscis.egg-info/PKG-INFO ; \
	fi