[arch-commits] Commit in python-novaclient/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 19:24:37 UTC 2020
Date: Monday, November 9, 2020 @ 19:24:37
Author: foutrelis
Revision: 748069
archrelease: copy trunk to community-staging-any
Added:
python-novaclient/repos/community-staging-any/
python-novaclient/repos/community-staging-any/PKGBUILD
(from rev 748068, python-novaclient/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-novaclient/repos/community-staging-any/PKGBUILD (from rev 748068, python-novaclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 19:24:37 UTC (rev 748069)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-novaclient
+pkgver=17.2.1
+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=('b878607ed1cc137a354313cc1622fca8d95407ecb00971e57e8519667115c11de1e306ab24ee0f97f1106dc794a88d0c4000ac78cfbd6db6a4a1053e70dd0269')
+
+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