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 3B55B158090 for ; Mon, 16 May 2022 08:12:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB8CFE0895; Mon, 16 May 2022 08:12:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 9B22AE0895 for ; Mon, 16 May 2022 08:12:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A7ACD341623 for ; Mon, 16 May 2022 08:12:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0137480 for ; Mon, 16 May 2022 08:12:35 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1652688736.dcccf8e81b2bad576cf65d95055a47a78ec79f85.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/ngspice/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/ngspice/ngspice-31-r1.ebuild sci-electronics/ngspice/ngspice-34.ebuild sci-electronics/ngspice/ngspice-35.ebuild sci-electronics/ngspice/ngspice-36.ebuild X-VCS-Directories: sci-electronics/ngspice/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: dcccf8e81b2bad576cf65d95055a47a78ec79f85 X-VCS-Branch: master Date: Mon, 16 May 2022 08:12:35 +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: 23682dc9-d591-4e8d-8338-4cea976da72c X-Archives-Hash: 12bae47b7ce9be4f437b8346dd2024ac commit: dcccf8e81b2bad576cf65d95055a47a78ec79f85 Author: David Seifert gentoo org> AuthorDate: Mon May 16 08:12:16 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Mon May 16 08:12:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcccf8e8 sci-electronics/ngspice: [QA] use tc-check-openmp correctly Signed-off-by: David Seifert gentoo.org> sci-electronics/ngspice/ngspice-31-r1.ebuild | 9 +++++++-- sci-electronics/ngspice/ngspice-34.ebuild | 9 +++++++-- sci-electronics/ngspice/ngspice-35.ebuild | 9 +++++++-- sci-electronics/ngspice/ngspice-36.ebuild | 7 ++++++- 4 files changed, 27 insertions(+), 7 deletions(-) diff --git a/sci-electronics/ngspice/ngspice-31-r1.ebuild b/sci-electronics/ngspice/ngspice-31-r1.ebuild index 7195c9e60379..603365b18c66 100644 --- a/sci-electronics/ngspice/ngspice-31-r1.ebuild +++ b/sci-electronics/ngspice/ngspice-31-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -40,11 +40,16 @@ DOCS=( Stuarts_Poly_Notes ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + MULTIBUILD_VARIANTS=( "binaries" ) use shared && MULTIBUILD_VARIANTS+=( "shared" ) use tcl && MULTIBUILD_VARIANTS+=( "tcl" ) - use openmp && tc-check-openmp } src_prepare() { diff --git a/sci-electronics/ngspice/ngspice-34.ebuild b/sci-electronics/ngspice/ngspice-34.ebuild index 9f70865e81ca..e0f41dc5b269 100644 --- a/sci-electronics/ngspice/ngspice-34.ebuild +++ b/sci-electronics/ngspice/ngspice-34.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -41,11 +41,16 @@ DOCS=( Stuarts_Poly_Notes ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + MULTIBUILD_VARIANTS=( "binaries" ) use shared && MULTIBUILD_VARIANTS+=( "shared" ) use tcl && MULTIBUILD_VARIANTS+=( "tcl" ) - use openmp && tc-check-openmp } src_prepare() { diff --git a/sci-electronics/ngspice/ngspice-35.ebuild b/sci-electronics/ngspice/ngspice-35.ebuild index 17b7d8e33554..305f2906fb38 100644 --- a/sci-electronics/ngspice/ngspice-35.ebuild +++ b/sci-electronics/ngspice/ngspice-35.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -40,11 +40,16 @@ DOCS=( Stuarts_Poly_Notes ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + MULTIBUILD_VARIANTS=( "binaries" ) use shared && MULTIBUILD_VARIANTS+=( "shared" ) use tcl && MULTIBUILD_VARIANTS+=( "tcl" ) - use openmp && tc-check-openmp } src_prepare() { diff --git a/sci-electronics/ngspice/ngspice-36.ebuild b/sci-electronics/ngspice/ngspice-36.ebuild index ded8f7f1d8ce..8a616095f439 100644 --- a/sci-electronics/ngspice/ngspice-36.ebuild +++ b/sci-electronics/ngspice/ngspice-36.ebuild @@ -40,11 +40,16 @@ DOCS=( Stuarts_Poly_Notes ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + MULTIBUILD_VARIANTS=( "binaries" ) use shared && MULTIBUILD_VARIANTS+=( "shared" ) use tcl && MULTIBUILD_VARIANTS+=( "tcl" ) - use openmp && tc-check-openmp } src_prepare() {