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
|
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')
|
2020-03-13 03:01:53 +01:00
|
|
|
source=("https://github.com/openshift/openshift-restclient-python/archive/v${pkgver}.tar.gz")
|
|
|
|
sha256sums=('05da5b323e1be23d6cf6f1e4eadd984021e023d5330262f79e963b500b407112')
|
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
|
|
|
}
|