[arch-commits] Commit in python-cinderclient/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Mar 14 03:41:43 UTC 2017
Date: Tuesday, March 14, 2017 @ 03:41:42
Author: felixonmars
Revision: 216153
archrelease: copy trunk to community-any
Added:
python-cinderclient/repos/community-any/PKGBUILD
(from rev 216152, python-cinderclient/trunk/PKGBUILD)
Deleted:
python-cinderclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-14 03:41:24 UTC (rev 216152)
+++ PKGBUILD 2017-03-14 03:41:42 UTC (rev 216153)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-cinderclient
-pkgname=(python-cinderclient python2-cinderclient)
-pkgver=1.11.0
-pkgrel=1
-pkgdesc="OpenStack Block Storage API Client Library"
-arch=('any')
-url="http://docs.openstack.org/developer/python-cinderclient"
-license=('Apache')
-makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
- 'python-babel' 'python2-babel' 'python-prettytable' 'python2-prettytable'
- 'python-keystoneclient' 'python2-keystoneclient' 'python-requests'
- 'python2-requests' 'python-oslo-utils' 'python2-oslo-utils')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock'
- 'python2-requests-mock' 'python-ddt' 'python2-ddt')
-source=("git+https://git.openstack.org/openstack/python-cinderclient#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- sed -i '/simplejson/d' python-cinderclient/requirements.txt
- cp -a python-cinderclient{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-cinderclient
- python setup.py build
-
- cd "$srcdir"/python-cinderclient-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/python-cinderclient
- python setup.py testr
-
- cd "$srcdir"/python-cinderclient-py2
- PYTHON=python2 python2 setup.py testr
-}
-
-package_python-cinderclient() {
- depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneclient'
- 'python-requests' 'python-oslo-utils')
-
- cd "$srcdir"/python-cinderclient
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-cinderclient() {
- depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-prettytable' 'python2-keystoneclient'
- 'python2-requests' 'python2-oslo-utils')
-
- cd "$srcdir"/python-cinderclient-py2
- python2 setup.py install --root="$pkgdir/" --optimize=1
-
- mv "$pkgdir"/usr/bin/cinder{,2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-cinderclient/repos/community-any/PKGBUILD (from rev 216152, python-cinderclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-03-14 03:41:42 UTC (rev 216153)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-cinderclient
+pkgname=(python-cinderclient python2-cinderclient)
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="OpenStack Block Storage API Client Library"
+arch=('any')
+url="http://docs.openstack.org/developer/python-cinderclient"
+license=('Apache')
+makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
+ 'python-babel' 'python2-babel' 'python-prettytable' 'python2-prettytable'
+ 'python-keystoneclient' 'python2-keystoneclient' 'python-requests'
+ 'python2-requests' 'python-oslo-utils' 'python2-oslo-utils')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock'
+ 'python2-requests-mock' 'python-ddt' 'python2-ddt')
+source=("git+https://git.openstack.org/openstack/python-cinderclient#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ sed -i '/simplejson/d' python-cinderclient/requirements.txt
+ cp -a python-cinderclient{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-cinderclient
+ python setup.py build
+
+ cd "$srcdir"/python-cinderclient-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-cinderclient
+ python setup.py testr
+
+ cd "$srcdir"/python-cinderclient-py2
+ PYTHON=python2 python2 setup.py testr
+}
+
+package_python-cinderclient() {
+ depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneclient'
+ 'python-requests' 'python-oslo-utils')
+
+ cd "$srcdir"/python-cinderclient
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-cinderclient() {
+ depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-prettytable' 'python2-keystoneclient'
+ 'python2-requests' 'python2-oslo-utils')
+
+ cd "$srcdir"/python-cinderclient-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+
+ mv "$pkgdir"/usr/bin/cinder{,2}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list