commit:     fb6986a7066f72f6f12b0cdc10f201681a80f27e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 28 16:39:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 28 16:47:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb6986a7

dev-python/pygraphviz: enable py3.14, fix test collection

I've had to use a hack for test collection (Fedora seems to do the same)
as nothing was being collected for me.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/pygraphviz/pygraphviz-1.14.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygraphviz/pygraphviz-1.14.ebuild 
b/dev-python/pygraphviz/pygraphviz-1.14.ebuild
index 20bed0d0ef2c..4410a6aea5d2 100644
--- a/dev-python/pygraphviz/pygraphviz-1.14.ebuild
+++ b/dev-python/pygraphviz/pygraphviz-1.14.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
 
 inherit distutils-r1 pypi
 
@@ -39,7 +39,7 @@ src_configure() {
 
 python_test() {
        cd "${BUILD_DIR}"/install || die
-       epytest
+       epytest ./$(python_get_sitedir)/pygraphviz/tests
 }
 
 python_install_all() {

Reply via email to