Leonardo Fagundes Luz Serrano 71583562ec Revert "Standardize app configs"
This reverts commit 12c005958c2a0da6114fa6de543488d88061f970.

The commit removed centos prematurely,
causing container stx-platformclients to fail to build

Closes-Bug: 2004506
Change-Id: Ie7fb0014d3bdbef82b2289548214e81b068526f9
2023-02-01 21:33:26 +00:00

23 lines
513 B
Makefile
Executable File

#!/usr/bin/make -f
# export DH_VERBOSE = 1
export APP_NAME=oidc-auth-apps
export PBR_VERSION=1.0.0
export PYBUILD_NAME=k8sapp_oidc
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/$(APP_NAME)
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
# (tbogue) FIXME
PYTHONDIR=$(CURDIR) stestr run || true
endif