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

Felix Yan felixonmars at archlinux.org
Wed Oct 12 04:33:59 UTC 2016


    Date: Wednesday, October 12, 2016 @ 04:33:58
  Author: felixonmars
Revision: 191981

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  124 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-12 04:33:30 UTC (rev 191980)
+++ PKGBUILD	2016-10-12 04:33:58 UTC (rev 191981)
@@ -1,62 +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.1.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=("git+https://git.openstack.org/openstack/osc-lib#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a osc-lib{,-py2}
-}
-
-build() {
-  cd "$srcdir"/osc-lib
-  python setup.py build
-
-  cd "$srcdir"/osc-lib-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/osc-lib
-  python setup.py testr || warning "Tests failed"
-
-  cd "$srcdir"/osc-lib-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 "$srcdir"/osc-lib
-  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 "$srcdir"/osc-lib-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 191980, python-osc-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-12 04:33:58 UTC (rev 191981)
@@ -0,0 +1,62 @@
+# $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.2.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=("git+https://git.openstack.org/openstack/osc-lib#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a osc-lib{,-py2}
+}
+
+build() {
+  cd "$srcdir"/osc-lib
+  python setup.py build
+
+  cd "$srcdir"/osc-lib-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/osc-lib
+  python setup.py testr || warning "Tests failed"
+
+  cd "$srcdir"/osc-lib-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 "$srcdir"/osc-lib
+  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 "$srcdir"/osc-lib-py2
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list