Files
Jose Claudio 878e1ebd73 Upversion python-openstackclient to v6.6.0-5
As part of the STX-Openstack upversion to CARACAL, the python-
openstackclient is being upversioned to version 6.6.0-5 [1], which is
the latest supported on CARACAL [2] and Debian.

The commit hash of the used repo is:
e90cc3256ba56481729ceacebe5563f20636d1dd

All patches were updated in order to make the package buildable in the
new version.

[1] https://salsa.debian.org/openstack-team/clients/python-openstackclient/-/tree/debian/6.6.0-5?ref_type=tags
[2] https://releases.openstack.org/caracal/index.html#caracal-python-openstackclient

Story: 2011303
Task: 51497

Test Plan:
PASS: Build the python-openstackclient package
PASS: Build the stx-openstackclients image
PASS: Tested custom image in a running stx-openstack
PASS: Check version used in system on test plan

Depends-on: https://review.opendev.org/c/starlingx/root/+/938292

Change-Id: I94117a3d60554043c12c6b8ab5908c6e3238dc75
Signed-off-by: Jose Claudio <joseclaudio.paespires@windriver.com>
2025-02-17 14:39:43 -03:00

59 lines
1.7 KiB
Diff

From 129e890076816c5d132e260ef3987d71d0154c4f Mon Sep 17 00:00:00 2001
From: Charles Short <charles.short@windriver.com>
Date: Wed, 27 Oct 2021 13:57:42 +0000
Subject: [PATCH] Add wheel package
Add python3-openstackclient-wheel
Signed-off-by: Charles Short <charles.short@windriver.com>
---
debian/control | 21 +++++++++++++++++++++
debian/rules | 2 +-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 8a09181c..2eaa1545 100644
--- a/debian/control
+++ b/debian/control
@@ -125,3 +125,24 @@ Description: OpenStack Command-line Client - Python 3.x
operations in OpenStack.
.
This package contains the Python 3.x module.
+
+Package: python3-openstackclient-wheel
+Architecture: all
+Depends:
+ python3-wheel,
+ ${misc:Depends},
+ ${python3:Depends},
+Recommends:
+ python-openstackclient-doc,
+ ${python3:Recommends},
+Description: OpenStack Command-line Client - Python 3.x
+ python-openstackclient is a unified command-line client for the OpenStack APIs.
+ It is a thin wrapper to the stock python-*client modules that implement the
+ actual REST API client actions.
+ .
+ This is an implementation of the design goals shown in
+ http://wiki.openstack.org/UnifiedCLI. The primary goal is to provide
+ a unified shell command structure and a common language to describe
+ operations in OpenStack.
+ .
+ This package contains the Python wheel.
diff --git a/debian/rules b/debian/rules
index 65f97b66..f032e337 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ override_dh_auto_build:
echo "Do nothing..."
override_dh_auto_install:
- pkgos-dh_auto_install --no-py2
+ pkgos-dh_auto_install --no-py2 --wheel
# Generate bash completion
pkgos-gen-completion --py3 openstack
--
2.34.1