aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-kubernetes/APKBUILD
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2021-04-05 06:53:29 +0000
committerLeo <thinkabit.ukim@gmail.com>2021-04-05 08:56:28 +0000
commit9c6e1bf1cd24338266ec5d68a0b4cccfca4d214d (patch)
tree933b2b956021e3228bae5527b3f50c75c70d60d6 /testing/py3-kubernetes/APKBUILD
parent23f37e72d3a996b36e6736894074eb70f7e04da9 (diff)
downloadaports-9c6e1bf1cd24338266ec5d68a0b4cccfca4d214d.tar.gz
aports-9c6e1bf1cd24338266ec5d68a0b4cccfca4d214d.tar.bz2
aports-9c6e1bf1cd24338266ec5d68a0b4cccfca4d214d.tar.xz
testing/py3-kubernetes: new aport
Diffstat (limited to 'testing/py3-kubernetes/APKBUILD')
-rw-r--r--testing/py3-kubernetes/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/py3-kubernetes/APKBUILD b/testing/py3-kubernetes/APKBUILD
new file mode 100644
index 0000000000..903d5b9860
--- /dev/null
+++ b/testing/py3-kubernetes/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Duncan Bellamy <dunk@denkimushi.com>
+# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
+pkgname=py3-kubernetes
+_pkgname=kubernetes
+pkgver=12.0.1
+pkgrel=0
+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"