File: rules

package info (click to toggle)
python-repoze.sphinx.autointerface 0.8-0.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 148 kB
  • sloc: python: 138; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

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

override_dh_auto_install:
	dh_auto_install 

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