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

Felix Yan felixonmars at archlinux.org
Sat Oct 3 05:05:27 UTC 2020


    Date: Saturday, October 3, 2020 @ 05:05:26
  Author: felixonmars
Revision: 716088

archrelease: copy trunk to community-any

Added:
  python-openstackclient/repos/community-any/PKGBUILD
    (from rev 716083, python-openstackclient/trunk/PKGBUILD)
  python-openstackclient/repos/community-any/entry-point-compatibility.patch
    (from rev 716084, 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	2020-10-03 05:05:24 UTC (rev 716087)
+++ PKGBUILD	2020-10-03 05:05:26 UTC (rev 716088)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=python-openstackclient
-pkgver=5.3.1
-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=('52f964e96a9b1b2e0c31ccf5be2b66cf4d4ccf83cc6c8bc1e49afea0f6d90200065b174c57b0cd89c8c21f01229415dc494fc98bdae9845a1c9f63635bcf60f0')
-
-export PBR_VERSION=$pkgver
-
-build() {
-  cd python-openstackclient-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd python-openstackclient-$pkgver
-  stestr run || warning "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 716083, python-openstackclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-03 05:05:26 UTC (rev 716088)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-openstackclient
+pkgver=5.4.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=('5f8e7861e0b0ce7f24c34e2f460599dde95f25e909a70bee656952b8a8228b94d50def2ad277ca937c7b9de2fd790e9d28ea5e1a3f0f6d3c43501981b2897620')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd python-openstackclient-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-openstackclient-$pkgver
+  stestr run || warning "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	2020-10-03 05:05:24 UTC (rev 716087)
+++ entry-point-compatibility.patch	2020-10-03 05:05:26 UTC (rev 716088)
@@ -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 716084, python-openstackclient/trunk/entry-point-compatibility.patch)
===================================================================
--- entry-point-compatibility.patch	                        (rev 0)
+++ entry-point-compatibility.patch	2020-10-03 05:05:26 UTC (rev 716088)
@@ -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