Files
openstack-armada-app/upstream/openstack/python-heatclient/debian/deb_patches/0001-Add-wheel-support.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 da246ea09aaa25ffdc82875349005d1ec22d347a Mon Sep 17 00:00:00 2001
From: Charles Short <charles.short@windriver.com>
Date: Wed, 27 Oct 2021 12:29:52 +0000
Subject: [PATCH] Add wheel support
Add python3-heatclient-wheel package.
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 77a684f..afa5715 100644
--- a/debian/control
+++ b/debian/control
@@ -71,3 +71,20 @@ Description: client library and CLI for OpenStack Heat - Python 3.x
the OpenStack Heat API.
.
This package provides the Python 3.x module.
+
+Package: python3-heatclient-wheel
+Architecture: all
+Depends:
+ python3-wheel,
+ ${misc:Depends},
+ ${python3:Depends},
+Description: client library and CLI for OpenStack Heat - Python 3.x
+ Heat is a service to orchestrate multiple composite cloud applications
+ using templates, through both an OpenStack-native ReST API and
+ a CloudFormation-compatible Query API.
+ .
+ This is a client for the OpenStack Heat API. There's a Python API (the
+ heatclient module), and a command-line script (heat). Each implements 100% of
+ the OpenStack Heat API.
+ .
+ This package contains the Python wheel.
diff --git a/debian/rules b/debian/rules
index 6ddd5de..e6ffb06 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 --in-tmp
+ pkgos-dh_auto_install --no-py2 --in-tmp --wheel
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages pkgos-dh_auto_test --no-py2
--
2.34.1