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

View file

@ -1,14 +1,14 @@
# Maintainer: Jeff Henson <jeff@henson.io> # Maintainer: Jeff Henson <jeff@henson.io>
# Old Maintainer: Giacomo Longo <gabibbo97@gmail.com> # Old Maintainer: Giacomo Longo <gabibbo97@gmail.com>
pkgname=python-openshift pkgname=python-openshift
pkgver=0.10.2 pkgver=0.10.3
pkgrel=1 pkgrel=1
pkgdesc="Python client for the OpenShift API" pkgdesc="Python client for the OpenShift API"
url="https://github.com/openshift/openshift-restclient-python" url="https://github.com/openshift/openshift-restclient-python"
license=('APACHE') license=('APACHE')
_name=${pkgname#python-} source=("https://github.com/openshift/openshift-restclient-python/archive/v${pkgver}.tar.gz")
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") sha256sums=('05da5b323e1be23d6cf6f1e4eadd984021e023d5330262f79e963b500b407112')
sha256sums=('10868c5697c7610e1d18d62118f1bf2096d35789fa9790c89285947a93545a8a')
arch=('any') arch=('any')
makedepends=('python-setuptools') makedepends=('python-setuptools')
depends=( depends=(
@ -22,11 +22,11 @@ depends=(
) )
build() { build() {
cd "$srcdir/$_name-$pkgver" cd openshift-restclient-python-${pkgver}
python setup.py build python setup.py build
} }
package() { package() {
cd "$srcdir/$_name-$pkgver" cd openshift-restclient-python-${pkgver}
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
} }