aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-kubernetes/APKBUILD
blob: 74d8024b353f3d2946bd5a465831909b4eddc51d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-kubernetes
_pkgname=kubernetes
pkgver=12.0.1
pkgrel=1
pkgdesc="Official Python client library for kubernetes"
url="https://github.com/kubernetes-client/python"
arch="noarch"
license="Apache-2.0"
#github and pypi archives missing some test files (kubernetes/e2e_test)
options="!check"
depends="py3-certifi py3-dateutil py3-google-auth py3-requests \
	py3-requests-oauthlib py3-setuptools py3-six py3-urllib3 \
	py3-websocket-client py3-yaml"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/k/kubernetes/kubernetes-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ff4739dc185dbf46050e53382b9260a0a69c55b43820ccb1df498718c78d1bf42842f4ab1b6d0c3520c5edab45d9c9c9527aea9ccb0b6347f34e18202f9155a2  py3-kubernetes-12.0.1.tar.gz"