summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-18 04:01:26 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-18 04:16:26 +0200
commite47100f0e1b05831fff7e16efa514a7cb9a6b9d9 (patch)
tree21f11c7fb2d191daa16e6a3e10ed2c642a67b417 /dev-python/hvac
parentapp-emulation/spice-vdagent: drop 0.19.0-r1, 0.21.0 (diff)
downloadgentoo-e47100f0e1b05831fff7e16efa514a7cb9a6b9d9.tar.gz
gentoo-e47100f0e1b05831fff7e16efa514a7cb9a6b9d9.tar.bz2
gentoo-e47100f0e1b05831fff7e16efa514a7cb9a6b9d9.zip
dev-python/hvac: Bump to 1.1.1
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.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/hvac/Manifest b/dev-python/hvac/Manifest
index ea8429be2bbc..678b5068dfbf 100644
--- a/dev-python/hvac/Manifest
+++ b/dev-python/hvac/Manifest
@@ -1 +1,2 @@
DIST hvac-1.1.0.gh.tar.gz 317118 BLAKE2B ee4ffa2945cd39b5eeeca7206e14957ec4a22dc05cac118a22b240ebd18a54bf7187562f2b3795e2cb1e3ccc32bd3318b57d3f9faff32c995fcbc32babcc5607 SHA512 b9201aaaabbc3f6831951022152be0a05f486a021728a543ca32f88efcb1f29e9d62c0a20afcafbb0e9354a6c1d44ad64b5b0685daf7070cb8b618156b9454c7
+DIST hvac-1.1.1.gh.tar.gz 317494 BLAKE2B 3a6849a1f41a8e45f436baae3f5e2ba400c4b7cc49b253eca1741d8685d0499a9cfd42d3eaaac330ac949f64b6e9dc66d209df0efe2e9248b5750eedecca924e SHA512 f5de49b33c257ccfcdc662ed269e843d3f76912bc2e773663e72c8425d1ccc317cdc137dc7bb978e0e966bc6248f34953306fc919fba2cc8f97f0a695b5daf2b
diff --git a/dev-python/hvac/hvac-1.1.1.ebuild b/dev-python/hvac/hvac-1.1.1.ebuild
new file mode 100644
index 000000000000..dd7f68729f0b
--- /dev/null
+++ b/dev-python/hvac/hvac-1.1.1.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_{10..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
+)