File: rules

package info (click to toggle)
python-zeep 0.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 888 kB
  • ctags: 1,043
  • sloc: python: 8,764; makefile: 213
file content (16 lines) | stat: -rwxr-xr-x 327 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME := zeep

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

override_dh_auto_clean:
	rm -rf $(PACKAGE_NAME).egg-info
	rm -rf PKG-INFO
	dh_auto_clean

override_dh_install:
	dh_install
	# asyncio is Python3 only
	rm -rf debian/python-zeep/usr/lib/python2.7/dist-packages/zeep/asyncio