[arch-commits] Commit in python-osc-lib/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 27 05:21:11 UTC 2017
Date: Thursday, April 27, 2017 @ 05:21:10
Author: felixonmars
Revision: 225899
archrelease: copy trunk to community-any
Added:
python-osc-lib/repos/community-any/PKGBUILD
(from rev 225898, python-osc-lib/trunk/PKGBUILD)
Deleted:
python-osc-lib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-27 05:20:38 UTC (rev 225898)
+++ PKGBUILD 2017-04-27 05:21:10 UTC (rev 225899)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-osc-lib
-pkgname=(python-osc-lib python2-osc-lib)
-pkgver=1.5.0
-pkgrel=1
-pkgdesc="OpenStackClient Library"
-arch=('any')
-url="http://docs.openstack.org/developer/osc-lib"
-license=('Apache')
-makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
- 'python-babel' 'python2-babel' 'python-cliff' 'python2-cliff'
- 'python-keystoneauth1' 'python2-keystoneauth1' 'python-os-client-config'
- 'python2-os-client-config' 'python-oslo-i18n' 'python2-oslo-i18n' 'python-oslo-utils'
- 'python2-oslo-utils' 'python-simplejson' 'python2-simplejson' 'python-stevedore'
- 'python2-stevedore')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock'
- 'python2-requests-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/osc-lib/archive/$pkgver.tar.gz")
-sha512sums=('290dc70d06c889af0321cdf01255647d573d83537da098df20843a9bd23a482ca60bb96eb95337ec2471507c22cbef19d61c9f3ad7e51d30267a8d4d5b953bb7')
-
-prepare() {
- cp -a osc-lib-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/osc-lib-$pkgver
- python setup.py build
-
- cd "$srcdir"/osc-lib-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/osc-lib-$pkgver
- python setup.py testr || warning "Tests failed"
-
- cd "$srcdir"/osc-lib-$pkgver-py2
- PYTHON=python2 python2 setup.py testr || warning "Tests failed"
-}
-
-package_python-osc-lib() {
- depends=('python-six' 'python-pbr' 'python-babel' 'python-cliff' 'python-keystoneauth1'
- 'python-os-client-config' 'python-oslo-i18n' 'python-oslo-utils' 'python-stevedore'
- 'python-simplejson')
-
- cd osc-lib-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-osc-lib() {
- depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-cliff' 'python2-keystoneauth1'
- 'python2-os-client-config' 'python2-oslo-i18n' 'python2-oslo-utils' 'python2-stevedore'
- 'python2-simplejson')
-
- cd osc-lib-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-osc-lib/repos/community-any/PKGBUILD (from rev 225898, python-osc-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-04-27 05:21:10 UTC (rev 225899)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-osc-lib
+pkgname=(python-osc-lib python2-osc-lib)
+pkgver=1.5.1
+pkgrel=1
+pkgdesc="OpenStackClient Library"
+arch=('any')
+url="http://docs.openstack.org/developer/osc-lib"
+license=('Apache')
+makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
+ 'python-babel' 'python2-babel' 'python-cliff' 'python2-cliff'
+ 'python-keystoneauth1' 'python2-keystoneauth1' 'python-os-client-config'
+ 'python2-os-client-config' 'python-oslo-i18n' 'python2-oslo-i18n' 'python-oslo-utils'
+ 'python2-oslo-utils' 'python-simplejson' 'python2-simplejson' 'python-stevedore'
+ 'python2-stevedore')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock'
+ 'python2-requests-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/osc-lib/archive/$pkgver.tar.gz")
+sha512sums=('411f3acb3c7173cf95fa57dff8ae74b0cf50383e058dcea14f3f129f84d7cc897f11d31b43bdef3477d307ebe3faf21e8ebe3d3f66272b54ec1c0f8515aa0394')
+
+prepare() {
+ cp -a osc-lib-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/osc-lib-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/osc-lib-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/osc-lib-$pkgver
+ python setup.py testr || warning "Tests failed"
+
+ cd "$srcdir"/osc-lib-$pkgver-py2
+ PYTHON=python2 python2 setup.py testr || warning "Tests failed"
+}
+
+package_python-osc-lib() {
+ depends=('python-six' 'python-pbr' 'python-babel' 'python-cliff' 'python-keystoneauth1'
+ 'python-os-client-config' 'python-oslo-i18n' 'python-oslo-utils' 'python-stevedore'
+ 'python-simplejson')
+
+ cd osc-lib-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-osc-lib() {
+ depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-cliff' 'python2-keystoneauth1'
+ 'python2-os-client-config' 'python2-oslo-i18n' 'python2-oslo-utils' 'python2-stevedore'
+ 'python2-simplejson')
+
+ cd osc-lib-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list