public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/cdbfasta/
Date: Mon, 21 Sep 2015 19:44:18 +0000 (UTC)	[thread overview]
Message-ID: <1442864651.93d686395d6a556c97581052653842280e0b6165.jlec@gentoo> (raw)

commit:     93d686395d6a556c97581052653842280e0b6165
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 19:44:11 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 19:44:11 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=93d68639

sci-biology/cdbfasta: Bump EAPI to 5

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-biology/cdbfasta/cdbfasta-0.1.ebuild | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/sci-biology/cdbfasta/cdbfasta-0.1.ebuild b/sci-biology/cdbfasta/cdbfasta-0.1.ebuild
index 05313b2..06cc243 100644
--- a/sci-biology/cdbfasta/cdbfasta-0.1.ebuild
+++ b/sci-biology/cdbfasta/cdbfasta-0.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=3
+EAPI=5
 
-DESCRIPTION="A FASTA record indexing/retrievieng utility, a part of TIGR Gene Indices project tools"
+DESCRIPTION="FASTA record indexing/retrievieng utility, a part of TIGR Gene Indices project tools"
 HOMEPAGE="http://compbio.dfci.harvard.edu/tgi/software"
 SRC_URI="ftp://occams.dfci.harvard.edu/pub/bio/tgi/software/cdbfasta/cdbfasta.tar.gz"
 
@@ -13,23 +13,17 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
 S=${WORKDIR}/${PN}
 
-src_unpack() {
-	unpack cdbfasta.tar.gz
-}
-
-src_compile() {
-	sed -i 's/CFLAGS[ ]*=/CFLAGS :=/; s/-D_REENTRANT/-D_REENTRANT \${CFLAGS}/; s/CFLAGS[ ]*:=[ ]*-O2$//' "${S}"/Makefile || die "Failed to patch Makefile"
+src_prepare() {
+	sed \
+		-e 's/CFLAGS[ ]*=/CFLAGS :=/; s/-D_REENTRANT/-D_REENTRANT \${CFLAGS}/; s/CFLAGS[ ]*:=[ ]*-O2$//' \
+		-i "${S}"/Makefile || die "Failed to patch Makefile"
 	sed -i 's/-march=i686//' "${S}"/Makefile || die
 	sed -i 's/-O2 //' "${S}"/Makefile || die
-	emake || die "emake failed"
 }
 
 src_install() {
-	dobin {cdbfasta,cdbyank} || die "Failed to install binaries"
-	newdoc README README.${PN} || die
+	dobin {cdbfasta,cdbyank}
+	newdoc README README.${PN}
 }


             reply	other threads:[~2015-09-21 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21 19:44 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-19 16:26 [gentoo-commits] proj/sci:master commit in: sci-biology/cdbfasta/ Andrew Ammerlaan
2021-01-20  8:53 Andrew Ammerlaan
2021-03-06 10:22 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442864651.93d686395d6a556c97581052653842280e0b6165.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox