blob: e6e09952c86c19b9dfa5504bd9c966d2e3ba075a (
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
|
# Contributor (Arch) : Troy C < rstrox -ta yahoo -tod com >
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=python2-novaclient
pkgver=2.17.0
pkgrel=3
pkgdesc="Client library for OpenStack Nova API."
arch=('any')
url="https://github.com/openstack/python-novaclient"
license=('GPL')
depends=('python2' 'python2-pip' 'python2-babel' 'python2-setuptools' 'python2-iso8601' 'python2-prettytable' 'python2-simplejson'
'python2-requests' 'python2-pbr>=0.6' 'python2-six')
optdepends=('bash-completion: for command line completion')
makedepends=('python2-setuptools')
provides=("$pkgname=$pkgver")
source=("http://pypi.python.org/packages/source/p/python-novaclient/python-novaclient-$pkgver.tar.gz")
build() {
cd "$srcdir/python-novaclient-$pkgver"
python2 setup.py build
echo ${pkgver} > versioninfo
}
package() {
cd "$srcdir/python-novaclient-$pkgver"
install -D -m644 versioninfo ${pkgdir}/usr/lib/python2.7/site-packages/novaclient/versioninfo
install -D -m644 tools/nova.bash_completion ${pkgdir}/etc/bash_completion.d/novaclient
python2 setup.py install --root=${pkgdir}
}
|