1 |
commit: 1aac1736236bb22fb135f1154a4fa250a8bbe05a |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 8 21:35:40 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 8 22:16:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aac1736 |
7 |
|
8 |
sci-biology/clustalw-mpi: Modernise to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/4165 |
12 |
|
13 |
...lw-mpi-0.13-r1.ebuild => clustalw-mpi-0.13-r2.ebuild} | 16 ++++++++++------ |
14 |
1 file changed, 10 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/sci-biology/clustalw-mpi/clustalw-mpi-0.13-r1.ebuild b/sci-biology/clustalw-mpi/clustalw-mpi-0.13-r2.ebuild |
17 |
similarity index 85% |
18 |
rename from sci-biology/clustalw-mpi/clustalw-mpi-0.13-r1.ebuild |
19 |
rename to sci-biology/clustalw-mpi/clustalw-mpi-0.13-r2.ebuild |
20 |
index 7d68b61be5e..76d3b80cde3 100644 |
21 |
--- a/sci-biology/clustalw-mpi/clustalw-mpi-0.13-r1.ebuild |
22 |
+++ b/sci-biology/clustalw-mpi/clustalw-mpi-0.13-r2.ebuild |
23 |
@@ -1,31 +1,35 @@ |
24 |
# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=4 |
28 |
+EAPI=6 |
29 |
|
30 |
-inherit eutils toolchain-funcs |
31 |
+inherit toolchain-funcs |
32 |
|
33 |
DESCRIPTION="An MPI implemention of the ClustalW general purpose multiple alignment algorithm" |
34 |
HOMEPAGE="http://www.bii.a-star.edu.sg/achievements/applications/clustalw/index.php" |
35 |
SRC_URI="http://web.bii.a-star.edu.sg/~kuobin/${PN}/${P}.tar.gz" |
36 |
|
37 |
+LICENSE="public-domain" |
38 |
SLOT="0" |
39 |
KEYWORDS="~amd64 ~x86" |
40 |
-LICENSE="public-domain" |
41 |
IUSE="mpi_njtree static_pairalign" |
42 |
|
43 |
DEPEND="virtual/mpi" |
44 |
RDEPEND="${DEPEND}" |
45 |
|
46 |
+PATCHES=( "${FILESDIR}"/${PV}-gentoo.patch ) |
47 |
+ |
48 |
src_prepare() { |
49 |
- epatch "${FILESDIR}"/${PV}-gentoo.patch |
50 |
+ default |
51 |
+ |
52 |
if use mpi_njtree; then |
53 |
sed -e "s/TREES_FLAG/#TREES_FLAG/" -i Makefile || \ |
54 |
- die "Failed to configure MPI code for NJ trees." |
55 |
+ die "Failed to configure MPI code for NJ trees" |
56 |
fi |
57 |
+ |
58 |
if use static_pairalign; then |
59 |
sed -e "s/DDYNAMIC_SCHEDULING/DSTATIC_SCHEDULING/" -i Makefile || \ |
60 |
- die "Failed to configure static scheduling for pair alignments." |
61 |
+ die "Failed to configure static scheduling for pair alignments" |
62 |
fi |
63 |
} |