Date: Monday, September 20, 2021 @ 20:46:44 Author: felixonmars Revision: 1019710
archrelease: copy trunk to community-any Added: python-keystoneauth1/repos/community-any/PKGBUILD (from rev 1019709, python-keystoneauth1/trunk/PKGBUILD) Deleted: python-keystoneauth1/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-20 20:46:30 UTC (rev 1019709) +++ PKGBUILD 2021-09-20 20:46:44 UTC (rev 1019710) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgname=python-keystoneauth1 -pkgver=4.3.1 -pkgrel=2 -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: Copied: python-keystoneauth1/repos/community-any/PKGBUILD (from rev 1019709, python-keystoneauth1/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-20 20:46:44 UTC (rev 1019710) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-keystoneauth1 +pkgver=4.4.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=('67908a926b4b98ce5025adcc39ac9695d5c5b240a36ffc7dc0ba42b18c4e7f14ddbaef0cedd22508aaa8b7cbb81159f93ecaa0c5240c5f6557801e500d424ebd') + +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: