Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/tinker/
Date: Sat, 14 May 2022 21:30:46
Message-Id: 1652563820.d9cf87e1b4adc489c3ff548787979fa8abbcf87a.soap@gentoo
1 commit: d9cf87e1b4adc489c3ff548787979fa8abbcf87a
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 14 21:30:20 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat May 14 21:30:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9cf87e1
7
8 sci-chemistry/tinker: [QA] tc-has-openmp → tc-check-openmp
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 sci-chemistry/tinker/tinker-8.2.1.ebuild | 9 +++++++--
13 1 file changed, 7 insertions(+), 2 deletions(-)
14
15 diff --git a/sci-chemistry/tinker/tinker-8.2.1.ebuild b/sci-chemistry/tinker/tinker-8.2.1.ebuild
16 index bef87a09bfaa..a54f1ecb210d 100644
17 --- a/sci-chemistry/tinker/tinker-8.2.1.ebuild
18 +++ b/sci-chemistry/tinker/tinker-8.2.1.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25 @@ -31,10 +31,15 @@ RESTRICT="mirror"
26
27 S="${WORKDIR}"/${PN}/source
28
29 +pkg_pretend() {
30 + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
31 +}
32 +
33 pkg_setup() {
34 + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
35 +
36 fortran-2_pkg_setup
37 java-pkg-opt-2_pkg_setup
38 - tc-has-openmp || die "Please use an openmp capable compiler like gcc[openmp]"
39 }
40
41 src_prepare() {