archlinux-pkgbuilds/PKGBUILD

32 lines
829 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
2021-06-23 22:20:14 +02:00
pkgver=0.12.1
2021-02-26 00:44:55 +01:00
pkgrel=1
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")
2021-06-23 22:20:14 +02:00
sha256sums=('eb63a08489798dd5a83c809baabe6a93ed8f82545e8343b53f3e514f6a19c80c')
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-jinja'
2021-02-26 00:44:55 +01:00
'python-kubernetes'
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
}