summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-07 06:54:50 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-07 08:06:41 +0100
commit062b7274e89af50040e51ea7f64ccb3461fcd035 (patch)
treed4ef98115184495fb954a1d73506ea74e7954696 /dev-python/hvac
parentdev-python/ipykernel: Bump to 6.21.3 (diff)
downloadgentoo-062b7274e89af50040e51ea7f64ccb3461fcd035.tar.gz
gentoo-062b7274e89af50040e51ea7f64ccb3461fcd035.tar.bz2
gentoo-062b7274e89af50040e51ea7f64ccb3461fcd035.zip
dev-python/hvac: Bump to 1.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/hvac')
-rw-r--r--dev-python/hvac/Manifest1
-rw-r--r--dev-python/hvac/hvac-1.1.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/hvac/Manifest b/dev-python/hvac/Manifest
index 3fb991294562..46c6d2634779 100644
--- a/dev-python/hvac/Manifest
+++ b/dev-python/hvac/Manifest
@@ -1 +1,2 @@
DIST hvac-1.0.2.gh.tar.gz 309384 BLAKE2B bb492de18a6041b9a478554c1f750540195f8476f74ccf1c9eac3ca04812dfa9c653263b523d0b34efdf1e4cfffebb64ca110023c840abcc97ec7b5534a7d1b1 SHA512 e0f81682be5308a418c2246b03573f0001b9e619e1dc6435b9c9bb608e496a6406b862e28c337afe56cd2d2432d9a0240af5529841d3d6b1b60b662b9b56b668
+DIST hvac-1.1.0.gh.tar.gz 317118 BLAKE2B ee4ffa2945cd39b5eeeca7206e14957ec4a22dc05cac118a22b240ebd18a54bf7187562f2b3795e2cb1e3ccc32bd3318b57d3f9faff32c995fcbc32babcc5607 SHA512 b9201aaaabbc3f6831951022152be0a05f486a021728a543ca32f88efcb1f29e9d62c0a20afcafbb0e9354a6c1d44ad64b5b0685daf7070cb8b618156b9454c7
diff --git a/dev-python/hvac/hvac-1.1.0.ebuild b/dev-python/hvac/hvac-1.1.0.ebuild
new file mode 100644
index 000000000000..b90d79abd45b
--- /dev/null
+++ b/dev-python/hvac/hvac-1.1.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="HashiCorp Vault API client"
+HOMEPAGE="
+ https://github.com/hvac/hvac/
+ https://pypi.org/project/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 ~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/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
+)