update to 0.13.1

This commit is contained in:
Luis Martinez 2022-02-06 18:08:02 -06:00
parent 5e38d79c96
commit 2cde13a3dc
No known key found for this signature in database
GPG key ID: B48AD8FC0F860CE1
2 changed files with 34 additions and 22 deletions

View file

@ -1,18 +1,23 @@
pkgbase = python-openshift pkgbase = python-openshift
pkgdesc = Python client for the OpenShift API pkgdesc = Python client for the OpenShift API
pkgver = 0.12.1 pkgver = 0.13.1
pkgrel = 1 pkgrel = 1
url = https://github.com/openshift/openshift-restclient-python url = https://github.com/openshift/openshift-restclient-python
arch = any arch = any
license = APACHE license = APACHE
checkdepends = python-pytest
makedepends = python-setuptools makedepends = python-setuptools
depends = python makedepends = python-build
makedepends = python-install
makedepends = python-wheel
depends = python-jinja depends = python-jinja
depends = python-kubernetes depends = python-kubernetes
depends = python-string-utils depends = python-string-utils
depends = python-ruamel-yaml depends = python-ruamel-yaml
depends = python-six depends = python-six
source = https://github.com/openshift/openshift-restclient-python/archive/v0.12.1.tar.gz depends = python-requests
sha256sums = eb63a08489798dd5a83c809baabe6a93ed8f82545e8343b53f3e514f6a19c80c depends = python-requests-oauthlib
source = python-openshift-0.13.1.tar.gz::https://github.com/openshift/openshift-restclient-python/archive/v0.13.1.tar.gz
sha256sums = 6a061cc12247e96147e40d8463c133cb01b915907af10df08d937d27e6a1f283
pkgname = python-openshift pkgname = python-openshift

View file

@ -1,31 +1,38 @@
# Maintainer: Jeff Henson <jeff@henson.io> # Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Old Maintainer: Giacomo Longo <gabibbo97@gmail.com> # Contributor: Jeff Henson <jeff@henson.io>
# Contributor: Giacomo Longo <gabibbo97@gmail.com>
pkgname=python-openshift pkgname=python-openshift
pkgver=0.12.1 pkgver=0.13.1
pkgrel=1 pkgrel=1
pkgdesc="Python client for the OpenShift API" pkgdesc="Python client for the OpenShift API"
arch=('any')
url="https://github.com/openshift/openshift-restclient-python" url="https://github.com/openshift/openshift-restclient-python"
license=('APACHE') license=('APACHE')
source=("https://github.com/openshift/openshift-restclient-python/archive/v${pkgver}.tar.gz")
sha256sums=('eb63a08489798dd5a83c809baabe6a93ed8f82545e8343b53f3e514f6a19c80c')
arch=('any')
makedepends=('python-setuptools')
depends=( depends=(
'python' 'python-jinja'
'python-jinja' 'python-kubernetes'
'python-kubernetes' 'python-string-utils'
'python-string-utils' 'python-ruamel-yaml'
'python-ruamel-yaml' 'python-six'
'python-six' 'python-requests'
) 'python-requests-oauthlib')
makedepends=('python-setuptools' 'python-build' 'python-install' 'python-wheel')
checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('6a061cc12247e96147e40d8463c133cb01b915907af10df08d937d27e6a1f283')
build() { build() {
cd openshift-restclient-python-${pkgver} cd "openshift-restclient-python-$pkgver"
python setup.py build python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
cd "openshift-restclient-python-$pkgver"
PYTHONPATH=./ pytest -x -c /dev/null test/unit
} }
package() { package() {
cd openshift-restclient-python-${pkgver} cd "openshift-restclient-python-$pkgver"
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build python -m install --optimize=1 --destdir="$pkgdir/" dist/*.whl
} }