32 lines
858 B
Bash
32 lines
858 B
Bash
# Maintainer: Jeff Henson <jeff@henson.io>
|
|
# Old Maintainer: Giacomo Longo <gabibbo97@gmail.com>
|
|
pkgname=python-openshift
|
|
pkgver=0.10.1
|
|
pkgrel=1
|
|
pkgdesc="Python client for the OpenShift API"
|
|
url="https://github.com/openshift/openshift-restclient-python"
|
|
license=('APACHE')
|
|
_name=${pkgname#python-}
|
|
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
|
|
sha256sums=('ce7411a5689e6d3831bb5dc08a8c324860d71e3dd5547ba44f4d139cfa57c34b')
|
|
arch=('any')
|
|
makedepends=('python-setuptools')
|
|
depends=(
|
|
'python'
|
|
'python-dictdiffer'
|
|
'python-jinja'
|
|
'python-kubernetes'
|
|
'python-string-utils'
|
|
'python-ruamel-yaml'
|
|
'python-six'
|
|
)
|
|
|
|
build() {
|
|
cd "$srcdir/$_name-$pkgver"
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_name-$pkgver"
|
|
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
|
|
}
|