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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 11:19:48 UTC 2021


    Date: Wednesday, December 1, 2021 @ 11:19:47
  Author: felixonmars
Revision: 1059172

archrelease: copy trunk to community-staging-any

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

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

Copied: python-cinderclient/repos/community-staging-any/PKGBUILD (from rev 1059171, python-cinderclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 11:19:47 UTC (rev 1059172)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-cinderclient
+pkgver=8.1.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=('53bb2ce7aeb53f81e123911b7559c44a447e7d8de2ef5d42ca701f4f8a97b13c10348079b60de75a4c37565a0a75184facd86f7e63fdcc1955da9c5250208742')
+
+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