Date: Friday, April 3, 2020 @ 15:14:27 Author: felixonmars Revision: 610828
archrelease: copy trunk to community-any Added: python-keystoneauth1/repos/community-any/PKGBUILD (from rev 610826, python-keystoneauth1/trunk/PKGBUILD) Deleted: python-keystoneauth1/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-04-03 15:14:26 UTC (rev 610827) +++ PKGBUILD 2020-04-03 15:14:27 UTC (rev 610828) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgname=python-keystoneauth1 -pkgver=3.18.0 -pkgrel=4 -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') -source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/keystoneauth/archive/$pkgver.tar.gz") -sha512sums=('cc245b52027df6d555671f27e29ca1c626189182217b2bfe3d3769f076152946d5b80fb21b95419a939f9d7836edca75f3ed85d344fb49c0366a62a53ab668a5') - -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 610826, python-keystoneauth1/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-04-03 15:14:27 UTC (rev 610828) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-keystoneauth1 +pkgver=4.0.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=('87a978ab0db1ceee6df74da46e9186a8978bd23ba3785701623e459c0ab8eccc35d3a0ce202be2a2a26fe7aafcb0ddb32e628ef32fa1fcb4010e053b874f97a3') + +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: