archlinux-pkgbuilds/PKGBUILD

33 lines
858 B
Text
Raw Normal View History

2019-11-14 21:07:56 +01:00
# Maintainer: Jeff Henson <jeff@henson.io>
# Old Maintainer: Giacomo Longo <gabibbo97@gmail.com>
2018-08-26 00:16:01 +02:00
pkgname=python-openshift
2019-11-14 21:07:56 +01:00
pkgver=0.10.0
2018-08-26 00:16:01 +02:00
pkgrel=1
pkgdesc="Python client for the OpenShift API"
url="https://github.com/openshift/openshift-restclient-python"
license=('APACHE')
_name=${pkgname#python-}
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
2019-11-14 21:07:56 +01:00
sha256sums=('8af7e1e1fd85af79e363b1a8a323f091764b3d9f2e9640bf32cbd11e52d4324f')
2018-08-26 00:16:01 +02:00
arch=('any')
makedepends=('python-setuptools')
depends=(
2018-09-06 20:23:41 +02:00
'python'
2018-08-26 00:16:01 +02:00
'python-dictdiffer'
'python-jinja'
'python-kubernetes'
'python-string-utils'
'python-ruamel-yaml'
'python-six'
)
build() {
cd "$srcdir/$_name-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}