Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/trnascan-se/
Date: Fri, 14 Apr 2017 19:00:12
Message-Id: 1492196396.196ce403dba6344ab0a3924ffad33799657e8103.jlec@gentoo
1 commit: 196ce403dba6344ab0a3924ffad33799657e8103
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 14 18:07:20 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 14 18:59:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196ce403
7
8 sci-biology/trnascan-se: Bump EAPI to 6
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-biology/trnascan-se/trnascan-se-1.31.ebuild | 15 ++++++++-------
14 1 file changed, 8 insertions(+), 7 deletions(-)
15
16 diff --git a/sci-biology/trnascan-se/trnascan-se-1.31.ebuild b/sci-biology/trnascan-se/trnascan-se-1.31.ebuild
17 index ca55fdd5e0f..04ff8bd610e 100644
18 --- a/sci-biology/trnascan-se/trnascan-se-1.31.ebuild
19 +++ b/sci-biology/trnascan-se/trnascan-se-1.31.ebuild
20 @@ -1,11 +1,9 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2017 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 +EAPI=6
27
28 -PERL_EXPORT_PHASE_FUNCTIONS=no
29 -
30 -inherit eutils perl-module toolchain-funcs
31 +inherit perl-functions toolchain-funcs
32
33 DESCRIPTION="tRNA detection in large-scale genome sequences"
34 HOMEPAGE="http://lowelab.ucsc.edu/tRNAscan-SE/"
35 @@ -18,9 +16,12 @@ IUSE=""
36
37 S="${WORKDIR}"/tRNAscan-SE-1.3.1/
38
39 +PATCHES=(
40 + "${FILESDIR}"/${P}-ldflags.patch
41 +)
42 +
43 src_prepare() {
44 - epatch \
45 - "${FILESDIR}"/${P}-ldflags.patch
46 + default
47 sed \
48 -e "s:BINDIR = \$(HOME)/bin:BINDIR = ${EPREFIX}/usr/bin:" \
49 -e "s:LIBDIR = \$(HOME)/lib/tRNAscan-SE:LIBDIR = ${EPRFIX}/usr/share/${PN}:" \