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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 14:56:38 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:56:38
  Author: foutrelis
Revision: 1059571

archrelease: copy trunk to community-staging-any

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

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

Copied: python-swiftclient/repos/community-staging-any/PKGBUILD (from rev 1059569, python-swiftclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:56:38 UTC (rev 1059571)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-swiftclient
+pkgver=3.12.0
+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=('2832c77ebb71f7200f6165557961dc750f70988afa59d2c18b5dc1ba42f305ded35177cc94fd8f47286dd5f84b88f0613233c27172c08251ccf2cf7e2ed6a8aa')
+
+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