diff options
author | aurelien <aurelien@xload.io> | 2014-06-01 00:11:24 +0200 |
---|---|---|
committer | aurelien <aurelien@xload.io> | 2014-06-01 00:11:24 +0200 |
commit | a06c1140a9cf8c521ac6d980e8b495a27d51c927 (patch) | |
tree | 4ff55af98bf896bb48d869542fb42835342b30e4 | |
parent | 73869cdcec4bc2e8ca910775b31900bbb345a9e7 (diff) |
python2-keystoneclient
-rw-r--r-- | pcr/python2-keystoneclient/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pcr/python2-keystoneclient/PKGBUILD b/pcr/python2-keystoneclient/PKGBUILD new file mode 100644 index 000000000..66f255776 --- /dev/null +++ b/pcr/python2-keystoneclient/PKGBUILD @@ -0,0 +1,42 @@ +# Contributor: Limao Luo <luolimao+AUR@gmail.com> +# Contributor: James Bulmer <nekinie@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp> + +pkgname="python2-keystoneclient" +pkgver=0.8.0 +pkgrel=2 +pkgdesc="Client library for Openstack identity" +arch=("any") +url="https://pypi.python.org/pypi/python-keystoneclient/" +license=("Apache") + +depends=( + "python2" + "python2-pbr" + "python2-netaddr" + "python2-six" + "python2-iso8601" + "python2-oslo-config" + "python2-babel" + "python2-prettytable" + "python2-requests" + "python2-pip" +) + +makedepends=("python2-setuptools") + +conflicts=( + "python2-keystoneclient-git" +) + +source=("https://pypi.python.org/packages/source/p/python-keystoneclient/python-keystoneclient-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/python-keystoneclient-${pkgver}/" + python2 setup.py build +} + +package() { + cd "${srcdir}/python-keystoneclient-${pkgver}/" + python2 setup.py install --root="${pkgdir}/" --optimize=1 +} |