
As part of the STX-Openstack upversion to CARACAL, the python- cinderclient is being upversioned to version 9.5.0-1 [1], which is the latest supported on CARACAL [2]. The commit hash of the used repo is: 3b2e2c028bd6b650dce64976f8b48409e2fa85b2 All patches were updated in order to make the package buildable in the new version. [1] https://salsa.debian.org/openstack-team/clients/python-cinderclient/-/tree/debian/9.5.0-1?ref_type=tags [2] https://releases.openstack.org/caracal/index.html#caracal-python-cinderclient Story: 2011303 Task: 51470 Test Plan: PASS: Build the python-cinderclient package PASS: Build the stx-openstackclients image PASS: Tested custom image in a running stx-openstack Change-Id: Ifec8b4714a7d45c1cf8dab332d1e76778b276db1 Signed-off-by: Joao Fracarolli <joao.vicentinifracarolli@windriver.com>
30 lines
941 B
Diff
30 lines
941 B
Diff
From ec902592084577f04075359c811f012864f631cb Mon Sep 17 00:00:00 2001
|
|
From: Charles Short <charles.short@windriver.com>
|
|
Date: Wed, 27 Oct 2021 17:28:06 +0000
|
|
Subject: [PATCH] Add package wheel
|
|
|
|
Add python3-cinderclient-wheel.
|
|
|
|
Signed-off-by: Charles Short <charles.short@windriver.com>
|
|
---
|
|
debian/rules | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/debian/rules b/debian/rules
|
|
index a0eead7..9186ad3 100755
|
|
--- a/debian/rules
|
|
+++ b/debian/rules
|
|
@@ -17,6 +17,9 @@ override_dh_auto_install:
|
|
for i in $(PYTHON3S) ; do \
|
|
python3 setup.py install -f --install-layout=deb --root=$(CURDIR)/debian/tmp ; \
|
|
done
|
|
+ for i in $(PYTHON3S) ; do \
|
|
+ python3 setup.py bdist_wheel --universal -d $(CURDIR)/debian/python3-cinderclient-wheel/usr/share/python3-wheel ; \
|
|
+ done
|
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
|
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages pkgos-dh_auto_test --no-py2
|
|
endif
|
|
--
|
|
2.34.1
|
|
|