[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Mon Jun 29 09:08:12 UTC 2020


    Date: Monday, June 29, 2020 @ 09:08:11
  Author: felixonmars
Revision: 656016

addpkg: python-magnumclient 3.1.0-1

Added:
  python-magnumclient/
  python-magnumclient/repos/
  python-magnumclient/trunk/
  python-magnumclient/trunk/PKGBUILD

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

Added: python-magnumclient/trunk/PKGBUILD
===================================================================
--- python-magnumclient/trunk/PKGBUILD	                        (rev 0)
+++ python-magnumclient/trunk/PKGBUILD	2020-06-29 09:08:11 UTC (rev 656016)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-magnumclient
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="Client library for Magnum API"
+arch=('any')
+url="https://docs.openstack.org/python-magnumclient/latest/"
+license=('Apache')
+depends=('python-pbr' 'python-babel' 'python-keystoneauth1' 'python-stevedore' 'python-requests'
+         'python-oslo-i18n' 'python-oslo-log' 'python-oslo-serialization' 'python-oslo-utils'
+         'python-os-client-config' 'python-osc-lib' 'python-prettytable' 'python-cryptography'
+         'python-debtcollector')
+checkdepends=('python-openstackclient' 'python-oslotest' 'python-osprofiler')
+source=("https://github.com/openstack/python-magnumclient/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('64ef0d2676155eea2940f8c2917b7b5f99698b8b82f472eb0e9737688ac97432ddd30e70c01eb3e10687ba62bdaf3e2422033029872de9525a9023befd4f49b2')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd python-magnumclient-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-magnumclient-$pkgver
+  stestr run
+}
+
+package() {
+  cd python-magnumclient-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list