From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1FAB815812D for ; Mon, 06 Jan 2025 01:00:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42F2AE07A9; Mon, 06 Jan 2025 01:00:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E67F8E07A9 for ; Mon, 06 Jan 2025 01:00:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31FB034120D for ; Mon, 06 Jan 2025 01:00:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6417C19D2 for ; Mon, 06 Jan 2025 01:00:06 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1736125142.548b0e3c0bee402b60a9d51c12e7c960c0f2d61e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/partio/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/partio/partio-1.17.3.ebuild X-VCS-Directories: media-libs/partio/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 548b0e3c0bee402b60a9d51c12e7c960c0f2d61e X-VCS-Branch: master Date: Mon, 06 Jan 2025 01:00:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad807109-82aa-4ae2-b0d2-015700752fa3 X-Archives-Hash: 9e80162d8f7cf697ee6cd6de09ce2c3b commit: 548b0e3c0bee402b60a9d51c12e7c960c0f2d61e Author: Paul Zander gmail com> AuthorDate: Mon Jan 6 00:53:26 2025 +0000 Commit: Sam James gentoo 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 gmail.com> Signed-off-by: Sam James 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 + ) +}