commit:     61e28896902f67a7446ec5df2a47149cc5c32fc1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 22 00:56:27 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Sep 22 01:05:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e28896

dev-python/pytest-bdd: add 7.3.0

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

 dev-python/pytest-bdd/Manifest                |  1 +
 dev-python/pytest-bdd/pytest-bdd-7.3.0.ebuild | 47 +++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/pytest-bdd/Manifest b/dev-python/pytest-bdd/Manifest
index 25f636991b6d..985889f6bdf2 100644
--- a/dev-python/pytest-bdd/Manifest
+++ b/dev-python/pytest-bdd/Manifest
@@ -1 +1,2 @@
 DIST pytest-bdd-7.2.0.gh.tar.gz 81301 BLAKE2B 
e47ec5873546596e913453f86d7c0654b8212de74b0bfa46022da093fa87191c9303559ec670bd37f94e282973192596c77a1f7293a608ae8dedbd863fc245c2
 SHA512 
d0991feb446f264f0f114693dccb67682a10a427cb5fda28dccafd67cc37810e00c34e3235bb38d02b7fa1edabf1359c6c119be9cfdce0ccf00235ca3dde337b
+DIST pytest-bdd-7.3.0.gh.tar.gz 81595 BLAKE2B 
80c5323ba3c50fae17bb57ec26b968ca7d7b673d2aeb2716dee02e3543916ca8b5752d9af56d3d250f3a4b0a857a3dc760de615f0650eaf379380fb24a5b7c2a
 SHA512 
e7c309552714a77d47e437a825e661dbf201a6945e84f4b611b5c3da3d0b4ceb535bde4809fc9633b82a74e2b52cc69c7e14b27a27032c7e4400727498442e29

diff --git a/dev-python/pytest-bdd/pytest-bdd-7.3.0.ebuild 
b/dev-python/pytest-bdd/pytest-bdd-7.3.0.ebuild
new file mode 100644
index 000000000000..d54168cbf160
--- /dev/null
+++ b/dev-python/pytest-bdd/pytest-bdd-7.3.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: may be able to switch to pypi tarball next bump, also wouldn't hurt
+# to build the formerly forgotten docs if the tarball includes them
+# https://github.com/pytest-dev/pytest-bdd/issues/703
+
+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