commit:     696f5512ce908c1ede8a54f6ae295419040fd50e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 19:18:04 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 19:26:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696f5512

dev-vcs/git-pw: Enable py3.13

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

 dev-vcs/git-pw/git-pw-2.6.0.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-vcs/git-pw/git-pw-2.6.0.ebuild 
b/dev-vcs/git-pw/git-pw-2.6.0.ebuild
index ccb909f73e2f..bab1464ff331 100644
--- a/dev-vcs/git-pw/git-pw-2.6.0.ebuild
+++ b/dev-vcs/git-pw/git-pw-2.6.0.ebuild
@@ -3,8 +3,8 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..12} )
 DISTUTILS_USE_PEP517=pbr
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 if [[ "${PV}" == 9999 ]] ; then
@@ -33,13 +33,17 @@ BDEPEND="
        dev-python/pbr[${PYTHON_USEDEP}]
        test? (
                >=dev-python/mock-3.0.0[${PYTHON_USEDEP}]
-               >=dev-python/pytest-3.0[${PYTHON_USEDEP}]
-               >=dev-python/pytest-cov-2.5[${PYTHON_USEDEP}]
        )
 "
 
+distutils_enable_tests pytest
+
 src_compile() {
        export PBR_VERSION=${PV}
        distutils-r1_src_compile
 }
-distutils_enable_tests pytest
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to