Date: Friday, July 28, 2017 @ 14:51:56 Author: felixonmars Revision: 246699
archrelease: copy trunk to community-any Added: python-keystoneclient/repos/community-any/PKGBUILD (from rev 246698, python-keystoneclient/trunk/PKGBUILD) Deleted: python-keystoneclient/repos/community-any/PKGBUILD ----------+ PKGBUILD | 130 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-07-28 14:51:39 UTC (rev 246698) +++ PKGBUILD 2017-07-28 14:51:56 UTC (rev 246699) @@ -1,65 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-keystoneclient -pkgname=(python-keystoneclient python2-keystoneclient) -pkgver=3.12.0 -pkgrel=1 -pkgdesc="Client Library for OpenStack Identity" -arch=('any') -url="http://docs.openstack.org/developer/python-keystoneclient" -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-positional' 'python2-positional' '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-testresources' 'python2-testresources' - 'python-requests-mock' 'python2-requests-mock' 'python-pycodestyle' - 'python2-pycodestyle' 'python-lxml' 'python2-lxml') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-keystoneclient/archive/$pkgver.tar.gz") -sha512sums=('ba874f1fa1a204fd531c7f2f1292544cbc1c262d105fdc044ca185e14c5b70e5e0a4b070c008040de2b80a504e0e8562286e80690d77f38b85b5ed79096a4d7c') - -prepare() { - cp -a python-keystoneclient-$pkgver{,-py2} - - export PBR_VERSION=$pkgver -} - -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 - python setup.py testr - - cd "$srcdir"/python-keystoneclient-$pkgver-py2 - PYTHON=python2 python2 setup.py testr -} - -package_python-keystoneclient() { - depends=('python-six' 'python-pbr' 'python-iso8601' 'python-prettytable' 'python-debtcollector' - 'python-keystoneauth1' 'python-positional' '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-positional' '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 246698, python-keystoneclient/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-07-28 14:51:56 UTC (rev 246699) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-keystoneclient +pkgname=(python-keystoneclient python2-keystoneclient) +pkgver=3.13.0 +pkgrel=1 +pkgdesc="Client Library for OpenStack Identity" +arch=('any') +url="http://docs.openstack.org/developer/python-keystoneclient" +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-positional' 'python2-positional' '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-testresources' 'python2-testresources' + 'python-requests-mock' 'python2-requests-mock' 'python-pycodestyle' + 'python2-pycodestyle' 'python-lxml' 'python2-lxml') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-keystoneclient/archive/$pkgver.tar.gz") +sha512sums=('6eb6185070652ff879407a0c18c94e288c3671dbcb88a5b3d4930a9b74c3a3f9a035f283c2ab835514263435baa754bf6dda27012922a91327dbf8f475807070') + +prepare() { + cp -a python-keystoneclient-$pkgver{,-py2} + + export PBR_VERSION=$pkgver +} + +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 + python setup.py testr + + cd "$srcdir"/python-keystoneclient-$pkgver-py2 + PYTHON=python2 python2 setup.py testr +} + +package_python-keystoneclient() { + depends=('python-six' 'python-pbr' 'python-iso8601' 'python-prettytable' 'python-debtcollector' + 'python-keystoneauth1' 'python-positional' '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-positional' '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: