File: rules

package info (click to toggle)
python-pykube-ng 22.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 424 kB
  • sloc: python: 2,336; makefile: 44
file content (19 lines) | stat: -rwxr-xr-x 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

UPSTREAM_GIT := https://codeberg.org/hjacobs/pykube-ng
include /usr/share/openstack-pkg-tools/pkgos.make

PYBUILD_NAME=pykube

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

override_dh_auto_test:
	for i in `py3versions -vr 2>/dev/null` ; do \
		PYTHONPATH=$(CURDIR) python$$i -m pytest tests -v ; \
	done

#override_dh_auto_install:
#	dh_auto_install
#	mkdir -p $(CURDIR)/python3-pykube-ng/usr/lib/python3/dist-packages
#	cp -axuf $(CURDIR)/pykube $(CURDIR)/python3-pykube-ng/usr/lib/python3/dist-packages/