summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-04-14 19:07:20 +0100
committerJustin Lecher <jlec@gentoo.org>2017-04-14 19:59:56 +0100
commit196ce403dba6344ab0a3924ffad33799657e8103 (patch)
tree3b139a63df9573e15ee28734d6edd82076171df4 /sci-biology/trnascan-se
parentmedia-libs/giflib: Update remaining eutils inherits (diff)
downloadgentoo-196ce403dba6344ab0a3924ffad33799657e8103.tar.gz
gentoo-196ce403dba6344ab0a3924ffad33799657e8103.tar.bz2
gentoo-196ce403dba6344ab0a3924ffad33799657e8103.zip
sci-biology/trnascan-se: Bump EAPI to 6
Package-Manager: Portage-2.3.5, Repoman-2.3.2 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-biology/trnascan-se')
-rw-r--r--sci-biology/trnascan-se/trnascan-se-1.31.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/sci-biology/trnascan-se/trnascan-se-1.31.ebuild b/sci-biology/trnascan-se/trnascan-se-1.31.ebuild
index ca55fdd5e0fd..04ff8bd610ec 100644
--- a/sci-biology/trnascan-se/trnascan-se-1.31.ebuild
+++ b/sci-biology/trnascan-se/trnascan-se-1.31.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-PERL_EXPORT_PHASE_FUNCTIONS=no
-
-inherit eutils perl-module toolchain-funcs
+inherit perl-functions toolchain-funcs
DESCRIPTION="tRNA detection in large-scale genome sequences"
HOMEPAGE="http://lowelab.ucsc.edu/tRNAscan-SE/"
@@ -18,9 +16,12 @@ IUSE=""
S="${WORKDIR}"/tRNAscan-SE-1.3.1/
+PATCHES=(
+ "${FILESDIR}"/${P}-ldflags.patch
+)
+
src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-ldflags.patch
+ default
sed \
-e "s:BINDIR = \$(HOME)/bin:BINDIR = ${EPREFIX}/usr/bin:" \
-e "s:LIBDIR = \$(HOME)/lib/tRNAscan-SE:LIBDIR = ${EPRFIX}/usr/share/${PN}:" \