summaryrefslogtreecommitdiff
path: root/pcr/python2-keystoneclient/PKGBUILD
blob: 66f255776a17a05d1047f1b782be3b3d669bc9ff (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
36
37
38
39
40
41
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
}