This commit downgrades pyoidc from 1.7.0 to 1.6.1 to resolve dependency
conflicts with pydantic-core dependency and stx-builder environment.
The pyjwkest package is added to satisfy the missing dependency
required for pyoidc functionality.
This commit also restructures package naming for pyoidc to follow the
Debian python3-* convention for consistency with other Python packages
in the distribution.
Test Plan:
PASS: Build pyjwkest and pyoidc packages.
PASS: Build, install and deploy a image load containing the code
changes for these packages. Installation succeed for AIO-SX
environment and packages are installed on runtime system.
PASS: Import exception, message, utils and oic modules from oic library
and observe that modules are imported successfully.
PASS: Test the current oic common implementation with oic version 1.6.1
installed at system runtime. Observe that the implementation is
working as expected using both valid and invalid tokens.
Story: 2011511
Task: 53554
Change-Id: I2736571878cbcf1d528433df7009093b376ad8c9
Signed-off-by: Manoel Benedito Neto <Manoel.BeneditoNeto@windriver.com>
25 lines
530 B
Makefile
Executable File
25 lines
530 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
export DH_VERBOSE=1
|
|
export PYTHONDONTWRITEBYTECODE=1
|
|
|
|
export PYBUILD_NAME=oic
|
|
export ROOT=debian/tmp
|
|
|
|
DEBIAN_DIR := $(CURDIR)/debian/tmp
|
|
|
|
%:
|
|
dh $@ --with python3 --buildsystem=pybuild
|
|
|
|
override_dh_install:
|
|
python3 setup.py install -f --install-layout=deb --root=$(CURDIR)/debian/tmp
|
|
python3 setup.py bdist_wheel \
|
|
--universal \
|
|
-d ${CURDIR}/debian/pyoidc-wheel/usr/share/python-wheels
|
|
dh_install
|
|
|
|
override_dh_auto_test:
|
|
echo "do nothing..."
|
|
|
|
override_dh_python3:
|
|
dh_python3 --shebang=/usr/bin/python3
|