From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/mothur/
Date: Mon, 5 Apr 2021 14:15:00 +0000 (UTC) [thread overview]
Message-ID: <1617632081.17ca0e1b3b8cda81f6028b21303d8c64021c2947.soap@gentoo> (raw)
commit: 17ca0e1b3b8cda81f6028b21303d8c64021c2947
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 5 14:14:41 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Apr 5 14:14:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17ca0e1b
sci-biology/mothur: Port to EAPI 7
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-biology/mothur/mothur-1.27.0-r1.ebuild | 35 +++++++++++++++---------------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/sci-biology/mothur/mothur-1.27.0-r1.ebuild b/sci-biology/mothur/mothur-1.27.0-r1.ebuild
index 9e9bf216031..12b628475aa 100644
--- a/sci-biology/mothur/mothur-1.27.0-r1.ebuild
+++ b/sci-biology/mothur/mothur-1.27.0-r1.ebuild
@@ -1,43 +1,42 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils flag-o-matic fortran-2 toolchain-funcs
+inherit flag-o-matic fortran-2 toolchain-funcs
DESCRIPTION="A suite of algorithms for ecological bioinformatics"
HOMEPAGE="https://www.mothur.org/"
SRC_URI="https://www.mothur.org/w/images/c/cb/Mothur.${PV}.zip -> ${P}.zip"
+S="${WORKDIR}/${PN^}.source"
LICENSE="GPL-3"
SLOT="0"
-IUSE="mpi +readline"
KEYWORDS="amd64 x86"
+IUSE="mpi +readline"
RDEPEND="
sci-biology/uchime
mpi? ( virtual/mpi )"
-DEPEND="${RDEPEND}
- app-arch/unzip"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
-S=${WORKDIR}/Mothur.source
+PATCHES=(
+ "${FILESDIR}"/${P}-makefile.patch
+ "${FILESDIR}"/${P}-overflows.patch
+)
-pkg_setup() {
- fortran-2_pkg_setup
- use mpi && export CXX=mpicxx || export CXX=$(tc-getCXX)
+src_configure() {
+ use mpi && export CXX=mpicxx || tc-export CXX
use amd64 && append-cppflags -DBIT_VERSION
}
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-makefile.patch \
- "${FILESDIR}"/${P}-overflows.patch
-}
-
src_compile() {
- emake USEMPI=$(usex mpi) USEREADLINE=$(usex readline)
+ emake \
+ USEMPI=$(usex mpi) \
+ USEREADLINE=$(usex readline)
}
src_install() {
- dobin ${PN}
+ dobin mothur
}
next reply other threads:[~2021-04-05 14:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-05 14:15 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-03 11:14 [gentoo-commits] repo/gentoo:master commit in: sci-biology/mothur/ Sam James
2024-03-22 8:49 Sam James
2022-07-30 8:35 Sam James
2018-05-21 17:05 Aaron Bauman
2015-09-25 18:45 Justin Lecher
2015-09-25 14:23 Agostino Sarubbo
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=1617632081.17ca0e1b3b8cda81f6028b21303d8c64021c2947.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