archlinux-pkgbuilds/PKGBUILD

33 lines
851 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>
2020-03-13 03:01:53 +01:00
2018-08-26 00:16:01 +02:00
pkgname=python-openshift
2020-03-13 03:01:53 +01:00
pkgver=0.10.3
2020-03-16 17:51:27 +01:00
pkgrel=2
2018-08-26 00:16:01 +02:00
pkgdesc="Python client for the OpenShift API"
url="https://github.com/openshift/openshift-restclient-python"
license=('APACHE')
2020-03-13 03:01:53 +01:00
source=("https://github.com/openshift/openshift-restclient-python/archive/v${pkgver}.tar.gz")
2020-03-16 17:51:27 +01:00
sha256sums=('15f3e07e79a80b5fbb83060c5a8f76578b80becff8b771ac311e2d31f4b9d258')
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() {
2020-03-13 03:01:53 +01:00
cd openshift-restclient-python-${pkgver}
2018-08-26 00:16:01 +02:00
python setup.py build
}
package() {
2020-03-13 03:01:53 +01:00
cd openshift-restclient-python-${pkgver}
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
2018-08-26 00:16:01 +02:00
}