commit:     cd58b41bbeed705894545c950b5de413bf36be91
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 16 03:52:22 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 16 04:13:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd58b41b

dev-python/tavern: Bump to 3.0.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tavern/Manifest            |  1 +
 dev-python/tavern/tavern-3.0.1.ebuild | 64 +++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest
index 8d553cf35435..fc931664464a 100644
--- a/dev-python/tavern/Manifest
+++ b/dev-python/tavern/Manifest
@@ -1,2 +1,3 @@
 DIST tavern-2.17.0.gh.tar.gz 243762 BLAKE2B 
aca42310622fe769ff6a6201c4fd4faa613ff2a73910044d4eed9ab60f3e731e1614e3cea9deee8a47c553f9156462da5312e358fe58b52beb45fe4a60e847e0
 SHA512 
33f01a13bf87a6015bb0896bb7184ca584da43b1543a620b0577cfe2f7ebc71c550008e0febd0634e9649394322a41ded32e1b482abfd26fe750a2c46a5a0894
 DIST tavern-3.0.0.gh.tar.gz 280132 BLAKE2B 
c99076aaf402a47b904da65d97fb75b3518d5d683492ad3a47b04fae05ed305a3f0ce1841d25b25d96fb06542d020608b05fa3b4a9e53822ce0bf2114f7797f7
 SHA512 
7c7764bb3fae649969e8dd2ae86103abb31de2ccee7e792ca136be6294df251863da6ab783319a9d2e43219f3a7b34793d17282f3aca59ca7ddbe417b3ded24c
+DIST tavern-3.0.1.gh.tar.gz 292514 BLAKE2B 
2a2297c09ca39e97d8926cbda681606e5ffa29fe29d7a9c5690f78cc1090304edba8ad813bab28470a8f20d3ad0900c0b88854ee1e450425e3e306bb9c09834b
 SHA512 
1c79899effd4abf148a4c9459fa3994a0b2ad972899d39ab79740951d0fd1671d8905d50e2ba1eeae397a822424db6f090f3ab1207511bd118ae9eecc3045eef

diff --git a/dev-python/tavern/tavern-3.0.1.ebuild 
b/dev-python/tavern/tavern-3.0.1.ebuild
new file mode 100644
index 000000000000..d3ff04799083
--- /dev/null
+++ b/dev-python/tavern/tavern-3.0.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs"
+HOMEPAGE="
+       https://github.com/taverntesting/tavern/
+       https://pypi.org/project/tavern/
+"
+SRC_URI="
+       https://github.com/taverntesting/tavern/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       >=dev-python/jmespath-1[${PYTHON_USEDEP}]
+       >=dev-python/jsonschema-4[${PYTHON_USEDEP}]
+       >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
+       >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}]
+       >=dev-python/pytest-8[${PYTHON_USEDEP}]
+       >=dev-python/python-box-6[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
+       >=dev-python/simpleeval-1.0.3[${PYTHON_USEDEP}]
+       >=dev-python/stevedore-4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/colorlog[${PYTHON_USEDEP}]
+               dev-python/faker[${PYTHON_USEDEP}]
+               dev-python/paho-mqtt[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=( "${PN}" )
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # requires grpc
+       tests/unit/test_extensions.py::TestGrpcCodes
+       # broken with paho-mqtt-2
+       tests/unit/test_mqtt.py::TestClient::test_context_connection_success
+)
+EPYTEST_IGNORE=(
+       # require grpc*
+       tavern/_plugins/grpc
+       tests/unit/tavern_grpc
+)
+
+src_prepare() {
+       # strip unnecessary pins, upstream doesn't update them a lot
+       sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die
+       distutils-r1_src_prepare
+}

Reply via email to