summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-03-08 22:35:40 +0100
committerDavid Seifert <soap@gentoo.org>2017-03-08 23:16:27 +0100
commit1aac1736236bb22fb135f1154a4fa250a8bbe05a (patch)
tree8dc79438cf3f767ea0a599917e75a8e5736c5bfd /sci-biology
parentsci-biology/blat: Remove old (diff)
downloadgentoo-1aac1736236bb22fb135f1154a4fa250a8bbe05a.tar.gz
gentoo-1aac1736236bb22fb135f1154a4fa250a8bbe05a.tar.bz2
gentoo-1aac1736236bb22fb135f1154a4fa250a8bbe05a.zip
sci-biology/clustalw-mpi: Modernise to EAPI 6
Package-Manager: Portage-2.3.4, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4165
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/clustalw-mpi/clustalw-mpi-0.13-r2.ebuild (renamed from sci-biology/clustalw-mpi/clustalw-mpi-0.13-r1.ebuild)16
1 files changed, 10 insertions, 6 deletions
diff --git a/sci-biology/clustalw-mpi/clustalw-mpi-0.13-r1.ebuild b/sci-biology/clustalw-mpi/clustalw-mpi-0.13-r2.ebuild
index 7d68b61be5e3..76d3b80cde32 100644
--- a/sci-biology/clustalw-mpi/clustalw-mpi-0.13-r1.ebuild
+++ b/sci-biology/clustalw-mpi/clustalw-mpi-0.13-r2.ebuild
@@ -1,31 +1,35 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="An MPI implemention of the ClustalW general purpose multiple alignment algorithm"
HOMEPAGE="http://www.bii.a-star.edu.sg/achievements/applications/clustalw/index.php"
SRC_URI="http://web.bii.a-star.edu.sg/~kuobin/${PN}/${P}.tar.gz"
+LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-LICENSE="public-domain"
IUSE="mpi_njtree static_pairalign"
DEPEND="virtual/mpi"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}"/${PV}-gentoo.patch )
+
src_prepare() {
- epatch "${FILESDIR}"/${PV}-gentoo.patch
+ default
+
if use mpi_njtree; then
sed -e "s/TREES_FLAG/#TREES_FLAG/" -i Makefile || \
- die "Failed to configure MPI code for NJ trees."
+ die "Failed to configure MPI code for NJ trees"
fi
+
if use static_pairalign; then
sed -e "s/DDYNAMIC_SCHEDULING/DSTATIC_SCHEDULING/" -i Makefile || \
- die "Failed to configure static scheduling for pair alignments."
+ die "Failed to configure static scheduling for pair alignments"
fi
}