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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 01:58:46 UTC 2019


    Date: Monday, November 4, 2019 @ 01:58:46
  Author: felixonmars
Revision: 522947

archrelease: copy trunk to community-staging-any

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

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

Copied: python-swiftclient/repos/community-staging-any/PKGBUILD (from rev 522946, python-swiftclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 01:58:46 UTC (rev 522947)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-swiftclient
+pkgver=3.8.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')
+makedepends=('python-setuptools' 'python-pbr' 'python-requests' )
+checkdepends=('python-stestr' 'python-mock' 'python-keystoneauth1')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/python-swiftclient/archive/$pkgver.tar.gz")
+sha512sums=('066e5b7bc04d19701faa06bb48b77ae0d4e1cefcb475b65a5bc85122aaff5ff4aa0a5e11bbf9fd81ffd006409792acbc804a9a659ae7e7f8a0ee15e5e52188f6')
+
+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