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 0ABFF158090 for ; Mon, 16 May 2022 08:12:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4925DE0916; Mon, 16 May 2022 08:12:41 +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 2A7F3E0916 for ; Mon, 16 May 2022 08:12:41 +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 4093334171E for ; Mon, 16 May 2022 08:12:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 783224D7 for ; Mon, 16 May 2022 08:12:36 +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: <1652688748.c6a718d53dd720ee8c681e7a5f87e7d340c379dc.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-visualization/paraview/paraview-5.9.0.ebuild sci-visualization/paraview/paraview-5.9.1.ebuild X-VCS-Directories: sci-visualization/paraview/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: c6a718d53dd720ee8c681e7a5f87e7d340c379dc X-VCS-Branch: master Date: Mon, 16 May 2022 08:12:36 +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: 60f0d9e9-5ffa-4220-912d-4b21e1a2ae6e X-Archives-Hash: 8b096873b4efdb3cc9d2c6ac0a770cdc commit: c6a718d53dd720ee8c681e7a5f87e7d340c379dc Author: David Seifert gentoo org> AuthorDate: Mon May 16 08:12:28 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Mon May 16 08:12:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a718d5 sci-visualization/paraview: [QA] use tc-check-openmp correctly Closes: https://github.com/gentoo/gentoo/pull/25500 Signed-off-by: David Seifert gentoo.org> sci-visualization/paraview/paraview-5.9.0.ebuild | 8 ++++++-- sci-visualization/paraview/paraview-5.9.1.ebuild | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/sci-visualization/paraview/paraview-5.9.0.ebuild b/sci-visualization/paraview/paraview-5.9.0.ebuild index ce3f2c9d4d44..f3ceac1728a1 100644 --- a/sci-visualization/paraview/paraview-5.9.0.ebuild +++ b/sci-visualization/paraview/paraview-5.9.0.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 @@ -108,8 +108,12 @@ PATCHES=( "${FILESDIR}"/${PN}-5.9.0-gcc11-include.patch ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { - [[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp use python && python-single-r1_pkg_setup PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV} } diff --git a/sci-visualization/paraview/paraview-5.9.1.ebuild b/sci-visualization/paraview/paraview-5.9.1.ebuild index ce3f2c9d4d44..f3ceac1728a1 100644 --- a/sci-visualization/paraview/paraview-5.9.1.ebuild +++ b/sci-visualization/paraview/paraview-5.9.1.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 @@ -108,8 +108,12 @@ PATCHES=( "${FILESDIR}"/${PN}-5.9.0-gcc11-include.patch ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { - [[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp use python && python-single-r1_pkg_setup PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV} }