Update to v0.10.3

This commit is contained in:
Jeff Henson 2020-03-12 20:01:53 -06:00
parent ff808d1557
commit 32d018f896
2 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
pkgbase = python-openshift
pkgdesc = Python client for the OpenShift API
pkgver = 0.10.2
pkgver = 0.10.3
pkgrel = 1
url = https://github.com/openshift/openshift-restclient-python
arch = any
@ -13,8 +13,8 @@ pkgbase = python-openshift
depends = python-string-utils
depends = python-ruamel-yaml
depends = python-six
source = https://files.pythonhosted.org/packages/source/o/openshift/openshift-0.10.2.tar.gz
sha256sums = 10868c5697c7610e1d18d62118f1bf2096d35789fa9790c89285947a93545a8a
source = https://github.com/openshift/openshift-restclient-python/archive/v0.10.3.tar.gz
sha256sums = 05da5b323e1be23d6cf6f1e4eadd984021e023d5330262f79e963b500b407112
pkgname = python-openshift

View file

@ -1,14 +1,14 @@
# Maintainer: Jeff Henson <jeff@henson.io>
# Old Maintainer: Giacomo Longo <gabibbo97@gmail.com>
pkgname=python-openshift
pkgver=0.10.2
pkgver=0.10.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")
sha256sums=('10868c5697c7610e1d18d62118f1bf2096d35789fa9790c89285947a93545a8a')
source=("https://github.com/openshift/openshift-restclient-python/archive/v${pkgver}.tar.gz")
sha256sums=('05da5b323e1be23d6cf6f1e4eadd984021e023d5330262f79e963b500b407112')
arch=('any')
makedepends=('python-setuptools')
depends=(
@ -22,11 +22,11 @@ depends=(
)
build() {
cd "$srcdir/$_name-$pkgver"
cd openshift-restclient-python-${pkgver}
python setup.py build
}
package() {
cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
cd openshift-restclient-python-${pkgver}
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
}