As part of the STX-Openstack upversion to ANTELOPE, the python- openstackclient is being upversioned to version 6.2.0-1, which is the latest supported on ANTELOPE [1]. All patches were updated so the package can be build. Note that on the 0002-Add-location-parameter-for-volume-backup-creation.patch, the end part of the patch had to be removed [2], because on this new version, the openstackclient it added a `**kwargs` argument [3], making it unnecessary to specify the location argument. This change also adds the sha256sum field to the downloader path, as it is being recommended to use it in the place of the md5sum. [1] https://releases.openstack.org/antelope/#antelope-python-openstackclient [2] https://opendev.org/starlingx/openstack-armada-app/src/branch/master/upstream/openstack/python-openstackclient/debian/patches/0002-Add-location-parameter-for-volume-backup-creation.patch#L119 [3] https://salsa.debian.org/openstack-team/clients/python-openstackclient/-/blob/debian/6.2.0-1/openstackclient/volume/v2/volume_backup.py#L171 Test Plan: PASS: Build the python-openstackclient package Story: 2010715 Task: 48137 Change-Id: I3318b6b54acbcfce67a3f56edd7076fb1b5ac2a2 Signed-off-by: Lucas de Ataides <lucas.deataidesbarreto@windriver.com>
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From 4e07c23b3d1a3d194545fe2ee4e8ba3281f447a4 Mon Sep 17 00:00:00 2001
|
|
From: Dan Voiculeasa <dan.voiculeasa@windriver.com>
|
|
Date: Thu, 2 Jun 2022 20:20:50 +0300
|
|
Subject: [PATCH] Allow external bash completion
|
|
|
|
Don't generate the bash completion at build time, as it is different
|
|
than the one generated at runtime. Allow bash completion to be
|
|
generated at /etc/bash_completion.d .
|
|
|
|
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
|
|
---
|
|
debian/python3-openstackclient.dirs | 1 +
|
|
debian/rules | 3 ---
|
|
2 files changed, 1 insertion(+), 3 deletions(-)
|
|
create mode 100644 debian/python3-openstackclient.dirs
|
|
|
|
diff --git a/debian/python3-openstackclient.dirs b/debian/python3-openstackclient.dirs
|
|
new file mode 100644
|
|
index 00000000..bc3b6805
|
|
--- /dev/null
|
|
+++ b/debian/python3-openstackclient.dirs
|
|
@@ -0,0 +1 @@
|
|
+etc/bash_completion.d/
|
|
diff --git a/debian/rules b/debian/rules
|
|
index 8c257cd8..9b71b705 100755
|
|
--- a/debian/rules
|
|
+++ b/debian/rules
|
|
@@ -14,9 +14,6 @@ override_dh_auto_build:
|
|
override_dh_auto_install:
|
|
pkgos-dh_auto_install --no-py2 --wheel
|
|
|
|
- # Generate bash completion
|
|
- pkgos-gen-completion --py3 openstack
|
|
-
|
|
override_dh_auto_test:
|
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
|
pkgos-dh_auto_test --no-py2 'openstackclient\.tests.*'
|
|
--
|
|
2.25.1
|
|
|