commit: 548b0e3c0bee402b60a9d51c12e7c960c0f2d61e Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com> AuthorDate: Mon Jan 6 00:53:26 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jan 6 00:59:02 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548b0e3c
media-libs/partio: #947569 Closes: https://bugs.gentoo.org/947569 Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/partio/partio-1.17.3.ebuild | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/media-libs/partio/partio-1.17.3.ebuild b/media-libs/partio/partio-1.17.3.ebuild index 9ed9d5b09bde..1fd11229d1ee 100644 --- a/media-libs/partio/partio-1.17.3.ebuild +++ b/media-libs/partio/partio-1.17.3.ebuild @@ -19,7 +19,9 @@ HOMEPAGE="https://partio.us/" LICENSE="BSD" SLOT="0" -IUSE="doc" +IUSE="doc test" +RESTRICT="!test? ( test )" + REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} @@ -29,7 +31,11 @@ RDEPEND="${PYTHON_DEPS} virtual/opengl " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + test? ( + dev-cpp/gtest + ) +" BDEPEND=" dev-lang/swig @@ -58,3 +64,11 @@ src_configure() { cmake_src_configure } + +src_test() { + CMAKE_SKIP_TESTS=( + # fail on import partjson, partio + testpartjson + testpartio + ) +}
