[arch-commits] Commit in python-novaclient/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jul 28 07:21:09 UTC 2017
Date: Friday, July 28, 2017 @ 07:21:08
Author: felixonmars
Revision: 246660
archrelease: copy trunk to community-any
Added:
python-novaclient/repos/community-any/PKGBUILD
(from rev 246659, python-novaclient/trunk/PKGBUILD)
Deleted:
python-novaclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-28 07:20:49 UTC (rev 246659)
+++ PKGBUILD 2017-07-28 07:21:08 UTC (rev 246660)
@@ -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=9.0.1
-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=('9112997b1a18ed2c137a1d535c673fc50de93a3a34f78cd1c38206347fe6898ca36664989223914b0ba7a788d355d06d8286bbcb2e101876cbecaa045db32d16')
-
-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 246659, python-novaclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-07-28 07:21:08 UTC (rev 246660)
@@ -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.1.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=('b93b2d869699cd9e11631a6583f5b8d2d71172abf6da44ee126084a7549ee1e0dddf309bc542d7ef7fa01371f2cc061b486e06284443dc4595979a7dced94ca3')
+
+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