[arch-commits] Commit in python-magnumclient/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 8 04:00:48 UTC 2021
Date: Wednesday, December 8, 2021 @ 04:00:47
Author: foutrelis
Revision: 1065602
archrelease: copy trunk to community-staging-any
Added:
python-magnumclient/repos/community-staging-any/
python-magnumclient/repos/community-staging-any/PKGBUILD
(from rev 1065601, python-magnumclient/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-magnumclient/repos/community-staging-any/PKGBUILD (from rev 1065601, python-magnumclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-08 04:00:47 UTC (rev 1065602)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-magnumclient
+pkgver=3.5.0
+pkgrel=2
+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=('8d99e539b1393826ecf66dd36ff292cbb994f70f41c8caa546074384f223902a70ce7ec6855b3211728d99fa0c4333e9ba4fd625aac3e6ef4b4540fad86137d5')
+
+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