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-02-26 00:44:55 +01:00
pkgver=0.12.0
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-02-26 00:44:55 +01:00
sha256sums=('6de497dd9b3ceb17abfec6074bc5758e1901088d41bd923c4f7b2ece29a7d15c')
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
}