archlinux-pkgbuilds/PKGBUILD

33 lines
855 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-11-17 17:02:32 +01:00
pkgver=0.11.2
2020-12-02 16:52:00 +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-11-17 17:02:32 +01:00
sha256sums=('c2ba45bac6068dbeacf40986659c4adfb5d249d879e767b1865ddecc65e710d3')
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'
2020-11-17 17:02:32 +01:00
'python-kubernetes>=11'
2018-08-26 00:16:01 +02:00
'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
}