[arch-commits] Commit in python-novaclient/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Apr 8 06:48:56 UTC 2016
Date: Friday, April 8, 2016 @ 08:48:56
Author: fyan
Revision: 169675
archrelease: copy trunk to community-any
Added:
python-novaclient/repos/community-any/PKGBUILD
(from rev 169674, python-novaclient/trunk/PKGBUILD)
Deleted:
python-novaclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-08 06:48:41 UTC (rev 169674)
+++ PKGBUILD 2016-04-08 06:48:56 UTC (rev 169675)
@@ -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=3.3.1
-pkgrel=1
-pkgdesc="Client library for OpenStack Compute API"
-arch=('any')
-url="http://docs.openstack.org/developer/python-novaclient"
-license=('Apache')
-makedepends=('git' '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=("git+https://git.openstack.org/openstack/python-novaclient#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- sed -i '/simplejson/d' python-novaclient/requirements.txt
- cp -a python-novaclient{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-novaclient
- python setup.py build
-
- cd "$srcdir"/python-novaclient-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/python-novaclient
- python setup.py testr
-
- cd "$srcdir"/python-novaclient-py2
- PYTHON=python2 python2 setup.py testr
-}
-
-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
- 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-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 169674, python-novaclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-08 06:48:56 UTC (rev 169675)
@@ -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=3.4.0
+pkgrel=1
+pkgdesc="Client library for OpenStack Compute API"
+arch=('any')
+url="http://docs.openstack.org/developer/python-novaclient"
+license=('Apache')
+makedepends=('git' '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=("git+https://git.openstack.org/openstack/python-novaclient#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ sed -i '/simplejson/d' python-novaclient/requirements.txt
+ cp -a python-novaclient{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-novaclient
+ python setup.py build
+
+ cd "$srcdir"/python-novaclient-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-novaclient
+ python setup.py testr
+
+ cd "$srcdir"/python-novaclient-py2
+ PYTHON=python2 python2 setup.py testr
+}
+
+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
+ 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-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