From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 6F961158B20 for ; Tue, 04 Feb 2025 16:54:22 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 520BE342FB6 for ; Tue, 04 Feb 2025 16:54:22 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 47BAD11046F; Tue, 04 Feb 2025 16:54:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 bobolink.gentoo.org (Postfix) with ESMTPS id 3E74311046F for ; Tue, 04 Feb 2025 16:54:21 +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 E6E3F342FB6 for ; Tue, 04 Feb 2025 16:54:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A9C02606 for ; Tue, 04 Feb 2025 16:54:19 +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: <1738688003.bd6dcfd439e47120e713682d960864f07f265f5b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/grass/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/grass/grass-8.3.2-r1.ebuild sci-geosciences/grass/grass-8.4.0.ebuild sci-geosciences/grass/grass-9999.ebuild X-VCS-Directories: sci-geosciences/grass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bd6dcfd439e47120e713682d960864f07f265f5b X-VCS-Branch: master Date: Tue, 04 Feb 2025 16:54:19 +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: e2a9c8d4-0cd2-4e53-9739-0678419535ed X-Archives-Hash: 79ad7a8b7e3e3a2f2b390b8c8e986760 commit: bd6dcfd439e47120e713682d960864f07f265f5b Author: Z. Liu gmail com> AuthorDate: Tue Feb 4 08:52:45 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Feb 4 16:53:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd6dcfd4 sci-geosciences/grass: update openmp support check Signed-off-by: Z. Liu gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40434 Signed-off-by: Sam James gentoo.org> sci-geosciences/grass/grass-8.3.2-r1.ebuild | 8 +++++++- sci-geosciences/grass/grass-8.4.0.ebuild | 8 +++++++- sci-geosciences/grass/grass-9999.ebuild | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/sci-geosciences/grass/grass-8.3.2-r1.ebuild b/sci-geosciences/grass/grass-8.3.2-r1.ebuild index 0871bb02df0d..9e070e7012a6 100644 --- a/sci-geosciences/grass/grass-8.3.2-r1.ebuild +++ b/sci-geosciences/grass/grass-8.3.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -107,7 +107,13 @@ PATCHES=( "${FILESDIR}/${PN}-flock.patch" ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + if use lapack; then local mylapack=$(eselect lapack show) if [[ -z "${mylapack/.*reference.*/}" ]] && \ diff --git a/sci-geosciences/grass/grass-8.4.0.ebuild b/sci-geosciences/grass/grass-8.4.0.ebuild index 51d356ba10d0..de06e287f11f 100644 --- a/sci-geosciences/grass/grass-8.4.0.ebuild +++ b/sci-geosciences/grass/grass-8.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -107,7 +107,13 @@ PATCHES=( "${FILESDIR}/${PN}-flock.patch" ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + if use lapack; then local mylapack=$(eselect lapack show) if [[ -z "${mylapack/.*reference.*/}" ]] && \ diff --git a/sci-geosciences/grass/grass-9999.ebuild b/sci-geosciences/grass/grass-9999.ebuild index 558ef152545b..b35f6c4b8ae1 100644 --- a/sci-geosciences/grass/grass-9999.ebuild +++ b/sci-geosciences/grass/grass-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -102,7 +102,13 @@ BDEPEND=" virtual/pkgconfig X? ( dev-lang/swig )" +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + if use lapack; then local mylapack=$(eselect lapack show) if [[ -z "${mylapack/.*reference.*/}" ]] && \