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

Felix Yan felixonmars at archlinux.org
Tue Oct 4 08:21:10 UTC 2016


    Date: Tuesday, October 4, 2016 @ 08:21:10
  Author: felixonmars
Revision: 191289

archrelease: copy trunk to community-any

Added:
  python-openstacksdk/repos/community-any/PKGBUILD
    (from rev 191288, python-openstacksdk/trunk/PKGBUILD)
Deleted:
  python-openstacksdk/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-04 08:20:51 UTC (rev 191288)
+++ PKGBUILD	2016-10-04 08:21:10 UTC (rev 191289)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-openstacksdk
-pkgname=(python-openstacksdk python2-openstacksdk)
-pkgver=0.9.7
-pkgrel=1
-pkgdesc="An SDK for building applications to work with OpenStack"
-arch=('any')
-url="http://developer.openstack.org/sdks/python/openstacksdk"
-license=('Apache')
-makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
-             'python-iso8601' 'python2-iso8601' 'python-stevedore' 'python2-stevedore'
-             'python-keystoneauth1' 'python2-keystoneauth1' 'python-os-client-config'
-             'python2-os-client-config' 'python-oslo-utils' 'python2-oslo-utils')
-checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock')
-source=("git+https://git.openstack.org/openstack/python-openstacksdk#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a python-openstacksdk{,-py2}
-}
-
-build() {
-  cd "$srcdir"/python-openstacksdk
-  python setup.py build
-
-  cd "$srcdir"/python-openstacksdk-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/python-openstacksdk
-  python setup.py testr || warning "Tests failed"
-
-  cd "$srcdir"/python-openstacksdk-py2
-  PYTHON=python2 python2 setup.py testr
-}
-
-package_python-openstacksdk() {
-  depends=('python-six' 'python-pbr' 'python-iso8601' 'python-stevedore' 'python-keystoneauth1'
-           'python-os-client-config' 'python-oslo-utils')
-
-  cd "$srcdir"/python-openstacksdk
-  python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-openstacksdk() {
-  depends=('python2-six' 'python2-pbr' 'python2-iso8601' 'python2-stevedore' 'python2-keystoneauth1'
-           'python2-os-client-config' 'python2-oslo-utils')
-
-  cd "$srcdir"/python-openstacksdk-py2
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-openstacksdk/repos/community-any/PKGBUILD (from rev 191288, python-openstacksdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-04 08:21:10 UTC (rev 191289)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-openstacksdk
+pkgname=(python-openstacksdk python2-openstacksdk)
+pkgver=0.9.8
+pkgrel=1
+pkgdesc="An SDK for building applications to work with OpenStack"
+arch=('any')
+url="http://developer.openstack.org/sdks/python/openstacksdk"
+license=('Apache')
+makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
+             'python-iso8601' 'python2-iso8601' 'python-stevedore' 'python2-stevedore'
+             'python-keystoneauth1' 'python2-keystoneauth1' 'python-os-client-config'
+             'python2-os-client-config' 'python-oslo-utils' 'python2-oslo-utils')
+checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock')
+source=("git+https://git.openstack.org/openstack/python-openstacksdk#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a python-openstacksdk{,-py2}
+}
+
+build() {
+  cd "$srcdir"/python-openstacksdk
+  python setup.py build
+
+  cd "$srcdir"/python-openstacksdk-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-openstacksdk
+  python setup.py testr || warning "Tests failed"
+
+  cd "$srcdir"/python-openstacksdk-py2
+  PYTHON=python2 python2 setup.py testr
+}
+
+package_python-openstacksdk() {
+  depends=('python-six' 'python-pbr' 'python-iso8601' 'python-stevedore' 'python-keystoneauth1'
+           'python-os-client-config' 'python-oslo-utils')
+
+  cd "$srcdir"/python-openstacksdk
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-openstacksdk() {
+  depends=('python2-six' 'python2-pbr' 'python2-iso8601' 'python2-stevedore' 'python2-keystoneauth1'
+           'python2-os-client-config' 'python2-oslo-utils')
+
+  cd "$srcdir"/python-openstacksdk-py2
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list