aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2021-11-24 10:35:52 +0000
committerPaul Healy <lmiphay@gmail.com>2021-11-24 10:35:52 +0000
commit15909cc46dfb82544a0f3eb4ef006b4b0abf2316 (patch)
tree83797d60d351add7eb321e56b4425ab15578009c /dev-python
parentdev-python/lambda-uploader add support for tests (diff)
downloadlmiphay-15909cc46dfb82544a0f3eb4ef006b4b0abf2316.tar.gz
lmiphay-15909cc46dfb82544a0f3eb4ef006b4b0abf2316.tar.bz2
lmiphay-15909cc46dfb82544a0f3eb4ef006b4b0abf2316.zip
dev-python/kubernetes fix QA warnings
add DISTUTILS_USE_SETUPTOOLS restrict test while missing depenedencies Bug: https://bugs.gentoo.org/823404 Bug: https://bugs.gentoo.org/823401 Signed-off-by: Paul Healy <lmiphay@gmail.com>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/kubernetes/Manifest4
-rw-r--r--dev-python/kubernetes/kubernetes-19.15.0.ebuild (renamed from dev-python/kubernetes/kubernetes-17.17.0.ebuild)25
2 files changed, 26 insertions, 3 deletions
diff --git a/dev-python/kubernetes/Manifest b/dev-python/kubernetes/Manifest
index a867436..e2cbba0 100644
--- a/dev-python/kubernetes/Manifest
+++ b/dev-python/kubernetes/Manifest
@@ -1,2 +1,2 @@
-DIST kubernetes-17.17.0.tar.gz 869970 BLAKE2B 680027310913095d36b30d169de657ae492e7a60dc7041cec8ae7d09f1df13b22c4bb992aa4db98d0cb76eff903afaa1ee89eb3500f363c0bdb9d1aff8bff9d9 SHA512 88ac373eee66ccec9296931e6003e097dcd79aa4f69263941e06a11694b193c336d03953f6282cc04039498dd51dfe4c9e1eb824478f8350c892e27946279a01
-EBUILD kubernetes-17.17.0.ebuild 970 BLAKE2B cb6666c8aceab0e2dce002201832c6d679474459b0db0fd19b006d03cf5cdfe4501457a5cfb706c0b9771c85b0dedf20aa80723de19ed68d66d857cd5ad90d01 SHA512 a986e542c22c09cd93f5d392ea56c9cbcc2688a948e1a37a8ed600965d45a287f200b8840d400487f64805c55d6bf70d9441183feaa9d25ba7bbef8cb058db4d
+DIST kubernetes-19.15.0.tar.gz 803498 BLAKE2B 74227e86a339c6ce145a0da79ae2fa679f34ef9b46962f653c8bafd087b87bd7e33d28859164a44b7f57db0644c8095f218d454954f92c70bd45c4735be7533b SHA512 b4a235c311a24ca608b161725b3a2f6cf4f1482622696f9837845614fc9339f3c851fa44f0295092fc08e40737c9d4b5f94c095ee87fc3aa26e56b965880be4d
+EBUILD kubernetes-19.15.0.ebuild 1387 BLAKE2B d2406730f72f83a3327065eb5042d2cc5dc017ac61ffe516e2a06b1c7f527bbc258a618e2e2e3ce646c974c71a6e696511879187222278b31829221dd15056ba SHA512 3b93099c9c0e386388c3437767f68de48fe699865365fa15a7437c26372a759036a660adf39aebf8546616e47d5572d9b3437cdb0a237d9e5768d3fbf8c4e006
diff --git a/dev-python/kubernetes/kubernetes-17.17.0.ebuild b/dev-python/kubernetes/kubernetes-19.15.0.ebuild
index fc01ab0..bc2cde9 100644
--- a/dev-python/kubernetes/kubernetes-17.17.0.ebuild
+++ b/dev-python/kubernetes/kubernetes-19.15.0.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_9 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
@@ -16,6 +17,12 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
+# restrict test for now - missing test deps:
+# randomize
+# sphinx_markdown_tables
+# codecov
+RESTRICT="test"
+
CDEPEND="
>=dev-python/certifi-14.05.14[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
@@ -27,8 +34,24 @@ CDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.2[${PYTHON_USEDEP}]
+ test? (
+ dev-python/coverage
+ dev-python/nose
+ dev-python/pytest
+ dev-python/pytest-cov
+ dev-python/pluggy
+ dev-python/py
+ dev-python/sphinx
+ dev-python/recommonmark
+ dev-python/pycodestyle
+ dev-python/autopep8
+ dev-python/isort
+ )
"
+
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
"
RDEPEND="${CDEPEND}"
+
+distutils_enable_tests pytest