Files
openstack-armada-app/upstream/openstack/python-ironicclient/debian/deb_patches/0001-Add-wheel-package.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

61 lines
1.9 KiB
Diff

From 6052351b446c4149b7f9fbfa3939e3884da5e764 Mon Sep 17 00:00:00 2001
From: Charles Short <charles.short@windriver.com>
Date: Wed, 27 Oct 2021 12:49:17 +0000
Subject: [PATCH] Add wheel package
Add python3-ironicclient-wheel package
Signed-off-by: Charles Short <charles.short@windriver.com>
---
debian/control | 23 +++++++++++++++++++++++
debian/rules | 2 +-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 8087b67..ba96755 100644
--- a/debian/control
+++ b/debian/control
@@ -100,3 +100,26 @@ Description: Client for OpenStack bare metal Service - Python 3.x
interact with Ironic's API.
.
This package provides the Python 3.x support.
+
+Package: python3-ironicclient-wheel
+Architecture: all
+Depends:
+ python3-wheel,
+ ${misc:Depends},
+ ${python3:Depends},
+Description: Client for OpenStack bare metal Service - Python 3.x
+ Ironic provision bare metal machines instead of virtual machines. It is a fork
+ of the Nova Baremetal driver. It is best thought of as a bare metal hypervisor
+ API and a set of plugins which interact with the bare metal hypervisors. By
+ default, it will use PXE and IPMI in concert to provision and turn on/off
+ machines, but Ironic also supports vendor-specific plugins which may
+ implement
+ additional functionality.
+ .
+ This is a client for the OpenStack Ironic API. There's a Python API
+ (the "ironicclient" module), and a command-line script ("ironic").
+ .
+ Installing this package gets you a shell command, that you can use to
+ interact with Ironic's API.
+ .
+ This package contains the Python wheel.
diff --git a/debian/rules b/debian/rules
index 440f688..c466daa 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_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
--
2.34.1