Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/cdbfasta/
Date: Mon, 21 Sep 2015 19:44:26
Message-Id: 1442864651.93d686395d6a556c97581052653842280e0b6165.jlec@gentoo
1 commit: 93d686395d6a556c97581052653842280e0b6165
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 21 19:44:11 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 21 19:44:11 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=93d68639
7
8 sci-biology/cdbfasta: Bump EAPI to 5
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-biology/cdbfasta/cdbfasta-0.1.ebuild | 24 +++++++++---------------
14 1 file changed, 9 insertions(+), 15 deletions(-)
15
16 diff --git a/sci-biology/cdbfasta/cdbfasta-0.1.ebuild b/sci-biology/cdbfasta/cdbfasta-0.1.ebuild
17 index 05313b2..06cc243 100644
18 --- a/sci-biology/cdbfasta/cdbfasta-0.1.ebuild
19 +++ b/sci-biology/cdbfasta/cdbfasta-0.1.ebuild
20 @@ -1,10 +1,10 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 +# Copyright 1999-2015 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24 # $Id$
25
26 -EAPI=3
27 +EAPI=5
28
29 -DESCRIPTION="A FASTA record indexing/retrievieng utility, a part of TIGR Gene Indices project tools"
30 +DESCRIPTION="FASTA record indexing/retrievieng utility, a part of TIGR Gene Indices project tools"
31 HOMEPAGE="http://compbio.dfci.harvard.edu/tgi/software"
32 SRC_URI="ftp://occams.dfci.harvard.edu/pub/bio/tgi/software/cdbfasta/cdbfasta.tar.gz"
33
34 @@ -13,23 +13,17 @@ SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36 IUSE=""
37
38 -DEPEND=""
39 -RDEPEND="${DEPEND}"
40 -
41 S=${WORKDIR}/${PN}
42
43 -src_unpack() {
44 - unpack cdbfasta.tar.gz
45 -}
46 -
47 -src_compile() {
48 - sed -i 's/CFLAGS[ ]*=/CFLAGS :=/; s/-D_REENTRANT/-D_REENTRANT \${CFLAGS}/; s/CFLAGS[ ]*:=[ ]*-O2$//' "${S}"/Makefile || die "Failed to patch Makefile"
49 +src_prepare() {
50 + sed \
51 + -e 's/CFLAGS[ ]*=/CFLAGS :=/; s/-D_REENTRANT/-D_REENTRANT \${CFLAGS}/; s/CFLAGS[ ]*:=[ ]*-O2$//' \
52 + -i "${S}"/Makefile || die "Failed to patch Makefile"
53 sed -i 's/-march=i686//' "${S}"/Makefile || die
54 sed -i 's/-O2 //' "${S}"/Makefile || die
55 - emake || die "emake failed"
56 }
57
58 src_install() {
59 - dobin {cdbfasta,cdbyank} || die "Failed to install binaries"
60 - newdoc README README.${PN} || die
61 + dobin {cdbfasta,cdbyank}
62 + newdoc README README.${PN}
63 }