Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/mafft: mafft-7.215.ebuild ChangeLog
Date: Sun, 29 Mar 2015 14:49:06
Message-Id: 20150329144859.A635B14C81@oystercatcher.gentoo.org
1 jlec 15/03/29 14:48:58
2
3 Modified: ChangeLog
4 Added: mafft-7.215.ebuild
5 Log:
6 Version BUmp; drop obsolete patch
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.21 sci-biology/mafft/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/mafft/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/mafft/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/mafft/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/mafft/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 19 Jul 2013 09:44:31 -0000 1.20
24 +++ ChangeLog 29 Mar 2015 14:48:58 -0000 1.21
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-biology/mafft
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/mafft/ChangeLog,v 1.20 2013/07/19 09:44:31 jlec Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/mafft/ChangeLog,v 1.21 2015/03/29 14:48:58 jlec Exp $
31 +
32 +*mafft-7.215 (29 Mar 2015)
33 +
34 + 29 Mar 2015; Justin Lecher <jlec@g.o> +mafft-7.215.ebuild,
35 + -files/mafft-6.240-mktemp.patch:
36 + Version BUmp; drop obsolete patch
37
38 19 Jul 2013; Justin Lecher <jlec@g.o> mafft-7.050.ebuild:
39 Keyword for ~-linux
40 @@ -103,4 +109,3 @@
41 21 Oct 2006; Donnie Berkholz <dberkholz@g.o>; +metadata.xml,
42 +mafft-5.861.ebuild:
43 New package: Multiple sequence alignments using a variety of algorithms.
44 -
45
46
47
48 1.1 sci-biology/mafft/mafft-7.215.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/mafft/mafft-7.215.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/mafft/mafft-7.215.ebuild?rev=1.1&content-type=text/plain
52
53 Index: mafft-7.215.ebuild
54 ===================================================================
55 # Copyright 1999-2015 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/sci-biology/mafft/mafft-7.215.ebuild,v 1.1 2015/03/29 14:48:58 jlec Exp $
58
59 EAPI=5
60
61 inherit eutils flag-o-matic multilib toolchain-funcs
62
63 EXTENSIONS="-without-extensions"
64
65 DESCRIPTION="Multiple sequence alignments using a variety of algorithms"
66 HOMEPAGE="http://mafft.cbrc.jp/alignment/software/index.html"
67 SRC_URI="http://mafft.cbrc.jp/alignment/software/${P}${EXTENSIONS}-src.tgz"
68
69 LICENSE="BSD"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
72 IUSE="threads"
73
74 S="${WORKDIR}"/${P}${EXTENSIONS}
75
76 src_prepare() {
77 # epatch "${FILESDIR}"/${PN}-7.037-respect.patch
78 use threads && append-cppflags -Denablemultithread
79 # sed "s:GENTOOLIBDIR:$(get_libdir):g" -i core/Makefile || die
80 sed -i -e "s/(PREFIX)\/man/(PREFIX)\/share\/man/" "${S}"/core/Makefile || die "sed failed"
81 sed \
82 -e 's:$(LDFLAGS)::g' \
83 -e 's:$(CC) -o $@:$(CC) $(LDFLAGS) -o $@:g' \
84 -e 's:$(CC) -shared -o $@:$(CC) $(LDFLAGS) -shared -o $@:g' \
85 -e '/INSTALL/s: -s : :g' \
86 -i core/Makefile || die
87 }
88
89 src_compile() {
90 cd core || die
91 emake \
92 $(usex threads ENABLE_MULTITHREAD="-Denablemultithread" ENABLE_MULTITHREAD="") \
93 PREFIX="${EPREFIX}"/usr \
94 CC="$(tc-getCC)" \
95 CFLAGS="${CFLAGS} -Wno-unused-result"
96 }
97
98 src_test() {
99 export MAFFT_BINARIES="${S}"/core
100 cd test || die
101 bash ../core/mafft sample > test.fftns2 || die
102 bash ../core/mafft --maxiterate 100 sample > test.fftnsi || die
103 bash ../core/mafft --globalpair sample > test.gins1 || die
104 bash ../core/mafft --globalpair --maxiterate 100 sample > test.ginsi || die
105 bash ../core/mafft --localpair sample > test.lins1 || die
106 bash ../core/mafft --localpair --maxiterate 100 sample > test.linsi || die
107
108 diff test.fftns2 sample.fftns2 || die
109 diff test.fftnsi sample.fftnsi || die
110 diff test.gins1 sample.gins1 || die
111 diff test.ginsi sample.ginsi || die
112 diff test.lins1 sample.lins1 || die
113 }
114
115 src_install() {
116 dodoc readme
117 cd core || die
118 emake PREFIX="${ED}usr" install
119 }