Compare commits

..

15 commits

Author SHA1 Message Date
9ba46ce88f Deleted package: scaphandre 2023-05-25 09:56:27 +02:00
505c7a9615 Add 'python-openshift/' from commit 'ac67559152a359f6bbaf41b8b6529cfaaff236ce'
git-subtree-dir: python-openshift
git-subtree-mainline: 37f08502e9
git-subtree-split: ac67559152
2023-05-24 16:27:14 +02:00
Luis Martinez
ac67559152
use python-installer for packaging 2022-03-01 13:33:49 -06:00
Luis Martinez
2cde13a3dc
update to 0.13.1 2022-02-06 18:08:02 -06:00
Jeff Henson
5e38d79c96
Update to 0.12.1 2021-06-23 14:20:28 -06:00
Jeff Henson
9878729aab Update to 0.12.0 2021-02-25 16:44:55 -07:00
Jeff Henson
7a03be32bb Python 3.9 rebuild 2020-12-02 08:52:00 -07:00
Jeff Henson
413c3d7590 Update to v0.11.2 2020-11-17 09:02:32 -07:00
Jeff Henson
b5be3a3a9d Fix checksum 2020-03-16 10:51:27 -06:00
Jeff Henson
32d018f896 Update to v0.10.3 2020-03-12 20:01:53 -06:00
Jeff Henson
ff808d1557 Update to v0.10.2 2020-02-18 21:32:20 -07:00
Jeff Henson
626777ee16 Bump pkgver to 0.10.1 2019-12-13 08:22:43 -07:00
Jeff Henson
aa2139a9c6 Update to 0.10.0 2019-11-14 13:07:56 -07:00
Giacomo Longo
369b5d267f python-openshift ( 0.7.1-1 ) 2018-09-06 20:23:41 +02:00
Giacomo Longo
1a80a39cc5 python-openshift - Version 0.6.3-1 2018-08-26 00:16:01 +02:00
5 changed files with 66 additions and 43 deletions

23
python-openshift/.SRCINFO Normal file
View file

@ -0,0 +1,23 @@
pkgbase = python-openshift
pkgdesc = Python client for the OpenShift API
pkgver = 0.13.1
pkgrel = 2
url = https://github.com/openshift/openshift-restclient-python
arch = any
license = APACHE
checkdepends = python-pytest
makedepends = python-setuptools
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
depends = python-jinja
depends = python-kubernetes
depends = python-string-utils
depends = python-ruamel-yaml
depends = python-six
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

4
python-openshift/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*
!.gitignore
!.SRCINFO
!PKGBUILD

39
python-openshift/PKGBUILD Normal file
View file

@ -0,0 +1,39 @@
# 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.13.1
pkgrel=2
pkgdesc="Python client for the OpenShift API"
arch=('any')
url="https://github.com/openshift/openshift-restclient-python"
license=('APACHE')
depends=(
'python-jinja'
'python-kubernetes'
'python-string-utils'
'python-ruamel-yaml'
'python-six'
'python-requests'
'python-requests-oauthlib')
makedepends=('python-setuptools' 'python-build' 'python-installer' '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 -m build --wheel --no-isolation
}
check() {
cd "openshift-restclient-python-$pkgver"
PYTHONPATH=./ pytest -x -c /dev/null test/unit
}
package() {
export PYTHONHASHSEED=0
cd "openshift-restclient-python-$pkgver"
python -m installer --destdir="$pkgdir/" dist/*.whl
}

View file

@ -1,15 +0,0 @@
pkgbase = scaphandre
pkgdesc = Electrical power consumption metrology agent
pkgver = 0.4.1
pkgrel = 1
url = https://github.com/hubblo-org/scaphandre/
arch = x86_64
license = Apache
makedepends = rust
depends = gcc-libs
depends = zlib
depends = openssl
source = scaphandre-0.4.1.tar.gz::https://github.com/hubblo-org/scaphandre/archive/v0.4.1.tar.gz
sha512sums = c730842981b74d5f2edc7f44fe90047402181e7e7ab89828eb7a4775fb754301bd32078a11218a67c24b907f1ffe4beabd60d2687f218e4815bd9cdd7eab098c
pkgname = scaphandre

View file

@ -1,28 +0,0 @@
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
pkgname=scaphandre
pkgver=0.4.1
pkgrel=1
pkgdesc="Electrical power consumption metrology agent"
arch=('x86_64')
url="https://github.com/hubblo-org/scaphandre/"
license=(Apache)
depends=('gcc-libs' 'zlib' 'openssl')
makedepends=('rust')
source=($pkgname-$pkgver.tar.gz::https://github.com/hubblo-org/scaphandre/archive/v${pkgver}.tar.gz)
sha512sums=('c730842981b74d5f2edc7f44fe90047402181e7e7ab89828eb7a4775fb754301bd32078a11218a67c24b907f1ffe4beabd60d2687f218e4815bd9cdd7eab098c')
build() {
cd "$srcdir/$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 target/release/scaphandre "$pkgdir"/usr/bin/scaphandre
install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
}
# vim:set ts=2 sw=2 et: