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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 06:29:41 UTC 2019


    Date: Saturday, October 26, 2019 @ 06:29:40
  Author: felixonmars
Revision: 520271

archrelease: copy trunk to community-staging-any

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

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

Copied: python-glanceclient/repos/community-staging-any/PKGBUILD (from rev 520270, python-glanceclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 06:29:40 UTC (rev 520271)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-glanceclient
+pkgver=2.17.0
+pkgrel=2
+pkgdesc="OpenStack Image API Client Library"
+arch=('any')
+url="https://docs.openstack.org/developer/python-glanceclient"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneauth1'
+         'python-requests' 'python-warlock' 'python-oslo-utils' 'python-oslo-i18n' 'python-wrapt'
+         'python-pyopenssl')
+makedepends=('python-setuptools' 'python-pbr')
+checkdepends=('python-stestr' 'python-mock' 'python-requests-mock' 'python-testscenarios')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/python-glanceclient/archive/$pkgver.tar.gz")
+sha512sums=('955a51e16a0ad6003d089b277172211613afcd1aac098ba0895358cf11566695c525c045717ece606749e76d058fbacdef7ac432d6fd2af448215b4b11949626')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd python-glanceclient-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-glanceclient-$pkgver
+  stestr run
+}
+
+package() {
+  cd python-glanceclient-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list