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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD62713835B for ; Mon, 5 Apr 2021 14:15:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5891E08F7; Mon, 5 Apr 2021 14:15:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B2657E086A for ; Mon, 5 Apr 2021 14:15:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97E6B335E2E for ; Mon, 5 Apr 2021 14:15:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBA5D642 for ; Mon, 5 Apr 2021 14:15:00 +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: <1617632081.17ca0e1b3b8cda81f6028b21303d8c64021c2947.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/mothur/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-biology/mothur/mothur-1.27.0-r1.ebuild X-VCS-Directories: sci-biology/mothur/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 17ca0e1b3b8cda81f6028b21303d8c64021c2947 X-VCS-Branch: master Date: Mon, 5 Apr 2021 14:15:00 +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: 7336ba80-2f48-4327-abd7-a3bd40a0916d X-Archives-Hash: 2afc8888f79f0f155b593934dceb11ea commit: 17ca0e1b3b8cda81f6028b21303d8c64021c2947 Author: David Seifert gentoo org> AuthorDate: Mon Apr 5 14:14:41 2021 +0000 Commit: David Seifert gentoo 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 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 }