diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-05 19:21:57 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-05 19:21:57 +0200 |
commit | 234585f496f930bc367ef5500f1db7d6b4f891ac (patch) | |
tree | e0901be870c85e7b14b94a66c89e9317dc6b523a | |
parent | e30f5c16c41297a63d4d44fc76f16474d17569aa (diff) | |
download | abslibre-234585f496f930bc367ef5500f1db7d6b4f891ac.tar.gz abslibre-234585f496f930bc367ef5500f1db7d6b4f891ac.tar.bz2 abslibre-234585f496f930bc367ef5500f1db7d6b4f891ac.zip |
python2-novaclient
-rw-r--r-- | pcr/python2-novaclient/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/python2-novaclient/PKGBUILD b/pcr/python2-novaclient/PKGBUILD new file mode 100644 index 000000000..e6e09952c --- /dev/null +++ b/pcr/python2-novaclient/PKGBUILD @@ -0,0 +1,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} +} |