Date: Wednesday, December 1, 2021 @ 11:26:14 Author: foutrelis Revision: 1059192
archrelease: copy trunk to community-staging-any Added: python-glanceclient/repos/community-staging-any/ python-glanceclient/repos/community-staging-any/PKGBUILD (from rev 1059188, python-glanceclient/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: python-glanceclient/repos/community-staging-any/PKGBUILD (from rev 1059188, python-glanceclient/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-12-01 11:26:14 UTC (rev 1059192) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-glanceclient +pkgver=3.5.0 +pkgrel=3 +pkgdesc="OpenStack Image API Client Library" +arch=('any') +url="https://docs.openstack.org/developer/python-glanceclient" +license=('Apache') +depends=('python-pbr' 'python-prettytable' 'python-keystoneauth1' 'python-requests' 'python-warlock' + 'python-oslo-utils' 'python-oslo-i18n' 'python-wrapt' 'python-pyopenssl') +makedepends=('python-setuptools') +checkdepends=('python-stestr' 'python-ddt' 'python-mock' 'python-requests-mock' 'python-testscenarios') +options=('!emptydirs') +source=("https://github.com/openstack/python-glanceclient/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('1f25df6b35176a5c40c5e384e429afacffc034f45a54a501b8fa60f83cacfee48f79660b7169510b91b144b1697e8acc352b77212aa458aaed5afeeecd4059ad') + +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 +}