File: rules

package info (click to toggle)
python-iowait 0.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 124 kB
  • ctags: 48
  • sloc: python: 279; makefile: 14
file content (18 lines) | stat: -rwxr-xr-x 457 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

%:
	dh $@ --with python2

override_dh_auto_install:
	for pyver in $(shell pyversions -vr); do \
		python$$pyver setup.py install \
			--install-layout=deb --root "$(CURDIR)/debian/python-iowait"; \
	done
	for pyver in $(shell py3versions -sv); do \
		python$$pyver setup.py install \
			--install-layout=deb --root "$(CURDIR)/debian/python3-iowait"; \
	done

override_dh_python2:
	dh_python2 -ppython-iowait
	dh_python3 -ppython3-iowait