fc65da101c
This reverts commit 142f990d72
.
Reason for revert: Keeping CentOS builds sane on the stx main branch until it is entirely disabled
This revert needed to upversion pylint from py27 to py39
Change-Id: Icdfd418d361b7f5687a30ed2401b9288833c554d
27 lines
595 B
Makefile
Executable File
27 lines
595 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# export DH_VERBOSE = 1
|
|
|
|
export APP_NAME=k8sapp-openstack
|
|
export PBR_VERSION=1.0.0
|
|
export PYBUILD_NAME=k8sapp-openstack
|
|
export SKIP_PIP_INSTALL=1
|
|
export ROOT=debian/tmp
|
|
|
|
%:
|
|
dh $@ --with=python3 --buildsystem=pybuild
|
|
|
|
override_dh_auto_install:
|
|
python3 setup.py install --install-layout=deb --root $(ROOT)
|
|
python3 setup.py bdist_wheel \
|
|
--universal \
|
|
-d $(ROOT)/plugins
|
|
|
|
override_dh_python3:
|
|
dh_python3 --shebang=/usr/bin/python3
|
|
|
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
|
override_dh_auto_test:
|
|
# (tbogue) FIXME
|
|
PYTHONDIR=$(CURDIR) stestr run || true
|
|
endif
|