From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/velvet/
Date: Wed, 8 May 2024 10:45:43 +0000 (UTC) [thread overview]
Message-ID: <1715165115.db6cf7a1354743f4de574963a6d3cb409138896c.sam@gentoo> (raw)
commit: db6cf7a1354743f4de574963a6d3cb409138896c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 8 10:44:56 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 8 10:45:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6cf7a1
sci-biology/velvet: fixup whitespace & openmp check
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-biology/velvet/velvet-1.2.10.ebuild | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/sci-biology/velvet/velvet-1.2.10.ebuild b/sci-biology/velvet/velvet-1.2.10.ebuild
index bb1a0b441b1e..07b44eb65254 100644
--- a/sci-biology/velvet/velvet-1.2.10.ebuild
+++ b/sci-biology/velvet/velvet-1.2.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,17 +16,26 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc openmp"
-BDEPEND="doc? ( virtual/latex-base )
- openmp? (
- || (
- sys-devel/gcc[openmp]
- sys-devel/clang-runtime[openmp]
- )
- )
+BDEPEND="
+ doc? ( virtual/latex-base )
+ openmp? (
+ || (
+ sys-devel/gcc[openmp]
+ sys-devel/clang-runtime[openmp]
+ )
+ )
"
PATCHES=( "${FILESDIR}/${P}-incompatible-pointers.patch" )
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
src_prepare() {
default
if ! use doc; then
@@ -58,7 +67,7 @@ src_prepare() {
CFLAGS="${CFLAGS}"
OPT="${CFLAGS}"
)
- use openmp && MAKE_XOPTS+=( OPENMP=1 ) && tc-check-openmp
+ use openmp && MAKE_XOPTS+=( OPENMP=1 )
[[ ! -z "${VELVET_MAXKMERLENGTH}" ]] && MAKE_XOPTS+=( MAXKMERLENGTH=${VELVET_MAXKMERLENGTH} )
[[ ! -z "${VELVET_CATEGORIES}" ]] && MAKE_XOPTS+=( CATEGORIES=${VELVET_CATEGORIES} )
[[ ! -z "${VELVET_BIGASSEMBLY}" ]] && MAKE_XOPTS+=( BIGASSEMBLY=${VELVET_BIGASSEMBLY} )
next reply other threads:[~2024-05-08 10:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-08 10:45 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-08-22 19:38 [gentoo-commits] repo/gentoo:master commit in: sci-biology/velvet/ David Seifert
2018-05-21 17:05 Aaron Bauman
2017-09-02 14:56 Michael Palimaka
2017-04-22 16:09 Justin Lecher
2017-04-22 16:09 Justin Lecher
2017-04-22 16:09 Justin Lecher
2017-04-22 16:09 Justin Lecher
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=1715165115.db6cf7a1354743f4de574963a6d3cb409138896c.sam@gentoo \
--to=sam@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