[arch-commits] Commit in python-cinderclient/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Sep 1 05:23:27 UTC 2017
Date: Friday, September 1, 2017 @ 05:23:26
Author: felixonmars
Revision: 255220
archrelease: copy trunk to community-any
Added:
python-cinderclient/repos/community-any/PKGBUILD
(from rev 255219, python-cinderclient/trunk/PKGBUILD)
Deleted:
python-cinderclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-01 05:22:55 UTC (rev 255219)
+++ PKGBUILD 2017-09-01 05:23:26 UTC (rev 255220)
@@ -1,63 +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=3.1.0
-pkgrel=1
-pkgdesc="OpenStack Block Storage API Client Library"
-arch=('any')
-url="http://docs.openstack.org/developer/python-cinderclient"
-license=('Apache')
-makedepends=('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=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-cinderclient/archive/$pkgver.tar.gz")
-sha512sums=('8c2e50da2ca618853a2863f33891e55bbf1b3931d1d1fb9a93a09edef3457d46a33e44f14fe8c839210b20a67fceb180723152aec36934a8cc353952edf08876')
-
-prepare() {
- sed -i '/simplejson/d' python-cinderclient-$pkgver/requirements.txt
- cp -a python-cinderclient-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/python-cinderclient-$pkgver
- python setup.py build
-
- cd "$srcdir"/python-cinderclient-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/python-cinderclient-$pkgver
- python setup.py testr
-
- cd "$srcdir"/python-cinderclient-$pkgver-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-$pkgver
- 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-$pkgver-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 255219, python-cinderclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-09-01 05:23:26 UTC (rev 255220)
@@ -0,0 +1,63 @@
+# $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=3.2.0
+pkgrel=1
+pkgdesc="OpenStack Block Storage API Client Library"
+arch=('any')
+url="http://docs.openstack.org/developer/python-cinderclient"
+license=('Apache')
+makedepends=('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=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-cinderclient/archive/$pkgver.tar.gz")
+sha512sums=('ca8d6c0626c363a730234862a1fd9ed79dbe610c6450ae987e44c81c97d14720a31a29383aee6c116e2f6f55570a55a1e00d6f0bc0198ad50c8c9572e77670ef')
+
+prepare() {
+ sed -i '/simplejson/d' python-cinderclient-$pkgver/requirements.txt
+ cp -a python-cinderclient-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/python-cinderclient-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/python-cinderclient-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-cinderclient-$pkgver
+ python setup.py testr
+
+ cd "$srcdir"/python-cinderclient-$pkgver-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-$pkgver
+ 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-$pkgver-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