Merge "debian: Add cgcs-patch wheel to the build"

This commit is contained in:
Zuul 2022-11-17 19:42:16 +00:00 committed by Gerrit Code Review
commit 728042e4ef
3 changed files with 15 additions and 1 deletions

1
debian_stable_wheels.inc Normal file
View File

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

View File

@ -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.

View File

@ -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