Date: Tuesday, February 23, 2021 @ 21:42:18 Author: felixonmars Revision: 870755
archrelease: copy trunk to community-any Added: python-keystoneauth1/repos/community-any/PKGBUILD (from rev 870753, python-keystoneauth1/trunk/PKGBUILD) Deleted: python-keystoneauth1/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-02-23 21:42:16 UTC (rev 870754) +++ PKGBUILD 2021-02-23 21:42:18 UTC (rev 870755) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgname=python-keystoneauth1 -pkgver=4.3.0 -pkgrel=1 -pkgdesc="Authentication Library for OpenStack Identity" -arch=('any') -url="https://docs.openstack.org/developer/keystoneauth" -license=('Apache') -depends=('python-pbr' 'python-iso8601' 'python-stevedore' 'python-os-service-types' 'python-requests') -optdepends=('python-requests-kerberos: for kerberos support' - 'python-lxml: for saml2 support' - 'python-oauthlib: for oauth1 support' - 'python-betamax: for betamax support' - 'python-fixtures: for betamax support' - 'python-mock: for betamax support') -checkdepends=('python-requests-mock' 'python-testscenarios' 'python-mock' 'python-lxml' - 'python-oslo-config' 'python-betamax' 'python-oslotest' 'python-oslo-utils' - 'python-requests-kerberos' 'python-oauthlib' 'python-pycodestyle' 'python-hacking') -source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/keystoneauth/archive/$pkgver.tar.gz") -sha512sums=('ba1efac2a0e2c95ac0ab2c07d01b05a72a3388a9e8ec2ba5389fae260ac0acd86961aa290b804f9e16dec3c8a0c1b98d0811d692bb5ee7c9a22216e710dc62ac') - -export PBR_VERSION=$pkgver - -prepare() { - sed -i 's/pep8/pycodestyle/g' keystoneauth-$pkgver/keystoneauth1/tests/unit/test_hacking_checks.py - sed -i 's/assertItemsEqual/assertCountEqual/' keystoneauth-$pkgver/keystoneauth1/tests/unit/extras/kerberos/*.py -} - -build() { - cd keystoneauth-$pkgver - python setup.py build -} - -check() { - cd keystoneauth-$pkgver - stestr run -} - -package() { - cd keystoneauth-$pkgver - python setup.py install --root="$pkgdir/" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-keystoneauth1/repos/community-any/PKGBUILD (from rev 870753, python-keystoneauth1/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-02-23 21:42:18 UTC (rev 870755) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-keystoneauth1 +pkgver=4.3.1 +pkgrel=1 +pkgdesc="Authentication Library for OpenStack Identity" +arch=('any') +url="https://docs.openstack.org/developer/keystoneauth" +license=('Apache') +depends=('python-pbr' 'python-iso8601' 'python-stevedore' 'python-os-service-types' 'python-requests') +optdepends=('python-requests-kerberos: for kerberos support' + 'python-lxml: for saml2 support' + 'python-oauthlib: for oauth1 support' + 'python-betamax: for betamax support' + 'python-fixtures: for betamax support' + 'python-mock: for betamax support') +checkdepends=('python-requests-mock' 'python-testscenarios' 'python-mock' 'python-lxml' + 'python-oslo-config' 'python-betamax' 'python-oslotest' 'python-oslo-utils' + 'python-requests-kerberos' 'python-oauthlib' 'python-pycodestyle' 'python-hacking') +source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/keystoneauth/archive/$pkgver.tar.gz") +sha512sums=('38757d1534f65293ec340536f91598854fa64311f1d84f99e6eaecc61530f71428f7fac5070c205f15d90fd9c22599a3a78bb372a074e3759122d68af338cca6') + +export PBR_VERSION=$pkgver + +prepare() { + sed -i 's/pep8/pycodestyle/g' keystoneauth-$pkgver/keystoneauth1/tests/unit/test_hacking_checks.py + sed -i 's/assertItemsEqual/assertCountEqual/' keystoneauth-$pkgver/keystoneauth1/tests/unit/extras/kerberos/*.py +} + +build() { + cd keystoneauth-$pkgver + python setup.py build +} + +check() { + cd keystoneauth-$pkgver + stestr run +} + +package() { + cd keystoneauth-$pkgver + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: