aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-kubernetes/APKBUILD
blob: 367c75ee0fa18c357e1b260e33ca9fdfe28e10d9 (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
28
29
30
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-kubernetes
_pkgname=kubernetes
pkgver=20.13.0
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-six py3-urllib3
	py3-websocket-client py3-yaml"
makedepends="py3-setuptools"
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="
99ac279252243c20f50ea396765efbaf0e9811e0eb18cfe95c4edf6ae7b7e39b1a37cff51b67110a0be3a28ee65cae8f4248cfbc8af0ace75ad4fff28454f1bd  py3-kubernetes-20.13.0.tar.gz
"