Date: Tuesday, November 30, 2021 @ 22:30:58 Author: foutrelis Revision: 1059015
archrelease: copy trunk to community-staging-any Added: python-keystoneclient/repos/community-staging-any/ python-keystoneclient/repos/community-staging-any/PKGBUILD (from rev 1059014, python-keystoneclient/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: python-keystoneclient/repos/community-staging-any/PKGBUILD (from rev 1059014, python-keystoneclient/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-30 22:30:58 UTC (rev 1059015) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-keystoneclient +pkgver=4.3.0 +pkgrel=2 +pkgdesc="Client Library for OpenStack Identity" +arch=('any') +url="https://docs.openstack.org/python-keystoneclient/latest/" +license=('Apache') +depends=('python-six' 'python-pbr' 'python-iso8601' 'python-prettytable' 'python-debtcollector' + 'python-keystoneauth1' 'python-oslo-utils' 'python-oslo-i18n' + 'python-oslo-serialization' 'python-oslo-config' 'python-requests' 'python-stevedore') +makedepends=('python-setuptools') +checkdepends=('python-oslotest' 'python-requests-mock' 'python-pycodestyle' 'python-lxml' + 'python-testresources') +source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/python-keystoneclient/archive/$pkgver.tar.gz") +sha512sums=('fdcc691149fcaf6e5a16ae28d51e898f0f42f5617bddbed0072fad26b051ef2af4508e110dd0c8c2de58dc1c0887bc53fa0fb47eab3f30c589a571fe2157ab66') + +export PBR_VERSION=$pkgver + +build() { + cd python-keystoneclient-$pkgver + python setup.py build +} + +check() { + cd python-keystoneclient-$pkgver + stestr run +} + +package() { + cd python-keystoneclient-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}