File: rules

package info (click to toggle)
python-repoze.sphinx.autointerface 0.8-0.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 148 kB
  • ctags: 36
  • sloc: python: 138; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 576 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
#!/usr/bin/make -f

PYVERS=$(shell pyversions -sv)
PY3VERS=$(shell py3versions -sv)
export PYBUILD_NAME=repoze.sphinx.autointerface

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

override_dh_auto_install:
	dh_auto_install 

	set -e && for pyvers in $(PYVERS); do \
		python$$pyvers setup.py install --install-layout=deb \
		--root $(CURDIR)/debian/python-repoze.sphinx.autointerface; \
		done

	set -e && for pyvers in $(PY3VERS); do \
		python$$pyvers setup.py install --install-layout=deb \
		--root $(CURDIR)/debian/python3-repoze.sphinx.autointerface; \
		done