commit:     6815d078555c412b2bf64758d39452e912f20ad7
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Mon Oct 23 18:33:10 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct 25 07:46:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6815d078

media-gfx/gnofract4d: resolve test failures

Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33478
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/gnofract4d/gnofract4d-4.3_p20230717.ebuild | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/media-gfx/gnofract4d/gnofract4d-4.3_p20230717.ebuild 
b/media-gfx/gnofract4d/gnofract4d-4.3_p20230717.ebuild
index a382ace1e175..e1e1aa226fc2 100644
--- a/media-gfx/gnofract4d/gnofract4d-4.3_p20230717.ebuild
+++ b/media-gfx/gnofract4d/gnofract4d-4.3_p20230717.ebuild
@@ -6,9 +6,9 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_EXT=1
 DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_IN_SOURCE_BUILD=1
 
-inherit distutils-r1 optfeature virtualx xdg
+inherit distutils-r1 multibuild optfeature virtualx xdg
 
 COMMIT="47d2093e8f6399d1badfba0d1cb0f9867e90b326"
 
@@ -46,11 +46,16 @@ src_prepare() {
 }
 
 python_test() {
+       ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die
        local EPYTEST_IGNORE=(
                # test_regress.py does not provide pytest with any tests and 
inspecting it requires dev-python/pillow
                test_regress.py
        )
-       use x86 && local EPYTEST_DESELECT=(
+       local EPYTEST_DESELECT=(
+               # terminate called after throwing an instance of 
'std::exception'
+               test_fract4d.py::Test::testFDSite
+       )
+       use x86 && EPYTEST_DESELECT+=(
                # https://bugs.gentoo.org/890796
                test_fractal.py::Test::testDiagonal
                test_fractal.py::Test::testRecolor

Reply via email to