summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-01-03 20:39:21 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-01-03 20:46:40 +0200
commit2a52e6db6649ad8c04c9c1aaf3eb3b11da5271da (patch)
tree5ce850172551cf01395d24908333b124ba2049b6 /dev-python/hvac
parentdev-python/podman: add 4.8.2 (diff)
downloadgentoo-2a52e6db6649ad8c04c9c1aaf3eb3b11da5271da.tar.gz
gentoo-2a52e6db6649ad8c04c9c1aaf3eb3b11da5271da.tar.bz2
gentoo-2a52e6db6649ad8c04c9c1aaf3eb3b11da5271da.zip
dev-python/hvac: add 2.1.0
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-2.1.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/hvac/Manifest b/dev-python/hvac/Manifest
index 1f8b2a29776c..56652313ec4d 100644
--- a/dev-python/hvac/Manifest
+++ b/dev-python/hvac/Manifest
@@ -1 +1,2 @@
DIST hvac-2.0.0.tar.gz 316473 BLAKE2B 72da5325e560ff07a08296403d1b9c8182d2b75ed1b1d5b33474d95816ccc735306b2d7a4489d3c40a975915ea69be9afde4e0291ce2a5e7c22f0b3e074093ff SHA512 ba9114005e3610146fe69d3739daf36fd0b83cd22f5d89546dd7a7b43e9b1b704ce544b6d2ca3c0b93fd309587076266786ab81bde3dc4209a44ee4456eb8f35
+DIST hvac-2.1.0.tar.gz 325532 BLAKE2B 61c78e2bcbfcf95c853aef825f68b510522c66fd2f4c526043abd2ea4de166ab4972a5de4e2829ba28a8bc6ac43a0cf5c38ffcb31e4ec050db0cf3f49c86541b SHA512 331effd50a11544683d9b0e186c7b56d9480826c645969940c19b7528d5f4f1fd09f0867f61f421948ddb9558d76d9e68e3a189652e00093ad22cfa8be785825
diff --git a/dev-python/hvac/hvac-2.1.0.ebuild b/dev-python/hvac/hvac-2.1.0.ebuild
new file mode 100644
index 000000000000..f9565b6f997b
--- /dev/null
+++ b/dev-python/hvac/hvac-2.1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="HashiCorp Vault API client"
+HOMEPAGE="
+ https://github.com/hvac/hvac/
+ https://pypi.org/project/hvac/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+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/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
+)