blob: 7c3d04f92d080105815e5b49a11fe3a684ac5c03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Elmer Skjødt Henriksen <esh@fjerhammer.dk>
pkgname=python-zunclient
pkgver=4.6.0
_commit=e5864224476639ac2bc1fcf2e548b1bd0d10e07f
pkgrel=1
pkgdesc="Python bindings to the OpenStack Container API"
arch=('any')
url="https://docs.openstack.org/${pkgname}/latest/"
license=('Apache')
depends=('python-six' 'python-pbr' 'python-prettytable' 'python-openstackclient'
'python-keystoneclient' 'python-keystoneauth1' 'python-osc-lib' 'python-oslo-i18n'
'python-oslo-log' 'python-oslo-utils' 'python-websocket-client' 'python-docker'
'python-yaml')
makedepends=('git')
checkdepends=('bandit' 'python-coverage' 'python-ddt' 'python-hacking' 'python-oslotest'
'python-osprofiler' 'python-stestr' 'python-subunit' 'python-testresources'
'python-testscenarios' 'python-testtools')
source=("git+https://opendev.org/openstack/${pkgname}.git#commit=${_commit}")
sha512sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
}
check() {
cd "${srcdir}/${pkgname}"
stestr run
}
package() {
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1
}
|