commit: 196ce403dba6344ab0a3924ffad33799657e8103 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Fri Apr 14 18:07:20 2017 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Fri Apr 14 18:59:56 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196ce403
sci-biology/trnascan-se: Bump EAPI to 6 Package-Manager: Portage-2.3.5, Repoman-2.3.2 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> sci-biology/trnascan-se/trnascan-se-1.31.ebuild | 15 ++++++++------- 1 file 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 ca55fdd5e0f..04ff8bd610e 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}:" \