[arch-commits] Commit in python-openstackclient/repos/community-any (4 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun Nov 21 21:43:04 UTC 2021


    Date: Sunday, November 21, 2021 @ 21:43:04
  Author: felixonmars
Revision: 1054039

archrelease: copy trunk to community-any

Added:
  python-openstackclient/repos/community-any/PKGBUILD
    (from rev 1054038, python-openstackclient/trunk/PKGBUILD)
  python-openstackclient/repos/community-any/entry-point-compatibility.patch
    (from rev 1054038, python-openstackclient/trunk/entry-point-compatibility.patch)
Deleted:
  python-openstackclient/repos/community-any/PKGBUILD
  python-openstackclient/repos/community-any/entry-point-compatibility.patch

---------------------------------+
 PKGBUILD                        |   66 +++++++++++++++++++-------------------
 entry-point-compatibility.patch |   60 +++++++++++++++++-----------------
 2 files changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-21 21:42:54 UTC (rev 1054038)
+++ PKGBUILD	2021-11-21 21:43:04 UTC (rev 1054039)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=python-openstackclient
-pkgver=5.6.0
-pkgrel=1
-pkgdesc="OpenStack Command-line Client"
-arch=('any')
-url="https://docs.openstack.org/python-openstackclient/latest/"
-license=('Apache')
-depends=('python-six' 'python-pbr' 'python-babel' 'python-cliff' 'python-keystoneclient'
-         'python-keystoneauth1' 'python-osc-lib' 'python-oslo-utils' 'python-oslo-i18n'
-         'python-openstacksdk' 'python-glanceclient' 'python-novaclient' 'python-cinderclient')
-checkdepends=('python-ddt' 'python-oslotest' 'python-requests-mock')
-source=("https://github.com/openstack/python-openstackclient/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('0834a78d898f6f6854e1c79381f5976e21ffc5dc671d37f868ea8d0b66f588b9c9bf1f273e8076e0c951b1af02e9bb2439d2d23a0a2c95095082db74000354d9')
-
-export PBR_VERSION=$pkgver
-
-build() {
-  cd python-openstackclient-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd python-openstackclient-$pkgver
-  stestr run || echo "Tests failed: https://storyboard.openstack.org/#!/story/2003143"
-}
-
-package() {
-  cd python-openstackclient-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-openstackclient/repos/community-any/PKGBUILD (from rev 1054038, python-openstackclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-21 21:43:04 UTC (rev 1054039)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-openstackclient
+pkgver=5.7.0
+pkgrel=1
+pkgdesc="OpenStack Command-line Client"
+arch=('any')
+url="https://docs.openstack.org/python-openstackclient/latest/"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-babel' 'python-cliff' 'python-keystoneclient'
+         'python-keystoneauth1' 'python-osc-lib' 'python-oslo-utils' 'python-oslo-i18n'
+         'python-openstacksdk' 'python-glanceclient' 'python-novaclient' 'python-cinderclient')
+checkdepends=('python-ddt' 'python-oslotest' 'python-requests-mock')
+source=("https://github.com/openstack/python-openstackclient/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('79436b302de9eea6800666830dc2c170b257c54e0e1c20b2d86ce607083f379dbaa1932af06b4c544040fe0cf22aa20414b5bfbf44a2dfa0e433c1be042e8aec')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd python-openstackclient-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-openstackclient-$pkgver
+  stestr run || echo "Tests failed: https://storyboard.openstack.org/#!/story/2003143"
+}
+
+package() {
+  cd python-openstackclient-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}

Deleted: entry-point-compatibility.patch
===================================================================
--- entry-point-compatibility.patch	2021-11-21 21:42:54 UTC (rev 1054038)
+++ entry-point-compatibility.patch	2021-11-21 21:43:04 UTC (rev 1054039)
@@ -1,30 +0,0 @@
-commit 9d0d64df8b5569f02892b1fd8690043bea7bfde7
-Author: Felix Yan <felixonmars at archlinux.org>
-Date:   Tue Jul 14 01:02:00 2020 +0800
-
-    Fix compatibility issue in 5.3
-    
-    The offending entry point object looks like:
-    EntryPoint(name='compute', value='openstackclient.compute.client',
-    group='openstack.cli.base')
-    
-    Fixes https://storyboard.openstack.org/#!/story/2007917
-    
-    Change-Id: I0f3cc62e23efdc14203ce6645581d5ba5dbf7fa0
-
-diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py
-index 66dc880e..36c3ce26 100644
---- a/openstackclient/common/clientmanager.py
-+++ b/openstackclient/common/clientmanager.py
-@@ -154,7 +154,10 @@ def get_plugin_modules(group):
-         try:
-             module_name = ep.entry_point.module_name
-         except AttributeError:
--            module_name = ep.entry_point.module
-+            try:
-+                module_name = ep.entry_point.module
-+            except AttributeError:
-+                module_name = ep.entry_point.value
- 
-         try:
-             module = importlib.import_module(module_name)

Copied: python-openstackclient/repos/community-any/entry-point-compatibility.patch (from rev 1054038, python-openstackclient/trunk/entry-point-compatibility.patch)
===================================================================
--- entry-point-compatibility.patch	                        (rev 0)
+++ entry-point-compatibility.patch	2021-11-21 21:43:04 UTC (rev 1054039)
@@ -0,0 +1,30 @@
+commit 9d0d64df8b5569f02892b1fd8690043bea7bfde7
+Author: Felix Yan <felixonmars at archlinux.org>
+Date:   Tue Jul 14 01:02:00 2020 +0800
+
+    Fix compatibility issue in 5.3
+    
+    The offending entry point object looks like:
+    EntryPoint(name='compute', value='openstackclient.compute.client',
+    group='openstack.cli.base')
+    
+    Fixes https://storyboard.openstack.org/#!/story/2007917
+    
+    Change-Id: I0f3cc62e23efdc14203ce6645581d5ba5dbf7fa0
+
+diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py
+index 66dc880e..36c3ce26 100644
+--- a/openstackclient/common/clientmanager.py
++++ b/openstackclient/common/clientmanager.py
+@@ -154,7 +154,10 @@ def get_plugin_modules(group):
+         try:
+             module_name = ep.entry_point.module_name
+         except AttributeError:
+-            module_name = ep.entry_point.module
++            try:
++                module_name = ep.entry_point.module
++            except AttributeError:
++                module_name = ep.entry_point.value
+ 
+         try:
+             module = importlib.import_module(module_name)



More information about the arch-commits mailing list