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 464EF158090 for ; Mon, 16 May 2022 08:12:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8147EE08C4; Mon, 16 May 2022 08:12:39 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 64606E0895 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 9C71C3415E1 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 7A6EC47B 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: <1652688734.245c3a3bb2b6bcd1e8a047f5a13d0d9fd3c7ce19.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild sci-chemistry/openbabel/openbabel-9999.ebuild X-VCS-Directories: sci-chemistry/openbabel/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 245c3a3bb2b6bcd1e8a047f5a13d0d9fd3c7ce19 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: 7e1eb9c3-0760-4584-956d-459e9f3eabff X-Archives-Hash: fc5f62e139445f32897f59e6caf3ab75 commit: 245c3a3bb2b6bcd1e8a047f5a13d0d9fd3c7ce19 Author: David Seifert gentoo org> AuthorDate: Mon May 16 08:12:14 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Mon May 16 08:12:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245c3a3b sci-chemistry/openbabel: [QA] use tc-check-openmp correctly Signed-off-by: David Seifert gentoo.org> sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild | 6 +++++- sci-chemistry/openbabel/openbabel-9999.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild index 97dfa6e9a236..61a6ad498b66 100644 --- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild +++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild @@ -80,8 +80,12 @@ RDEPEND=" ) " +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { - use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } prepare_python_bindings() { diff --git a/sci-chemistry/openbabel/openbabel-9999.ebuild b/sci-chemistry/openbabel/openbabel-9999.ebuild index 2c73801d2362..956b061aed0f 100644 --- a/sci-chemistry/openbabel/openbabel-9999.ebuild +++ b/sci-chemistry/openbabel/openbabel-9999.ebuild @@ -80,8 +80,12 @@ RDEPEND=" ) " +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { - use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } prepare_python_bindings() {