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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 19:54:10 UTC 2020


    Date: Monday, November 9, 2020 @ 19:54:09
  Author: felixonmars
Revision: 748113

archrelease: copy trunk to community-staging-any

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

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

Copied: python-cinderclient/repos/community-staging-any/PKGBUILD (from rev 748111, python-cinderclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:54:09 UTC (rev 748113)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-cinderclient
+pkgver=7.2.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=('c06dd68c530c8a77c6204ecdfc5b131db963049613978e456cf960795447139f94f14dd3e0d79168248a034d290c12deba1d7353c9d4305ac1bc555dd76e5573')
+
+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