[arch-commits] Commit in python-novaclient/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 7 16:15:55 UTC 2017
Date: Wednesday, June 7, 2017 @ 16:15:50
Author: felixonmars
Revision: 235364
archrelease: copy trunk to community-any
Added:
python-novaclient/repos/community-any/PKGBUILD
(from rev 235363, python-novaclient/trunk/PKGBUILD)
Deleted:
python-novaclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-07 16:15:14 UTC (rev 235363)
+++ PKGBUILD 2017-06-07 16:15:50 UTC (rev 235364)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-novaclient
-pkgname=(python-novaclient python2-novaclient)
-pkgver=8.0.0
-pkgrel=1
-pkgdesc="Client library for OpenStack Compute API"
-arch=('any')
-url="http://docs.openstack.org/developer/python-novaclient"
-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')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-novaclient/archive/$pkgver.tar.gz")
-sha512sums=('11d9e479dd752e4cd38913c90731fb0b993eb1dca86f4c6bdcb2df7fbf242859c0c9355170f57e2183a24ab007a6eb6ebe6dc57550bfbfc3dcfc070a9adbad3a')
-
-prepare() {
- sed -i '/simplejson/d' python-novaclient-$pkgver/requirements.txt
- cp -a python-novaclient-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
-}
-
-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-any/PKGBUILD (from rev 235363, python-novaclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-06-07 16:15:50 UTC (rev 235364)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-novaclient
+pkgname=(python-novaclient python2-novaclient)
+pkgver=9.0.0
+pkgrel=1
+pkgdesc="Client library for OpenStack Compute API"
+arch=('any')
+url="http://docs.openstack.org/developer/python-novaclient"
+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')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-novaclient/archive/$pkgver.tar.gz")
+sha512sums=('b850c50a553ea70a5345ab252bb01264ed7830a22d2dfb78ff1eea192f64058c97b3bd6c8192ea563bffc0a616d02ca81b8fc2006d66c5f91bd95d1137b1d67c')
+
+prepare() {
+ sed -i '/simplejson/d' python-novaclient-$pkgver/requirements.txt
+ cp -a python-novaclient-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+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:
More information about the arch-commits
mailing list