From 32d018f89611988ceb5abb2b8de85dd173aed58a Mon Sep 17 00:00:00 2001 From: Jeff Henson Date: Thu, 12 Mar 2020 20:01:53 -0600 Subject: [PATCH] Update to v0.10.3 --- .SRCINFO | 6 +++--- PKGBUILD | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f256194..d854210 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 18720f1..eb54367 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,14 @@ # Maintainer: Jeff Henson # Old Maintainer: Giacomo Longo + 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 }