Date: Thursday, February 28, 2019 @ 21:18:07 Author: felixonmars Revision: 437091
archrelease: copy trunk to community-any Added: python-keystoneclient/repos/community-any/PKGBUILD (from rev 437090, python-keystoneclient/trunk/PKGBUILD) Deleted: python-keystoneclient/repos/community-any/PKGBUILD ----------+ PKGBUILD | 126 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-28 21:17:55 UTC (rev 437090) +++ PKGBUILD 2019-02-28 21:18:07 UTC (rev 437091) @@ -1,63 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-keystoneclient -pkgname=(python-keystoneclient python2-keystoneclient) -pkgver=3.18.0 -pkgrel=1 -pkgdesc="Client Library for OpenStack Identity" -arch=('any') -url="https://docs.openstack.org/python-keystoneclient/latest/" -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-iso8601' - 'python2-iso8601' 'python-prettytable' 'python2-prettytable' 'python-debtcollector' - 'python2-debtcollector' 'python-keystoneauth1' 'python2-keystoneauth1' 'python-oslo-utils' - 'python2-oslo-utils' 'python-oslo-i18n' 'python2-oslo-i18n' 'python-oslo-serialization' - 'python2-oslo-serialization' 'python-oslo-config' 'python2-oslo-config' - 'python-requests' 'python2-requests' 'python-stevedore' 'python2-stevedore') -checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock' - 'python-pycodestyle' 'python2-pycodestyle' 'python-lxml' 'python2-lxml' - 'python-testresources' 'python2-testresources') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-keystoneclient/archive/$pkgver.tar.gz") -sha512sums=('87c317e8d7efd0462dcbb2253bb395f24467506c4e534b0a5bb3bc5431e2c84691fa46bbecf6906f8de68d897b930b40c2d2c75d1a8ef6e0ed49c88f42d9a5ce') - -export PBR_VERSION=$pkgver - -prepare() { - cp -a python-keystoneclient-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/python-keystoneclient-$pkgver - python setup.py build - - cd "$srcdir"/python-keystoneclient-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/python-keystoneclient-$pkgver - stestr run - - cd "$srcdir"/python-keystoneclient-$pkgver-py2 - PYTHON=python2 stestr2 run -} - -package_python-keystoneclient() { - 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') - - cd "$srcdir"/python-keystoneclient-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-keystoneclient() { - depends=('python2-six' 'python2-pbr' 'python2-iso8601' 'python2-prettytable' 'python2-debtcollector' - 'python2-keystoneauth1' 'python2-oslo-utils' 'python2-oslo-i18n' - 'python2-oslo-serialization' 'python2-oslo-config' 'python2-requests' 'python2-stevedore') - - cd "$srcdir"/python-keystoneclient-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-keystoneclient/repos/community-any/PKGBUILD (from rev 437090, python-keystoneclient/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-28 21:18:07 UTC (rev 437091) @@ -0,0 +1,63 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-keystoneclient +pkgname=(python-keystoneclient python2-keystoneclient) +pkgver=3.19.0 +pkgrel=1 +pkgdesc="Client Library for OpenStack Identity" +arch=('any') +url="https://docs.openstack.org/python-keystoneclient/latest/" +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-iso8601' + 'python2-iso8601' 'python-prettytable' 'python2-prettytable' 'python-debtcollector' + 'python2-debtcollector' 'python-keystoneauth1' 'python2-keystoneauth1' 'python-oslo-utils' + 'python2-oslo-utils' 'python-oslo-i18n' 'python2-oslo-i18n' 'python-oslo-serialization' + 'python2-oslo-serialization' 'python-oslo-config' 'python2-oslo-config' + 'python-requests' 'python2-requests' 'python-stevedore' 'python2-stevedore') +checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock' + 'python-pycodestyle' 'python2-pycodestyle' 'python-lxml' 'python2-lxml' + 'python-testresources' 'python2-testresources') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-keystoneclient/archive/$pkgver.tar.gz") +sha512sums=('3fc549ba955fe83623b4c47f9f5271dcab41af733e394237c8860356c036aa82721f0d62738a7e6fbe29b56850e2d2be760a8d1f702900e999c42f864c7f484d') + +export PBR_VERSION=$pkgver + +prepare() { + cp -a python-keystoneclient-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/python-keystoneclient-$pkgver + python setup.py build + + cd "$srcdir"/python-keystoneclient-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/python-keystoneclient-$pkgver + stestr run + + cd "$srcdir"/python-keystoneclient-$pkgver-py2 + PYTHON=python2 stestr2 run +} + +package_python-keystoneclient() { + 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') + + cd "$srcdir"/python-keystoneclient-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-keystoneclient() { + depends=('python2-six' 'python2-pbr' 'python2-iso8601' 'python2-prettytable' 'python2-debtcollector' + 'python2-keystoneauth1' 'python2-oslo-utils' 'python2-oslo-i18n' + 'python2-oslo-serialization' 'python2-oslo-config' 'python2-requests' 'python2-stevedore') + + cd "$srcdir"/python-keystoneclient-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: