update to 0.13.1
This commit is contained in:
parent
5e38d79c96
commit
2cde13a3dc
2 changed files with 34 additions and 22 deletions
13
.SRCINFO
13
.SRCINFO
|
@ -1,18 +1,23 @@
|
|||
pkgbase = python-openshift
|
||||
pkgdesc = Python client for the OpenShift API
|
||||
pkgver = 0.12.1
|
||||
pkgver = 0.13.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/openshift/openshift-restclient-python
|
||||
arch = any
|
||||
license = APACHE
|
||||
checkdepends = python-pytest
|
||||
makedepends = python-setuptools
|
||||
depends = python
|
||||
makedepends = python-build
|
||||
makedepends = python-install
|
||||
makedepends = python-wheel
|
||||
depends = python-jinja
|
||||
depends = python-kubernetes
|
||||
depends = python-string-utils
|
||||
depends = python-ruamel-yaml
|
||||
depends = python-six
|
||||
source = https://github.com/openshift/openshift-restclient-python/archive/v0.12.1.tar.gz
|
||||
sha256sums = eb63a08489798dd5a83c809baabe6a93ed8f82545e8343b53f3e514f6a19c80c
|
||||
depends = python-requests
|
||||
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
|
||||
|
|
43
PKGBUILD
43
PKGBUILD
|
@ -1,31 +1,38 @@
|
|||
# Maintainer: Jeff Henson <jeff@henson.io>
|
||||
# Old Maintainer: Giacomo Longo <gabibbo97@gmail.com>
|
||||
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
|
||||
# Contributor: Jeff Henson <jeff@henson.io>
|
||||
# Contributor: Giacomo Longo <gabibbo97@gmail.com>
|
||||
|
||||
pkgname=python-openshift
|
||||
pkgver=0.12.1
|
||||
pkgver=0.13.1
|
||||
pkgrel=1
|
||||
pkgdesc="Python client for the OpenShift API"
|
||||
arch=('any')
|
||||
url="https://github.com/openshift/openshift-restclient-python"
|
||||
license=('APACHE')
|
||||
source=("https://github.com/openshift/openshift-restclient-python/archive/v${pkgver}.tar.gz")
|
||||
sha256sums=('eb63a08489798dd5a83c809baabe6a93ed8f82545e8343b53f3e514f6a19c80c')
|
||||
arch=('any')
|
||||
makedepends=('python-setuptools')
|
||||
depends=(
|
||||
'python'
|
||||
'python-jinja'
|
||||
'python-kubernetes'
|
||||
'python-string-utils'
|
||||
'python-ruamel-yaml'
|
||||
'python-six'
|
||||
)
|
||||
'python-jinja'
|
||||
'python-kubernetes'
|
||||
'python-string-utils'
|
||||
'python-ruamel-yaml'
|
||||
'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() {
|
||||
cd openshift-restclient-python-${pkgver}
|
||||
python setup.py build
|
||||
cd "openshift-restclient-python-$pkgver"
|
||||
python -m build --wheel --skip-dependency-check --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "openshift-restclient-python-$pkgver"
|
||||
PYTHONPATH=./ pytest -x -c /dev/null test/unit
|
||||
}
|
||||
|
||||
package() {
|
||||
cd openshift-restclient-python-${pkgver}
|
||||
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
|
||||
cd "openshift-restclient-python-$pkgver"
|
||||
python -m install --optimize=1 --destdir="$pkgdir/" dist/*.whl
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue