diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-09-24 07:58:27 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-09-24 08:33:09 +0200 |
commit | 2377e6b3af69d884f5833eb20b55b252c06fd966 (patch) | |
tree | 6a8e5024f0ce648e836861cb40edd00f7ceb054a /dev-python/hvac | |
parent | dev-python/fsspec: Bump to 2021.09.0 (diff) | |
download | gentoo-2377e6b3af69d884f5833eb20b55b252c06fd966.tar.gz gentoo-2377e6b3af69d884f5833eb20b55b252c06fd966.tar.bz2 gentoo-2377e6b3af69d884f5833eb20b55b252c06fd966.zip |
dev-python/hvac: Bump to 0.11.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/hvac')
-rw-r--r-- | dev-python/hvac/Manifest | 1 | ||||
-rw-r--r-- | dev-python/hvac/hvac-0.11.2.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/hvac/Manifest b/dev-python/hvac/Manifest index 8fed4c6b0dc1..3b0818a7afa8 100644 --- a/dev-python/hvac/Manifest +++ b/dev-python/hvac/Manifest @@ -1,2 +1,3 @@ DIST hvac-0.11.0.tar.gz 306753 BLAKE2B 0300705044f6575ffeb9fa3dc28d6ee1139b6ce84f52b89920606b603355530823a1f2ec8ac251423c5a0305f3ea1ae15933e84dddb2e09c5d7880b5c0508ec8 SHA512 47226ba5113a4df48f115d02d2fb1fa7ab8b42895d38f7fad37c84814db71a57f4e455a9b46134bb577fbded1881e6272464b9f1d1d74142dc089bde03b0eba9 DIST hvac-0.11.1.tar.gz 308520 BLAKE2B 6111b88d3b772fb812db65fb770595980337d2d06366d2d3c334ee78dc4201039eca7d4086bde4384e8d987ba06e8a7343a638500c562024c8ff05196bab0bcd SHA512 5ae4b737d397399fb364c10220ed3ed083fbd203607fd488cc08c2a4e8633eeda447ec0713de6ad580d394e9fb287786eb83a9a6ededd8f8d2054874ea19fad5 +DIST hvac-0.11.2.tar.gz 308694 BLAKE2B 090c6ea3eb4175618087486f67d44c608f164820f6e5ebeb0f82d468123693af5ad4c181721087b9fc4ee8789bc86eb11c16c186c5ca669c6575d83c2ae2d835 SHA512 7a3cb82e17e7ceef04173c8682b33d35457675eae7b402ba36c3a21026ebf551a2731ecbd6dc0d00bb727e98a29f0a0f5bf427d7429b55b922247b4ccfb79794 diff --git a/dev-python/hvac/hvac-0.11.2.ebuild b/dev-python/hvac/hvac-0.11.2.ebuild new file mode 100644 index 000000000000..8ac0902d11d1 --- /dev/null +++ b/dev-python/hvac/hvac-0.11.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="hashicorp vault client in python" +HOMEPAGE="https://github.com/hvac/hvac" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hvac/hvac.git" +else + SRC_URI="https://github.com/hvac/hvac/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +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}] + )" +RDEPEND=" + >=dev-python/pyhcl-0.4.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.24.0[${PYTHON_USEDEP}] + >=dev-python/six-1.15.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + local 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 + ) + + epytest ${ignore[@]/#/--ignore } +} |