summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-16 10:42:29 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-16 10:42:29 +0300
commitc7c042e18d43839876aa64b37c5bfb7a2ecc0d5a (patch)
tree0141206739d10f72ba13be30a50f7639291be385 /dev-python/hvac
parentsys-apps/attr: Stabilize 2.5.1-r2 hppa, #868972 (diff)
downloadgentoo-c7c042e18d43839876aa64b37c5bfb7a2ecc0d5a.tar.gz
gentoo-c7c042e18d43839876aa64b37c5bfb7a2ecc0d5a.tar.bz2
gentoo-c7c042e18d43839876aa64b37c5bfb7a2ecc0d5a.zip
dev-python/hvac: add 1.0.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-1.0.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/hvac/Manifest b/dev-python/hvac/Manifest
index 35995a64411f..a632af23ac43 100644
--- a/dev-python/hvac/Manifest
+++ b/dev-python/hvac/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-python/hvac/hvac-1.0.0.ebuild b/dev-python/hvac/hvac-1.0.0.ebuild
new file mode 100644
index 000000000000..50300776b3be
--- /dev/null
+++ b/dev-python/hvac/hvac-1.0.0.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
+)