From 9ac03f0d5a1a2f7a9a0656fe7cd27ef2588da784 Mon Sep 17 00:00:00 2001 From: Crucible Date: Wed, 30 Sep 2026 19:07:39 -0500 Subject: Publish srcux candidate 0000000528-20260930-190542 --- dev-python/pytest-mock/pytest-mock-3.16.0.ebuild | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'dev-python/pytest-mock') diff --git a/dev-python/pytest-mock/pytest-mock-3.16.0.ebuild b/dev-python/pytest-mock/pytest-mock-3.16.0.ebuild index c595b138683c..b714251e427e 100644 --- a/dev-python/pytest-mock/pytest-mock-3.16.0.ebuild +++ b/dev-python/pytest-mock/pytest-mock-3.16.0.ebuild @@ -5,7 +5,6 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_VERIFY_REPO=https://github.com/pytest-dev/pytest-mock -PYTHON_TESTED=( python3_{13..14} ) PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 pypi @@ -19,29 +18,19 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/pytest-6.2.5[${PYTHON_USEDEP}] " BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - $(python_gen_cond_dep ' - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) " -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi +EPYTEST_PLUGINS=( "${PN}" pytest-asyncio ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +distutils_enable_tests pytest - local EPYTEST_PLUGINS=( "${PN}" pytest-asyncio ) - local EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +python_test() { local EPYTEST_DESELECT=() if has_version dev-python/mock; then -- cgit v1.3