[arch-commits] Commit in python-cinderclient/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 14:59:02 UTC 2019


    Date: Saturday, October 26, 2019 @ 14:59:01
  Author: foutrelis
Revision: 520387

archrelease: copy trunk to community-staging-any

Added:
  python-cinderclient/repos/community-staging-any/
  python-cinderclient/repos/community-staging-any/PKGBUILD
    (from rev 520386, python-cinderclient/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: python-cinderclient/repos/community-staging-any/PKGBUILD (from rev 520386, python-cinderclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 14:59:01 UTC (rev 520387)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-cinderclient
+pkgver=5.0.0
+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')
+checkdepends=('python-oslotest' 'python-requests-mock' 'python-ddt')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/python-cinderclient/archive/$pkgver.tar.gz")
+sha512sums=('d375888eb8466e5b8f6da8b40da476b43a344889276da68f687fc9b0b3e848ac30177b90664261a6c15c696c830cd027fac06077f079503a4888f50aa3c1169b')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  sed -i '/simplejson/d' python-cinderclient-$pkgver/requirements.txt
+}
+
+build() {
+  cd python-cinderclient-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-cinderclient-$pkgver
+  stestr run
+}
+
+package() {
+  cd python-cinderclient-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list