Date: Saturday, July 28, 2018 @ 14:17:11 Author: felixonmars Revision: 363758
archrelease: copy trunk to community-staging-any Added: python-glanceclient/repos/community-staging-any/PKGBUILD (from rev 363756, python-glanceclient/trunk/PKGBUILD) Deleted: python-glanceclient/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 134 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 67 insertions(+), 67 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-28 14:17:08 UTC (rev 363757) +++ PKGBUILD 2018-07-28 14:17:11 UTC (rev 363758) @@ -1,67 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgbase=python-glanceclient -pkgname=(python-glanceclient python2-glanceclient) -pkgver=2.11.1 -pkgrel=2 -pkgdesc="OpenStack Image API Client Library" -arch=('any') -url="http://docs.openstack.org/developer/python-glanceclient" -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel' - 'python2-babel' 'python-prettytable' 'python2-prettytable' 'python-keystoneauth1' - 'python2-keystoneauth1' 'python-requests' 'python2-requests' 'python-warlock' - 'python2-warlock' 'python-oslo-utils' 'python2-oslo-utils' 'python-oslo-i18n' - 'python2-oslo-i18n' 'python-wrapt' 'python2-wrapt' 'python-pyopenssl' - 'python2-pyopenssl') -checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock' 'python-requests-mock' - 'python2-requests-mock' 'python-testscenarios' 'python2-testscenarios') -options=('!emptydirs') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-glanceclient/archive/$pkgver.tar.gz") -sha512sums=('d0467945203dd00ff0fddc4e1df17ec802e51c5709ee1354087fc2ae075d4e3db1dbfacdb7fb0c01a423bcaa53866e36384ff254e31d8830af1cd644561ab43f') - -prepare() { - cp -a python-glanceclient-$pkgver{,-py2} - - export PBR_VERSION=$pkgver -} - -build() { - cd "$srcdir"/python-glanceclient-$pkgver - python setup.py build - - cd "$srcdir"/python-glanceclient-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/python-glanceclient-$pkgver - stestr run - - cd "$srcdir"/python-glanceclient-$pkgver-py2 - stestr2 run -} - -package_python-glanceclient() { - depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneauth1' - 'python-requests' 'python-warlock' 'python-oslo-utils' 'python-oslo-i18n' 'python-wrapt' - 'python-pyopenssl') - - cd "$srcdir"/python-glanceclient-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-glanceclient() { - depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-prettytable' 'python2-keystoneauth1' - 'python2-requests' 'python2-warlock' 'python2-oslo-utils' 'python2-oslo-i18n' - 'python2-wrapt' 'python2-pyopenssl') - - cd "$srcdir"/python-glanceclient-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - - mv "$pkgdir"/usr/bin/glance{,2} -} - -# vim:set ts=2 sw=2 et: Copied: python-glanceclient/repos/community-staging-any/PKGBUILD (from rev 363756, python-glanceclient/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-28 14:17:11 UTC (rev 363758) @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgbase=python-glanceclient +pkgname=(python-glanceclient python2-glanceclient) +pkgver=2.12.1 +pkgrel=1 +pkgdesc="OpenStack Image API Client Library" +arch=('any') +url="http://docs.openstack.org/developer/python-glanceclient" +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel' + 'python2-babel' 'python-prettytable' 'python2-prettytable' 'python-keystoneauth1' + 'python2-keystoneauth1' 'python-requests' 'python2-requests' 'python-warlock' + 'python2-warlock' 'python-oslo-utils' 'python2-oslo-utils' 'python-oslo-i18n' + 'python2-oslo-i18n' 'python-wrapt' 'python2-wrapt' 'python-pyopenssl' + 'python2-pyopenssl') +checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock' 'python-requests-mock' + 'python2-requests-mock' 'python-testscenarios' 'python2-testscenarios') +options=('!emptydirs') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-glanceclient/archive/$pkgver.tar.gz") +sha512sums=('de453be6c195d649b73b02caf20eab0d9a49f000cacf1cd8738644076bb19fedd0d1209801ddbf15e4e4920e95440bcdd3792672d5dabafd6e3aa464f16cacc9') + +prepare() { + cp -a python-glanceclient-$pkgver{,-py2} + + export PBR_VERSION=$pkgver +} + +build() { + cd "$srcdir"/python-glanceclient-$pkgver + python setup.py build + + cd "$srcdir"/python-glanceclient-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/python-glanceclient-$pkgver + stestr run + + cd "$srcdir"/python-glanceclient-$pkgver-py2 + PYTHON=python2 stestr2 run +} + +package_python-glanceclient() { + depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneauth1' + 'python-requests' 'python-warlock' 'python-oslo-utils' 'python-oslo-i18n' 'python-wrapt' + 'python-pyopenssl') + + cd "$srcdir"/python-glanceclient-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-glanceclient() { + depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-prettytable' 'python2-keystoneauth1' + 'python2-requests' 'python2-warlock' 'python2-oslo-utils' 'python2-oslo-i18n' + 'python2-wrapt' 'python2-pyopenssl') + + cd "$srcdir"/python-glanceclient-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + + mv "$pkgdir"/usr/bin/glance{,2} +} + +# vim:set ts=2 sw=2 et: