summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-19 20:44:10 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-19 21:28:06 +0300
commit77ca3674f5c975661713d3ff2b8d6abf0df4086d (patch)
treef13071c7f3ecc5d71b06780e498005a64e03412e /dev-python/hvac
parentdev-python/hatchling: add 1.10.0 (diff)
downloadgentoo-77ca3674f5c975661713d3ff2b8d6abf0df4086d.tar.gz
gentoo-77ca3674f5c975661713d3ff2b8d6abf0df4086d.tar.bz2
gentoo-77ca3674f5c975661713d3ff2b8d6abf0df4086d.zip
dev-python/hvac: add 1.0.2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/hvac')
-rw-r--r--dev-python/hvac/Manifest1
-rw-r--r--dev-python/hvac/hvac-1.0.2.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/hvac/Manifest b/dev-python/hvac/Manifest
index a632af23ac43..b5e87524d87b 100644
--- a/dev-python/hvac/Manifest
+++ b/dev-python/hvac/Manifest
@@ -1,2 +1,3 @@
DIST hvac-0.11.2.tar.gz 308694 BLAKE2B 090c6ea3eb4175618087486f67d44c608f164820f6e5ebeb0f82d468123693af5ad4c181721087b9fc4ee8789bc86eb11c16c186c5ca669c6575d83c2ae2d835 SHA512 7a3cb82e17e7ceef04173c8682b33d35457675eae7b402ba36c3a21026ebf551a2731ecbd6dc0d00bb727e98a29f0a0f5bf427d7429b55b922247b4ccfb79794
DIST hvac-1.0.0.gh.tar.gz 308971 BLAKE2B 02bcb5bcdcd209187464b9e95ea04c4c21717fe55693d283bf9a36961620829df3cec4ab6225ecedb04435b85c7f58221b7478c1bfaad215794984b4f7c26aef SHA512 02ddf9f541f16184801dd7bf01a19ceaa34fba6c776b61ba9fc812641c14ef29984224b19a57d165d6151a138f1bf48f816c222e1977db7dca69e11e5a7ff356
+DIST hvac-1.0.2.gh.tar.gz 309384 BLAKE2B bb492de18a6041b9a478554c1f750540195f8476f74ccf1c9eac3ca04812dfa9c653263b523d0b34efdf1e4cfffebb64ca110023c840abcc97ec7b5534a7d1b1 SHA512 e0f81682be5308a418c2246b03573f0001b9e619e1dc6435b9c9bb608e496a6406b862e28c337afe56cd2d2432d9a0240af5529841d3d6b1b60b662b9b56b668
diff --git a/dev-python/hvac/hvac-1.0.2.ebuild b/dev-python/hvac/hvac-1.0.2.ebuild
new file mode 100644
index 000000000000..50300776b3be
--- /dev/null
+++ b/dev-python/hvac/hvac-1.0.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="hashicorp vault client in python"
+HOMEPAGE="https://github.com/hvac/hvac"
+SRC_URI="https://github.com/hvac/hvac/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/pyhcl-0.4.4[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.24.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/jwcrypto[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ dev-python/requests-mock[${PYTHON_USEDEP}]
+ dev-python/semantic_version[${PYTHON_USEDEP}]
+ dev-python/werkzeug[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # ldap_test is not packaged.
+ tests/integration_tests/api/auth_methods/test_ldap.py
+ # https://github.com/lepture/authlib is not packaged.
+ tests/integration_tests/api/auth_methods/test_oidc.py
+)