Date: Sunday, April 9, 2023 @ 18:01:07
Author: felixonmars
Revision: 1443356
archrelease: copy trunk to community-staging-any
Added:
python-cinderclient/repos/community-staging-any/
python-cinderclient/repos/community-staging-any/PKGBUILD
(from rev 1443355, python-cinderclient/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-cinderclient/repos/community-staging-any/PKGBUILD (from rev
1443355, python-cinderclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-09 18:01:07 UTC (rev 1443356)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-cinderclient
+pkgver=9.3.0
+_commit=f7a612ef3edf1158cac8829af97ed64920720b6a
+pkgrel=2
+pkgdesc="OpenStack Block Storage API Client Library"
+arch=('any')
+url="https://docs.openstack.org/developer/python-cinderclient"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable'
'python-keystoneclient'
+ 'python-requests' 'python-oslo-utils')
+makedepends=('git')
+checkdepends=('python-oslotest' 'python-requests-mock' 'python-ddt')
+source=("git+https://github.com/openstack/python-cinderclient.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd python-cinderclient
+ python setup.py build
+}
+
+check() {
+ cd python-cinderclient
+ stestr run
+}
+
+package() {
+ cd python-cinderclient
+ python setup.py install --root="$pkgdir" --optimize=1
+}