summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-21 05:31:11 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-21 05:31:11 +0200
commit9d1b59724fef22fe137678a29c25816fe689cc1e (patch)
treeac187067f79ac961126ee4d7ff3274b9e3198555 /dev-python/hvac
parentdev-python/sqlglot: Bump to 18.16.0 (diff)
downloadgentoo-9d1b59724fef22fe137678a29c25816fe689cc1e.tar.gz
gentoo-9d1b59724fef22fe137678a29c25816fe689cc1e.tar.bz2
gentoo-9d1b59724fef22fe137678a29c25816fe689cc1e.zip
dev-python/hvac: Bump to 2.0.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-2.0.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/hvac/Manifest b/dev-python/hvac/Manifest
index 37b09f3aeea9..7739b25d23a6 100644
--- a/dev-python/hvac/Manifest
+++ b/dev-python/hvac/Manifest
@@ -1,3 +1,4 @@
DIST hvac-1.1.1.gh.tar.gz 317494 BLAKE2B 3a6849a1f41a8e45f436baae3f5e2ba400c4b7cc49b253eca1741d8685d0499a9cfd42d3eaaac330ac949f64b6e9dc66d209df0efe2e9248b5750eedecca924e SHA512 f5de49b33c257ccfcdc662ed269e843d3f76912bc2e773663e72c8425d1ccc317cdc137dc7bb978e0e966bc6248f34953306fc919fba2cc8f97f0a695b5daf2b
DIST hvac-1.2.0.tar.gz 310344 BLAKE2B be81cfb9b2632da9146ef9153017e478e121a908bfb7a4838169f0a1984b91fe29d9efeb887352e02244136ba96c1ae98618de88ecc238f2f1a6cf2d46b45401 SHA512 61fee19dae22661c8c9aac56656b3038083ff6487773ea7fd62cb9655b55f8aaf60d40760125179c790a02323ea8711829261969695459c67834c4bdd315312d
DIST hvac-1.2.1.tar.gz 310371 BLAKE2B c7d0f10b7721035d1e474d4d5aeab636c2475b5532e2ef79be1f7e1f5e854363f56fcf8c46ace3b10725fca029d2da0358af321c37842696b6ab5010c481eb58 SHA512 17d0bb485714e85937dc74a96530a921767efb7f10facb211d68e9e0bb39477ca105bdeafbe9979a390d05a6af66a8aabbf1ada75b391bea8e091a62ad1a49bf
+DIST hvac-2.0.0.tar.gz 316473 BLAKE2B 72da5325e560ff07a08296403d1b9c8182d2b75ed1b1d5b33474d95816ccc735306b2d7a4489d3c40a975915ea69be9afde4e0291ce2a5e7c22f0b3e074093ff SHA512 ba9114005e3610146fe69d3739daf36fd0b83cd22f5d89546dd7a7b43e9b1b704ce544b6d2ca3c0b93fd309587076266786ab81bde3dc4209a44ee4456eb8f35
diff --git a/dev-python/hvac/hvac-2.0.0.ebuild b/dev-python/hvac/hvac-2.0.0.ebuild
new file mode 100644
index 000000000000..143be3d93ea6
--- /dev/null
+++ b/dev-python/hvac/hvac-2.0.0.ebuild
@@ -0,0 +1,44 @@
+# 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..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/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
+)