diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e38a23eae793 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Christoph Gysin <christoph.gysin@gmail.com> + +pkgname=('python-heatclient' 'python2-heatclient') +pkgver='0.8.0' +pkgrel='1' +pkgdesc='Python client library for Heat' +arch=('any') +url='https://launchpad.net/python-heatclient' +license=('Apache') +source=("https://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('5cd1c855ee21f18bfffbc7269e40c417b953d0855aa3cc8b56d778b8612467d5') + +package_python-heatclient() +{ + depends=('python-babel>=1.3' + 'python-pbr>=0.6' + 'python-iso8601>=0.1.9' + 'python-prettytable>=0.7' + 'python-oslo-i18n' + 'python-oslo-serialization' + 'python-oslo-utils' + 'python-swiftclient' + 'python-keystoneclient' + 'python-yaml' + 'python-requests>=2.2.0' + 'python-six>=1.7.0') + makedepends=('python-setuptools') + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py \ + install \ + --root="${pkgdir}" \ + --optimize=1 +} + +package_python2-heatclient() +{ + depends=('python2-babel>=1.3' + 'python2-pbr>=0.6' + 'python2-iso8601>=0.1.9' + 'python2-prettytable>=0.7' + 'python2-oslo-i18n' + 'python2-oslo-serialization' + 'python2-oslo-utils' + 'python2-swiftclient' + 'python2-keystoneclient' + 'python2-yaml' + 'python2-requests>=2.2.0' + 'python2-six>=1.7.0') + makedepends=('python2-setuptools') + cd "${srcdir}/python-heatclient-${pkgver}" + python2 setup.py \ + install \ + --root="${pkgdir}" \ + --optimize=1 +} |