debian: Add cgcs-patch wheel to the build

This wheel is required by stx-keystone-api-proxy

Test Plan:
PASS: Build cgts-patch package. Verify that the wheel is generated,
and it's included in the wheels tarball.
PASS: Build stx-keystone-api-proxy image that requires cgts-patch
wheel. Verify that the image is created and the container is working
as expected.

Story: 2009831
Task: 46787

Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
Change-Id: I5d097ae68a943895844cd667b9523c832dc002b3
changes/31/864231/1
Hugo Brito 3 months ago
parent 8374ed3fcd
commit f70f2c995c

@ -0,0 +1 @@
cgcs-patch-wheel

@ -5,7 +5,8 @@ Maintainer: StarlingX Developers <StarlingX-discuss@lists.StarlingX.io>
Build-Depends: debhelper-compat (= 13),
dh-python,
python3-all,
python3-setuptools
python3-setuptools,
python3-wheel
Build-Depends-Indep:
python3-keystonemiddleware,
python3-lxml,
@ -57,3 +58,12 @@ Depends:
tsconfig
Description: StarlingX platfom patching (python3)
StarlingX platform patching system python libraries
Package: cgcs-patch-wheel
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}
Description: StarlingX - platform patching wheel
Starlingx Config Info
.
This is the support package for the PEP 427 wheel version of the package,
required for using pip inside a virtual environment.

@ -19,6 +19,9 @@ override_dh_auto_clean:
override_dh_install:
python3 setup.py install -f --install-layout=deb --root=${DEBIAN_DESTDIR}
python3 setup.py bdist_wheel \
--universal \
-d $(CURDIR)/debian/cgcs-patch-wheel/usr/share/python-wheels
install -m 755 -d ${DEBIAN_DESTDIR}/usr/sbin
install -m 755 -d ${DEBIAN_DESTDIR}/usr/share/bash-completion/completions

Loading…
Cancel
Save