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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 19:23:17 UTC 2020


    Date: Monday, November 9, 2020 @ 19:23:17
  Author: foutrelis
Revision: 748039

archrelease: copy trunk to community-staging-any

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

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

Copied: python-glanceclient/repos/community-staging-any/PKGBUILD (from rev 748038, python-glanceclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:23:17 UTC (rev 748039)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-glanceclient
+pkgver=3.2.2
+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-ddt' '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=('94328a16d8352e6612a7ed16faa777234027189c689794305b24f56e77a3c33558daeb200dcd2cc89e554e47bbeff1b4eef0e36b31a3ab370ea2c5f94d82fc8d')
+
+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