From 1a80a39cc5f6d9d66693bc88f9277e32e151374f Mon Sep 17 00:00:00 2001 From: Giacomo Longo Date: Sun, 26 Aug 2018 00:16:01 +0200 Subject: [PATCH] python-openshift - Version 0.6.3-1 --- .SRCINFO | 20 ++++++++++++++++++++ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..dbcfce9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-openshift + pkgdesc = Python client for the OpenShift API + pkgver = 0.6.3 + pkgrel = 1 + url = https://github.com/openshift/openshift-restclient-python + arch = any + license = APACHE + makedepends = python-setuptools + depends = python<3.7 + depends = python-dictdiffer + depends = python-jinja + depends = python-kubernetes + depends = python-string-utils + depends = python-ruamel-yaml + depends = python-six + source = https://files.pythonhosted.org/packages/source/o/openshift/openshift-0.6.3.tar.gz + md5sums = b2ff1c4f57bd5c3584c009d634074cff + +pkgname = python-openshift + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9935480 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Giacomo Longo +pkgname=python-openshift +pkgver=0.6.3 +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") +md5sums=('b2ff1c4f57bd5c3584c009d634074cff') +arch=('any') +makedepends=('python-setuptools') +depends=( + 'python<3.7' + '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 +}