Files
openstack-armada-app/upstream/openstack/python-barbicanclient/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

72 lines
2.2 KiB
Diff

From be960e947f4cafa84651e5b8012d193623afdcaa Mon Sep 17 00:00:00 2001
From: Lucas de Ataides <lucas.deataidesbarreto@windriver.com>
Date: Tue, 27 Jun 2023 09:22:03 -0300
Subject: [PATCH] Add wheel package
Add python3-barbicanclient-wheel.
This patch was ported from Charles Short <charles.short@windriver.com>
Signed-off-by: Lucas de Ataides <lucas.deataidesbarreto@windriver.com>
---
debian/changelog | 7 +++++++
debian/control | 13 +++++++++++++
debian/rules | 2 +-
3 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 43785ac..7b65712 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -84,6 +84,13 @@ python-barbicanclient (5.2.0-2) unstable; urgency=medium
* Uploading to unstable.
+python-barbicanclient (5.0.1-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/control, debian/rules: Add wheels support.
+
+ -- Chuck Short <charles.short@windriver.com> Sun, 03 Oct 2021 18:30:48 +0000
+
-- Thomas Goirand <zigo@debian.org> Wed, 29 Sep 2021 17:11:20 +0200
python-barbicanclient (5.2.0-1) experimental; urgency=medium
diff --git a/debian/control b/debian/control
index 3b0a473..3bb61d5 100644
--- a/debian/control
+++ b/debian/control
@@ -54,3 +54,16 @@ Description: OpenStack Key Management API client - Python 3.x
command-line script (barbican).
.
This package contains the Python 3.x module.
+
+Package: python3-barbicanclient-wheel
+Architecture: all
+Depends:
+ python3-wheels,
+ ${misc:Depends},
+ ${python3:Depends},
+Description: OpenStack Key Management API client - Python 3.x
+ This is a client for the Barbican Key Management API. This package includes a
+ Python library for accessing the API (the barbicanclient module), and a
+ command-line script (barbican).
+ .
+ This package contains the Python 3.x wheel.
diff --git a/debian/rules b/debian/rules
index 40d1617..2b7daa3 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