Date: Sunday, April 9, 2023 @ 18:04:11
Author: felixonmars
Revision: 1443362
archrelease: copy trunk to community-staging-any
Added:
python-novaclient/repos/community-staging-any/
python-novaclient/repos/community-staging-any/PKGBUILD
(from rev 1443361, python-novaclient/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-novaclient/repos/community-staging-any/PKGBUILD (from rev
1443361, python-novaclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-09 18:04:11 UTC (rev 1443362)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-novaclient
+pkgver=18.3.0
+_commit=85e4f08309490fa2ab6f0b581b3d645d2dbb5c4b
+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=('git' 'python-setuptools')
+checkdepends=('python-oslotest' 'python-osprofiler' 'python-requests-mock'
'python-ddt')
+source=("git+https://github.com/openstack/python-novaclient.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd python-novaclient
+ python setup.py build
+}
+
+check() {
+ cd python-novaclient
+ stestr run
+}
+
+package() {
+ cd python-novaclient
+ python setup.py install --root="$pkgdir" --optimize=1
+}