archlinux-pkgbuilds/PKGBUILD
2020-03-16 10:51:27 -06:00

32 lines
851 B
Bash

# Maintainer: Jeff Henson <jeff@henson.io>
# Old Maintainer: Giacomo Longo <gabibbo97@gmail.com>
pkgname=python-openshift
pkgver=0.10.3
pkgrel=2
pkgdesc="Python client for the OpenShift API"
url="https://github.com/openshift/openshift-restclient-python"
license=('APACHE')
source=("https://github.com/openshift/openshift-restclient-python/archive/v${pkgver}.tar.gz")
sha256sums=('15f3e07e79a80b5fbb83060c5a8f76578b80becff8b771ac311e2d31f4b9d258')
arch=('any')
makedepends=('python-setuptools')
depends=(
'python'
'python-dictdiffer'
'python-jinja'
'python-kubernetes'
'python-string-utils'
'python-ruamel-yaml'
'python-six'
)
build() {
cd openshift-restclient-python-${pkgver}
python setup.py build
}
package() {
cd openshift-restclient-python-${pkgver}
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
}