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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:57:14 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:57:14
  Author: foutrelis
Revision: 749193

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: python-swiftclient/repos/community-staging-any/PKGBUILD (from rev 749192, python-swiftclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:57:14 UTC (rev 749193)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-swiftclient
+pkgver=3.10.1
+pkgrel=2
+pkgdesc="An SDK for building applications to work with OpenStack"
+arch=('any')
+url="https://docs.openstack.org/python-swiftclient"
+license=('Apache')
+depends=('python-six' 'python-requests')
+optdepends=('python-keystoneclient: for Auth versions 2.0 and 3 support')
+makedepends=('python-setuptools' 'python-pbr')
+checkdepends=('python-stestr' 'python-mock' 'python-keystoneauth1' 'python-keystoneclient')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/python-swiftclient/archive/$pkgver.tar.gz")
+sha512sums=('d6534886fd5adfc91853fb64c530970683637041ae3978c13d7bb834ee8c945d43019fd403c40384be0fc0adf355b9921597eb37a2574eed0fb22859577e10eb')
+
+prepare() {
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/python-swiftclient-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-swiftclient-$pkgver
+  stestr run
+}
+
+package() {
+  cd "$srcdir"/python-swiftclient-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list