Date: Saturday, July 28, 2018 @ 14:24:56 Author: felixonmars Revision: 363777
archrelease: copy trunk to community-staging-any Added: python-novaclient/repos/community-staging-any/PKGBUILD (from rev 363775, python-novaclient/trunk/PKGBUILD) Deleted: python-novaclient/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 132 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 66 insertions(+), 66 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-28 14:24:53 UTC (rev 363776) +++ PKGBUILD 2018-07-28 14:24:56 UTC (rev 363777) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgbase=python-novaclient -pkgname=(python-novaclient python2-novaclient) -pkgver=10.3.0 -pkgrel=2 -pkgdesc="Client library for OpenStack Compute API" -arch=('any') -url="https://docs.openstack.org/python-novaclient/latest/" -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-iso8601' - 'python2-iso8601' 'python-oslo-utils' 'python2-oslo-utils' 'python-oslo-i18n' - 'python2-oslo-i18n' 'python-oslo-serialization' 'python2-oslo-serialization') -checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock' - 'python-testrepository' 'python2-testrepository') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-novaclient/archive/$pkgver.tar.gz") -sha512sums=('8dbd510ad93cd82944548283ff1412ef788d42234ec0d1ac7e8f7261c44b1e184f50c7770f1beb961e2ecdd4ab27f6c80ff46ba1d836d4d5f44e1e7d408a6bb0') - -export PBR_VERSION=$pkgver - -prepare() { - sed -i '/simplejson/d' python-novaclient-$pkgver/requirements.txt - cp -a python-novaclient-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/python-novaclient-$pkgver - python setup.py build - - cd "$srcdir"/python-novaclient-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/python-novaclient-$pkgver - python setup.py testr || warning "Tests failed" - - cd "$srcdir"/python-novaclient-$pkgver-py2 - PYTHON=python2 python2 setup.py testr || warning "Tests failed" -} - -package_python-novaclient() { - depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneauth1' - 'python-requests' 'python-iso8601' 'python-oslo-utils' 'python-oslo-i18n' - 'python-oslo-serialization') - - cd "$srcdir"/python-novaclient-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-novaclient() { - depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-prettytable' 'python2-keystoneauth1' - 'python2-requests' 'python2-iso8601' 'python2-oslo-utils' 'python2-oslo-i18n' - 'python2-oslo-serialization') - - cd "$srcdir"/python-novaclient-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - - mv "$pkgdir"/usr/bin/nova{,2} -} - -# vim:set ts=2 sw=2 et: Copied: python-novaclient/repos/community-staging-any/PKGBUILD (from rev 363775, python-novaclient/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-28 14:24:56 UTC (rev 363777) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgbase=python-novaclient +pkgname=(python-novaclient python2-novaclient) +pkgver=11.0.0 +pkgrel=1 +pkgdesc="Client library for OpenStack Compute API" +arch=('any') +url="https://docs.openstack.org/python-novaclient/latest/" +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-iso8601' + 'python2-iso8601' 'python-oslo-utils' 'python2-oslo-utils' 'python-oslo-i18n' + 'python2-oslo-i18n' 'python-oslo-serialization' 'python2-oslo-serialization') +checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock' + 'python-ddt' 'python2-ddt') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-novaclient/archive/$pkgver.tar.gz") +sha512sums=('c9a7703d071935f26a251d8c4266b7e16be69416ec2a07bd3158e2956f5c9c472ae974ea1ea044b331c24623baf360bb84261ad5aa1d55122602743c99306ee1') + +export PBR_VERSION=$pkgver + +prepare() { + sed -i '/simplejson/d' python-novaclient-$pkgver/requirements.txt + cp -a python-novaclient-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/python-novaclient-$pkgver + python setup.py build + + cd "$srcdir"/python-novaclient-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/python-novaclient-$pkgver + stestr run || warning "Tests failed" + + cd "$srcdir"/python-novaclient-$pkgver-py2 + PYTHON=python2 stestr2 run || warning "Tests failed" +} + +package_python-novaclient() { + depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneauth1' + 'python-requests' 'python-iso8601' 'python-oslo-utils' 'python-oslo-i18n' + 'python-oslo-serialization') + + cd "$srcdir"/python-novaclient-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-novaclient() { + depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-prettytable' 'python2-keystoneauth1' + 'python2-requests' 'python2-iso8601' 'python2-oslo-utils' 'python2-oslo-i18n' + 'python2-oslo-serialization') + + cd "$srcdir"/python-novaclient-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + + mv "$pkgdir"/usr/bin/nova{,2} +} + +# vim:set ts=2 sw=2 et: