Files
openstack-armada-app/upstream/openstack/python-glanceclient/debian/deb_patches/0001-Add-support-for-wheel.patch
vrochalo 6f591285e1 Upversion Openstacksdk and clients packages
As part of the STX-Openstack upversion to CARACAL, some of the
python packages are being upversioned to latest version
supported on CARACAL [1]:

python-aodhclient 3.2.0-4 -> 3.5.1-3
commit 314a4bc971f5fcbdc5c69979bb58ae60a8d46f59
(tag: debian/3.5.1-3, origin/debian/caracal)

python-barbicanclient 5.5.0-2 -> 5.7.0
commit b76f2506b8b0cadaf494d12dc7dd12957f53fcc7
(tag: debian/5.7.0-2)

python-glanceclient 4.3.0-2 -> 4.5.0
commit 3267df5ba5f0f0373d85d881a5ad06d8ddfd7ef4
(tag: debian/4.5.0-4, origin/debian/caracal)

python-heatclient 3.2.0-2 -> 3.5.0
commit 0f0dda310e5466c3fdafc47916190ea8ec6d7bc5
(tag: debian/3.5.0-2, origin/debian/caracal)

python-ironicclient 5.1.0-2 -> 5.5.0
commit f26e93f1d0cfe4ec980a7f6cba24c1643739a4c6
(tag: debian/5.5.0-3, origin/debian/caracal)

python-keystoneclient 5.1.0-2 -> 5.4.0commit cd9300f21a47fdd62093b33f14e493d5873cfbf3
(tag: debian/5.4.0-2, origin/debian/caracal)

python-neutronclient 9.0.0-2 -> 11.2.0
commit 3cb0c1503ec0759e83ff2212eccc0c73ad16aeb8
(tag: debian/11.2.0-3, origin/debian/caracal)

openstacksdk 1.0.1-2 -> 3.0.0
commit 61e4791a80f91c11209d03e2a3b5387c1649ef20
(tag: debian/3.0.0-3)

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

[1] https://releases.openstack.org/caracal/index.html#service-client-projects

Story: 2011303
Task: 51480

Test Plan:
PASS: Build all python listed packages
PASS: Build STX-Openstack
PASS: List packages inside clients container (dpkg -l | grep python3)
PASS: Create an VM instance -
      openstack server create --flavor medium.dpdk --image\
      "tis-centos-guest" --network "tenant1-mgmt-net" my-server2

Change-Id: I59f998088add51eca45ca5f04f5fb601b2c9ef62
Depends-On: https://review.opendev.org/c/starlingx/tools/+/937736
Signed-off-by: vrochalo <vinicius.rochalobo@windriver.com>
2025-02-17 14:36:26 -03:00

55 lines
1.7 KiB
Diff

From b55b014910de14df34622785fb3a9e61a9881da8 Mon Sep 17 00:00:00 2001
From: Charles Short <charles.short@windriver.com>
Date: Tue, 26 Oct 2021 23:35:45 +0000
Subject: [PATCH] Add support for wheel
Add support for python3 wheels.
Signed-off-by: Charles Short <charles.short@windriver.com>
---
debian/control | 17 +++++++++++++++++
debian/rules | 2 +-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index d9921cf..acd2334 100644
--- a/debian/control
+++ b/debian/control
@@ -84,3 +84,20 @@ Description: Client library for Openstack glance server - Python 3.x
Python API (the "glanceclient" module), and a command-line script ("glance").
.
This package provides the Python 3.x module.
+
+Package: python3-glanceclient-wheel
+Architecture: all
+Depends:
+ python3-wheel,
+ ${misc:Depends},
+ ${python3:Depends},
+Description: Client library for Openstack Glance server - Python 3.x
+ The Glance project provides services for discovering, registering, and
+ retrieving virtual machine images over the cloud. They may be stand-alone
+ services, or may be used to deliver images from object stores, such as
+ OpenStack's Swift service, to Nova's compute nodes.
+ .
+ This is a client for the Glance which uses the OpenStack Image API. There's a
+ Python API (the "glanceclient" module), and a command-line script ("glance").
+ .
+ This package contains the Python wheel.
diff --git a/debian/rules b/debian/rules
index e20c698..f15ab09 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
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
--
2.34.1