[arch-commits] Commit in python-swiftclient/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jul 29 06:40:51 UTC 2018


    Date: Sunday, July 29, 2018 @ 06:40:51
  Author: felixonmars
Revision: 364259

archrelease: copy trunk to community-staging-any

Added:
  python-swiftclient/repos/community-staging-any/PKGBUILD
    (from rev 364257, python-swiftclient/trunk/PKGBUILD)
Deleted:
  python-swiftclient/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-29 06:40:50 UTC (rev 364258)
+++ PKGBUILD	2018-07-29 06:40:51 UTC (rev 364259)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-swiftclient
-pkgname=(python-swiftclient python2-swiftclient)
-pkgver=3.5.0
-pkgrel=2
-pkgdesc="An SDK for building applications to work with OpenStack"
-arch=('any')
-url="http://docs.openstack.org/python-swiftclient"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python2-futures'
-             'python-requests' 'python2-requests')
-checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock'
-              'python-keystoneauth1' 'python2-keystoneauth1')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-swiftclient/archive/$pkgver.tar.gz")
-sha512sums=('15802a452f871fb24e8c24a50e0109cd46e162cad9c92251f2fb739936ed8de9aab91f91ab1ddc6eac14b2d2b9d24742d479200be5f1a5391cff176354e5b8d1')
-
-prepare() {
-  cp -a python-swiftclient-$pkgver{,-py2}
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/python-swiftclient-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/python-swiftclient-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/python-swiftclient-$pkgver
-  python setup.py testr
-
-  cd "$srcdir"/python-swiftclient-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr
-}
-
-package_python-swiftclient() {
-  depends=('python-six' 'python-requests')
-
-  cd "$srcdir"/python-swiftclient-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-swiftclient() {
-  depends=('python2-six' 'python2-futures' 'python2-requests')
-
-  cd "$srcdir"/python-swiftclient-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/swift{,2}
-  mv "$pkgdir"/usr/share/man/man1/swift{,2}.1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-swiftclient/repos/community-staging-any/PKGBUILD (from rev 364257, python-swiftclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-29 06:40:51 UTC (rev 364259)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-swiftclient
+pkgname=(python-swiftclient python2-swiftclient)
+pkgver=3.6.0
+pkgrel=1
+pkgdesc="An SDK for building applications to work with OpenStack"
+arch=('any')
+url="http://docs.openstack.org/python-swiftclient"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python2-futures'
+             'python-requests' 'python2-requests')
+checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock'
+              'python-keystoneauth1' 'python2-keystoneauth1')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-swiftclient/archive/$pkgver.tar.gz")
+sha512sums=('f2636bc1cef40e49ebb4b393e02b2578b323a511bf810120aa4b5da41582b1a98d275782e29794d431e2bd8681a813bd7fd60d38db16935dc7ead885043b44c0')
+
+prepare() {
+  cp -a python-swiftclient-$pkgver{,-py2}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/python-swiftclient-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/python-swiftclient-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-swiftclient-$pkgver
+  python setup.py testr
+
+  cd "$srcdir"/python-swiftclient-$pkgver-py2
+  PYTHON=python2 python2 setup.py testr
+}
+
+package_python-swiftclient() {
+  depends=('python-six' 'python-requests')
+
+  cd "$srcdir"/python-swiftclient-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-swiftclient() {
+  depends=('python2-six' 'python2-futures' 'python2-requests')
+
+  cd "$srcdir"/python-swiftclient-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  mv "$pkgdir"/usr/bin/swift{,2}
+  mv "$pkgdir"/usr/share/man/man1/swift{,2}.1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list