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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5567F1580D3 for ; Tue, 28 Nov 2023 16:38:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CFEE2BC0D1; Tue, 28 Nov 2023 16:38:20 +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 43D702BC0D1 for ; Tue, 28 Nov 2023 16:38:20 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F6ED342F92 for ; Tue, 28 Nov 2023 16:38:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF59D1401 for ; Tue, 28 Nov 2023 16:38:16 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1701189405.369713e2349ce8197ea5cbfdbac319584fe81025.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/kicad/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/kicad/kicad-7.0.8.ebuild sci-electronics/kicad/kicad-7.0.9.ebuild sci-electronics/kicad/kicad-9999.ebuild X-VCS-Directories: sci-electronics/kicad/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 369713e2349ce8197ea5cbfdbac319584fe81025 X-VCS-Branch: master Date: Tue, 28 Nov 2023 16:38:16 +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: 8489fa25-e47b-4848-87d2-f82dff06ec14 X-Archives-Hash: e9298ccbc624cdccb65cf43dc2e39ab9 commit: 369713e2349ce8197ea5cbfdbac319584fe81025 Author: Zoltan Puskas sinustrom info> AuthorDate: Thu Nov 23 10:19:47 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Nov 28 16:36:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369713e2 sci-electronics/kicad: Add USE=test and use it to control building QA tests Closes: https://bugs.gentoo.org/917323 Signed-off-by: Zoltan Puskas sinustrom.info> Signed-off-by: Joonas Niilola gentoo.org> sci-electronics/kicad/kicad-7.0.8.ebuild | 6 +++++- sci-electronics/kicad/kicad-7.0.9.ebuild | 6 +++++- sci-electronics/kicad/kicad-9999.ebuild | 7 ++++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/sci-electronics/kicad/kicad-7.0.8.ebuild b/sci-electronics/kicad/kicad-7.0.8.ebuild index 7af71d049c15..41bb4dac9a3c 100644 --- a/sci-electronics/kicad/kicad-7.0.8.ebuild +++ b/sci-electronics/kicad/kicad-7.0.8.ebuild @@ -28,10 +28,12 @@ fi # BSD for bundled pybind LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD" SLOT="0" -IUSE="doc examples nls openmp" +IUSE="doc examples nls openmp test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + # Contains bundled pybind but it's patched for wx # See https://gitlab.com/kicad/code/kicad/-/commit/74e4370a9b146b21883d6a2d1df46c7a10bd0424 # Depend on opencascade:0 to get unslotted variant (so we know path to it), bug #833301 @@ -115,6 +117,8 @@ src_configure() { -DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade + + -DKICAD_BUILD_QA_TESTS="$(usex test)" ) cmake_src_configure diff --git a/sci-electronics/kicad/kicad-7.0.9.ebuild b/sci-electronics/kicad/kicad-7.0.9.ebuild index 7af71d049c15..41bb4dac9a3c 100644 --- a/sci-electronics/kicad/kicad-7.0.9.ebuild +++ b/sci-electronics/kicad/kicad-7.0.9.ebuild @@ -28,10 +28,12 @@ fi # BSD for bundled pybind LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD" SLOT="0" -IUSE="doc examples nls openmp" +IUSE="doc examples nls openmp test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + # Contains bundled pybind but it's patched for wx # See https://gitlab.com/kicad/code/kicad/-/commit/74e4370a9b146b21883d6a2d1df46c7a10bd0424 # Depend on opencascade:0 to get unslotted variant (so we know path to it), bug #833301 @@ -115,6 +117,8 @@ src_configure() { -DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade + + -DKICAD_BUILD_QA_TESTS="$(usex test)" ) cmake_src_configure diff --git a/sci-electronics/kicad/kicad-9999.ebuild b/sci-electronics/kicad/kicad-9999.ebuild index 93ae9f0c2274..ab648cee85b8 100644 --- a/sci-electronics/kicad/kicad-9999.ebuild +++ b/sci-electronics/kicad/kicad-9999.ebuild @@ -28,10 +28,12 @@ fi # BSD for bundled pybind LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD" SLOT="0" -IUSE="doc examples nls openmp" +IUSE="doc examples nls openmp test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + # Contains bundled pybind but it's patched for wx # See https://gitlab.com/kicad/code/kicad/-/commit/74e4370a9b146b21883d6a2d1df46c7a10bd0424 # Depend on opencascade:0 to get unslotted variant (so we know path to it), bug #833301 @@ -116,6 +118,9 @@ src_configure() { -DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade + + -DKICAD_SPICE_QA="$(usex test)" + -DKICAD_BUILD_QA_TESTS="$(usex test)" ) cmake_src_configure