commit:     8645f15881abf997966d69216fffa40758089ce5
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 00:18:15 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 00:38:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8645f158

dev-python/pytest-bdd: add 7.2.0, enable py3.13

Includes fixes for py3.13 and declares compatibility.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/pytest-bdd/Manifest                |  1 +
 dev-python/pytest-bdd/pytest-bdd-7.2.0.ebuild | 43 +++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/pytest-bdd/Manifest b/dev-python/pytest-bdd/Manifest
index 9e28e80cea5b..1ee23e63c77f 100644
--- a/dev-python/pytest-bdd/Manifest
+++ b/dev-python/pytest-bdd/Manifest
@@ -1 +1,2 @@
 DIST pytest-bdd-7.1.2.gh.tar.gz 81260 BLAKE2B 
5120a79a5c085976f379afbd4ae7bc68c0d07a8517b6653bb2c94407b9964cd3adcfc92e8abc31cb658caa5c108e0590913c13cbcc408021841b91dbf52b8124
 SHA512 
7630b119649502e36d7ae2b6027c11b667513eab451511104076617e50de1456ee4b2ff128254ac0db630556258704e21e2a5e73ce9afc20ed403d0186c0a226
+DIST pytest-bdd-7.2.0.gh.tar.gz 81301 BLAKE2B 
e47ec5873546596e913453f86d7c0654b8212de74b0bfa46022da093fa87191c9303559ec670bd37f94e282973192596c77a1f7293a608ae8dedbd863fc245c2
 SHA512 
d0991feb446f264f0f114693dccb67682a10a427cb5fda28dccafd67cc37810e00c34e3235bb38d02b7fa1edabf1359c6c119be9cfdce0ccf00235ca3dde337b

diff --git a/dev-python/pytest-bdd/pytest-bdd-7.2.0.ebuild 
b/dev-python/pytest-bdd/pytest-bdd-7.2.0.ebuild
new file mode 100644
index 000000000000..4d8f0c35dffb
--- /dev/null
+++ b/dev-python/pytest-bdd/pytest-bdd-7.2.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..13} )
+inherit distutils-r1
+
+DESCRIPTION="BDD library for the pytest runner"
+HOMEPAGE="https://pytest-bdd.readthedocs.io/";
+SRC_URI="
+       https://github.com/pytest-dev/pytest-bdd/archive/refs/tags/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+       dev-python/mako[${PYTHON_USEDEP}]
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/parse[${PYTHON_USEDEP}]
+       dev-python/parse_type[${PYTHON_USEDEP}]
+       dev-python/pytest[${PYTHON_USEDEP}]
+       dev-python/typing-extensions[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DOCS=( AUTHORS.rst CHANGES.rst README.rst )
+
+src_test() {
+       # terminal_reporter test needs exact wrapping
+       local -x COLUMNS=80
+
+       # hooks output parsing may be affected by other pytest-*, e.g. tornasync
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       local -x PYTEST_PLUGINS=pytest_bdd.plugin
+
+       distutils-r1_src_test
+}

Reply via email to