[arch-commits] Commit in python-glanceclient/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 22 14:11:00 UTC 2016
Date: Wednesday, June 22, 2016 @ 14:11:00
Author: felixonmars
Revision: 180743
archrelease: copy trunk to community-any
Added:
python-glanceclient/repos/community-any/PKGBUILD
(from rev 180742, python-glanceclient/trunk/PKGBUILD)
Deleted:
python-glanceclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-06-22 14:10:15 UTC (rev 180742)
+++ PKGBUILD 2016-06-22 14:11:00 UTC (rev 180743)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-glanceclient
-pkgname=(python-glanceclient python2-glanceclient)
-pkgver=2.0.0
-pkgrel=1
-pkgdesc="OpenStack Image API Client Library"
-arch=('any')
-url="http://docs.openstack.org/developer/python-glanceclient"
-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-warlock' 'python2-warlock' 'python-oslo-utils'
- 'python2-oslo-utils' 'python-oslo-i18n' 'python2-oslo-i18n')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock'
- 'python2-requests-mock')
-options=('!emptydirs')
-source=("git+https://git.openstack.org/openstack/python-glanceclient#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a python-glanceclient{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-glanceclient
- python setup.py build
-
- cd "$srcdir"/python-glanceclient-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/python-glanceclient
- python setup.py testr
-
- cd "$srcdir"/python-glanceclient-py2
- PYTHON=python2 python2 setup.py testr
-}
-
-package_python-glanceclient() {
- depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneclient'
- 'python-requests' 'python-warlock' 'python-oslo-utils' 'python-oslo-i18n')
-
- cd "$srcdir"/python-glanceclient
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-glanceclient() {
- depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-prettytable' 'python2-keystoneclient'
- 'python2-requests' 'python2-warlock' 'python2-oslo-utils' 'python2-oslo-i18n')
-
- cd "$srcdir"/python-glanceclient-py2
- python2 setup.py install --root="$pkgdir/" --optimize=1
-
- mv "$pkgdir"/usr/bin/glance{,2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-glanceclient/repos/community-any/PKGBUILD (from rev 180742, python-glanceclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-06-22 14:11:00 UTC (rev 180743)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-glanceclient
+pkgname=(python-glanceclient python2-glanceclient)
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="OpenStack Image API Client Library"
+arch=('any')
+url="http://docs.openstack.org/developer/python-glanceclient"
+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-warlock' 'python2-warlock' 'python-oslo-utils'
+ 'python2-oslo-utils' 'python-oslo-i18n' 'python2-oslo-i18n')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock'
+ 'python2-requests-mock')
+options=('!emptydirs')
+source=("git+https://git.openstack.org/openstack/python-glanceclient#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a python-glanceclient{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-glanceclient
+ python setup.py build
+
+ cd "$srcdir"/python-glanceclient-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-glanceclient
+ python setup.py testr
+
+ cd "$srcdir"/python-glanceclient-py2
+ PYTHON=python2 python2 setup.py testr
+}
+
+package_python-glanceclient() {
+ depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneclient'
+ 'python-requests' 'python-warlock' 'python-oslo-utils' 'python-oslo-i18n')
+
+ cd "$srcdir"/python-glanceclient
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-glanceclient() {
+ depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-prettytable' 'python2-keystoneclient'
+ 'python2-requests' 'python2-warlock' 'python2-oslo-utils' 'python2-oslo-i18n')
+
+ cd "$srcdir"/python-glanceclient-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+
+ mv "$pkgdir"/usr/bin/glance{,2}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list