public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/johntheripper-jumbo/
Date: Sat, 14 May 2022 21:30:36 +0000 (UTC)	[thread overview]
Message-ID: <1652563804.f7ef3949041a92d4d9aadd8f26c33ac8f6d23198.soap@gentoo> (raw)

commit:     f7ef3949041a92d4d9aadd8f26c33ac8f6d23198
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 21:30:04 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 14 21:30:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ef3949

app-crypt/johntheripper-jumbo: [QA] tc-has-openmp → tc-check-openmp

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../johntheripper-jumbo/johntheripper-jumbo-1.9.0-r3.ebuild    | 10 ++++++----
 .../johntheripper-jumbo-1.9.0_p20210920.ebuild                 | 10 ++++++----
 .../johntheripper-jumbo-1.9.0_p20211129.ebuild                 |  8 +++++---
 app-crypt/johntheripper-jumbo/johntheripper-jumbo-9999.ebuild  |  8 +++++---
 4 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0-r3.ebuild b/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0-r3.ebuild
index 632f59d7a16f..f17408ea8cf3 100644
--- a/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0-r3.ebuild
+++ b/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0-r3.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
@@ -45,10 +45,12 @@ PATCHES=(
 	"${FILESDIR}/${P}-gcc11.patch"
 )
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
-	if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
-		tc-has-openmp || die "Please switch to an openmp compatible compiler"
-	fi
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_prepare() {

diff --git a/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0_p20210920.ebuild b/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0_p20210920.ebuild
index df228200cfd7..a77f1fbf4199 100644
--- a/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0_p20210920.ebuild
+++ b/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0_p20210920.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
@@ -45,10 +45,12 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-1.9.0-fix-bashism.patch
 )
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
-	if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
-		tc-has-openmp || die "Please switch to an OpenMP compatible compiler"
-	fi
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_prepare() {

diff --git a/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0_p20211129.ebuild b/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0_p20211129.ebuild
index 6f4a38509974..5143d68af9a3 100644
--- a/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0_p20211129.ebuild
+++ b/app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0_p20211129.ebuild
@@ -53,10 +53,12 @@ PATCHES=(
 	"${FILESDIR}"/${P}-fix-bashism.patch
 )
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
-	if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
-		tc-has-openmp || die "Please switch to an OpenMP compatible compiler"
-	fi
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_prepare() {

diff --git a/app-crypt/johntheripper-jumbo/johntheripper-jumbo-9999.ebuild b/app-crypt/johntheripper-jumbo/johntheripper-jumbo-9999.ebuild
index 90eb1c9135c3..0b2c68d044c4 100644
--- a/app-crypt/johntheripper-jumbo/johntheripper-jumbo-9999.ebuild
+++ b/app-crypt/johntheripper-jumbo/johntheripper-jumbo-9999.ebuild
@@ -49,10 +49,12 @@ RDEPEND="${DEPEND}
 	dev-perl/Digest-GOST
 	!app-crypt/johntheripper"
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
-	if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
-		tc-has-openmp || die "Please switch to an OpenMP compatible compiler"
-	fi
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_prepare() {


             reply	other threads:[~2022-05-14 21:30 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 21:30 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-16 13:17 [gentoo-commits] repo/gentoo:master commit in: app-crypt/johntheripper-jumbo/ Sam James
2025-02-16 13:17 Sam James
2024-08-25 12:04 Andreas K. Hüttel
2024-01-03 16:42 Rick Farina
2024-01-03 16:42 Rick Farina
2024-01-02 18:07 Rick Farina
2023-08-24  1:40 Rick Farina
2023-08-22  0:36 Rick Farina
2023-08-22  0:36 Rick Farina
2022-10-04  7:32 Arthur Zamarin
2022-10-02  2:24 Rick Farina
2022-10-02  2:24 Rick Farina
2022-10-02  2:24 Rick Farina
2022-10-02  2:24 Rick Farina
2021-12-04 10:07 Arthur Zamarin
2021-12-04 10:07 Arthur Zamarin
2021-12-03 19:25 Arthur Zamarin
2021-12-03  7:41 Arthur Zamarin
2021-03-10 17:05 Rick Farina
2021-03-09 21:43 Rick Farina
2021-03-09 21:43 Rick Farina
2021-03-09 21:43 Rick Farina
2021-01-05 10:47 Miroslav Šulc
2019-07-14  8:58 Hans de Graaff
2018-12-20  4:08 Rick Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1652563804.f7ef3949041a92d4d9aadd8f26c33ac8f6d23198.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox