diff options
Diffstat (limited to 'pcr/python2-keystoneclient/PKGBUILD')
-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 +} |