[arch-commits] Commit in python-glanceclient/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Mar 4 03:35:05 UTC 2016
Date: Friday, March 4, 2016 @ 04:35:04
Author: fyan
Revision: 164569
archrelease: copy trunk to community-any
Added:
python-glanceclient/repos/community-any/PKGBUILD
(from rev 164568, python-glanceclient/trunk/PKGBUILD)
Deleted:
python-glanceclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-04 03:34:48 UTC (rev 164568)
+++ PKGBUILD 2016-03-04 03:35:04 UTC (rev 164569)
@@ -1,64 +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=1.2.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
- # One random test failure in glanceclient.tests.unit.test_shell.ShellCacheSchemaTest
- python setup.py testr || warning "Tests failed"
-
- cd "$srcdir"/python-glanceclient-py2
- # Three test failures in glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert
- PYTHON=python2 python2 setup.py testr || warning "Tests failed"
-}
-
-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 164568, python-glanceclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-03-04 03:35:04 UTC (rev 164569)
@@ -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.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:
More information about the arch-commits
mailing list