Date: Saturday, November 26, 2022 @ 02:25:29 Author: felixonmars Revision: 1353942
archrelease: copy trunk to community-any Added: python-keystoneauth1/repos/community-any/PKGBUILD (from rev 1353941, python-keystoneauth1/trunk/PKGBUILD) Deleted: python-keystoneauth1/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-11-26 02:25:19 UTC (rev 1353941) +++ PKGBUILD 2022-11-26 02:25:29 UTC (rev 1353942) @@ -1,45 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgname=python-keystoneauth1 -pkgver=5.0.0 -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') -checkdepends=('python-requests-mock' 'python-testscenarios' '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=('51d69be2d55c2371f4666d2cdfb779c8f34ddfa1075d2591321732ab9cf902e01266980c1f172b690a291b4ebddce4859fd7adc1ff118fb0f87c255031fc378b') - -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 1353941, python-keystoneauth1/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-11-26 02:25:29 UTC (rev 1353942) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-keystoneauth1 +pkgver=5.1.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') +checkdepends=('python-requests-mock' 'python-testscenarios' '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=('268ce09e2af9b0cf95a2d6e432f77442f2b77442799ed77d583688a528f35aeeb027d30a6a5abef27138175061991a88334b64c9d1f3c2e2abdad288c0cb3aeb') + +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: