[arch-commits] Commit in python-osc-lib/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 16 12:46:49 UTC 2018


    Date: Thursday, August 16, 2018 @ 12:46:49
  Author: felixonmars
Revision: 371954

archrelease: copy trunk to community-any

Added:
  python-osc-lib/repos/community-any/PKGBUILD
    (from rev 371953, python-osc-lib/trunk/PKGBUILD)
Deleted:
  python-osc-lib/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-16 12:46:24 UTC (rev 371953)
+++ PKGBUILD	2018-08-16 12:46:49 UTC (rev 371954)
@@ -1,66 +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.11.0
-pkgrel=2
-pkgdesc="OpenStackClient Library"
-arch=('any')
-url="https://docs.openstack.org/osc-lib/latest/"
-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' 'python-openstacksdk' 'python2-openstacksdk')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock'
-              'python2-requests-mock' 'python-testrepository' 'python2-testrepository')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/osc-lib/archive/$pkgver.tar.gz")
-sha512sums=('6b837b99b6fb59e2db3964d0c0ac14f0f457c80bcffe958f8e1b258ada82d93e1738a2763805f0af99ed0951136f687c85907179cab813c0a75e2694476dbaea')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
-  # https://storyboard.openstack.org/#!/story/2003142
-  sed -i 's/issubclass/isinstance/' osc-lib-$pkgver/osc_lib/utils/__init__.py
-  cp -a osc-lib-$pkgver{,-py2}
-}
-
-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
-  stestr run || warning "Tests failed"
-
-  cd "$srcdir"/osc-lib-$pkgver-py2
-  PYTHON=python2 stestr2 run || 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' 'python-openstacksdk')
-
-  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' 'python2-openstacksdk')
-
-  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 371953, python-osc-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-16 12:46:49 UTC (rev 371954)
@@ -0,0 +1,66 @@
+# $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.11.1
+pkgrel=1
+pkgdesc="OpenStackClient Library"
+arch=('any')
+url="https://docs.openstack.org/osc-lib/latest/"
+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' 'python-openstacksdk' 'python2-openstacksdk')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock'
+              'python2-requests-mock' 'python-testrepository' 'python2-testrepository')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/osc-lib/archive/$pkgver.tar.gz")
+sha512sums=('2cf88f0ed2e8a98659408a5140ebdca4e454d8cc7f736778b84bfd80646cb400ed5ca043ec1fd75c16f198622a36b5706d4462ecb0bf184b538194f945928c16')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  # https://storyboard.openstack.org/#!/story/2003142
+  sed -i 's/issubclass/isinstance/' osc-lib-$pkgver/osc_lib/utils/__init__.py
+  cp -a osc-lib-$pkgver{,-py2}
+}
+
+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
+  stestr run || warning "Tests failed"
+
+  cd "$srcdir"/osc-lib-$pkgver-py2
+  PYTHON=python2 stestr2 run || 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' 'python-openstacksdk')
+
+  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' 'python2-openstacksdk')
+
+  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