Tracey Bogue f045d574f3 Add Debian packaging for oidc-auth app
Create Debian packages for dex-helm, oidc-auth-tools,
python-k8sapp-oidc and stx-oidc-auth-helm packages.

In order to adhere to python3 package naming conventions,
the oidc-auth-tools package is named python3-oidcauthtools.

Story: 2009101
Task: 43840

Signed-off-by: Tracey Bogue <tracey.bogue@windriver.com>
Change-Id: Ic2b9a0534897f96e5ce439c6630d9abf175ead4f
2021-12-06 11:40:20 -06:00

20 lines
403 B
Makefile
Executable File

#!/usr/bin/make -f
# export DH_VERBOSE = 1
export PBR_VERSION=1.0.0
export ROOT=$(CURDIR)/debian/tmp
%:
dh $@ --with=python3 --buildsystem=pybuild
override_dh_auto_install:
python3 setup.py install \
--install-layout=deb \
--root $(ROOT) \
--prefix=/usr \
--install-data=/usr/share \
--single-version-externally-managed
python3 setup.py bdist_wheel \
--universal \
-d $(ROOT)/wheels