commit: a3b08911ea198c9309952736b4a8ce7a8def9076 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Sat Jul 8 23:59:32 2023 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Sat Jul 8 23:59:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b08911
dev-python/pytest-verbose-parametrize: enable PEP-517 mode and py3.12 Closes: https://bugs.gentoo.org/909953 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> .../pytest-verbose-parametrize-1.7.0-r1.ebuild | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0-r1.ebuild b/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0-r1.ebuild new file mode 100644 index 000000000000..8ec81faef350 --- /dev/null +++ b/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="More descriptive parametrized-test IDs for py.test" +HOMEPAGE="https://github.com/man-group/pytest-plugins https://pypi.org/project/pytest-verbose-parametrize/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# The test suite is borked, some of the tests are extremely sensitive to Python +# verbosity level whereas others act differently depending on whether the package +# has previously been installed or not. +RESTRICT="test" + +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +BDEPEND="dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.7.0_collections-abc.patch +) + +distutils_enable_tests pytest
