[arch-commits] Commit in python-novaclient/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 22:32:15 UTC 2021
Date: Tuesday, November 30, 2021 @ 22:32:15
Author: felixonmars
Revision: 1059049
archrelease: copy trunk to community-staging-any
Added:
python-novaclient/repos/community-staging-any/
python-novaclient/repos/community-staging-any/PKGBUILD
(from rev 1059047, python-novaclient/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-novaclient/repos/community-staging-any/PKGBUILD (from rev 1059047, python-novaclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 22:32:15 UTC (rev 1059049)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-novaclient
+pkgver=17.6.0
+pkgrel=2
+pkgdesc="Client library for OpenStack Compute API"
+arch=('any')
+url="https://docs.openstack.org/python-novaclient/latest/"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-babel' 'python-prettytable' 'python-keystoneauth1'
+ 'python-requests' 'python-iso8601' 'python-oslo-utils' 'python-oslo-i18n'
+ 'python-oslo-serialization')
+makedepends=('python-setuptools')
+checkdepends=('python-oslotest' 'python-osprofiler' 'python-requests-mock' 'python-ddt')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/python-novaclient/archive/$pkgver.tar.gz")
+sha512sums=('a23a62cef8bd21d7c701b3865c4c493741cd492791609d0454f1a602123d8dabcc682f4ed54e72a94e8735308b7c49bdef23eab11a983f71521684f5d19ef170')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+ sed -i '/simplejson/d' python-novaclient-$pkgver/requirements.txt
+}
+
+build() {
+ cd python-novaclient-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd python-novaclient-$pkgver
+ stestr run
+}
+
+package() {
+ cd "$srcdir"/python-novaclient-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list