commit: 205a84fd4e41b0c09494d8edad2bff30f9610ba3 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Mon Jan 18 13:30:41 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Jan 18 13:30:41 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=205a84fd
sci-biology/TransDecoder: version bump 5.5.0, fix fetching Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> ...oder-2.1.0.ebuild => TransDecoder-5.5.0.ebuild} | 13 +++++++------ .../files/TransDecoder-2.1.0__fix_paths.patch | 22 ---------------------- 2 files changed, 7 insertions(+), 28 deletions(-) diff --git a/sci-biology/TransDecoder/TransDecoder-2.1.0.ebuild b/sci-biology/TransDecoder/TransDecoder-5.5.0.ebuild similarity index 88% rename from sci-biology/TransDecoder/TransDecoder-2.1.0.ebuild rename to sci-biology/TransDecoder/TransDecoder-5.5.0.ebuild index 6b462ff90..c485d4b86 100644 --- a/sci-biology/TransDecoder/TransDecoder-2.1.0.ebuild +++ b/sci-biology/TransDecoder/TransDecoder-5.5.0.ebuild @@ -1,24 +1,26 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit perl-functions toolchain-funcs DESCRIPTION="Extract ORF/CDS regions from FASTA sequences" -HOMEPAGE="http://transdecoder.github.io" +HOMEPAGE="https://github.com/TransDecoder/TransDecoder/wiki" if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/TransDecoder/TransDecoder.git" else - SRC_URI="https://github.com/TransDecoder/TransDecoder/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/TransDecoder/TransDecoder/archive/TransDecoder-v${PV}.tar.gz" KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-${PN}-v${PV}" fi LICENSE="BSD-BroadInstitute" SLOT="0" -IUSE="" + +RESTRICT="test" DEPEND="dev-lang/perl:=" RDEPEND="${DEPEND} @@ -35,7 +37,6 @@ src_prepare() { sed -e "s#use $p;#use TransDecoder::$p;#" \ -i PerlLib/*.pm util/*.pl TransDecoder.LongOrfs TransDecoder.Predict || die done - eapply "${FILESDIR}"/"${P}"__fix_paths.patch eapply "${FILESDIR}"/pfam_runner.pl.patch eapply_user diff --git a/sci-biology/TransDecoder/files/TransDecoder-2.1.0__fix_paths.patch b/sci-biology/TransDecoder/files/TransDecoder-2.1.0__fix_paths.patch deleted file mode 100644 index 0a6fca050..000000000 --- a/sci-biology/TransDecoder/files/TransDecoder-2.1.0__fix_paths.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- TransDecoder-2.0.1/TransDecoder.LongOrfs.ori 2015-11-19 21:05:53.340219051 +0100 -+++ TransDecoder-2.0.1/TransDecoder.LongOrfs 2015-11-19 21:20:44.870221380 +0100 -@@ -64,7 +64,7 @@ - use TransDecoder::Fasta_reader; - use TransDecoder::Longest_orf; - --my $UTIL_DIR = "$FindBin::RealBin/util"; -+my $UTIL_DIR = "/usr/share/TransDecoder/util/"; - $ENV{PATH} = "$UTIL_DIR/bin:$ENV{PATH}"; - - ---- TransDecoder-2.0.1/TransDecoder.Predict.ori 2015-11-19 21:06:04.280219080 +0100 -+++ TransDecoder-2.0.1/TransDecoder.Predict 2015-11-19 21:21:22.560221479 +0100 -@@ -52,7 +52,7 @@ - use TransDecoder::Fasta_reader; - use TransDecoder::Longest_orf; - --my $UTIL_DIR = "$FindBin::RealBin/util"; -+my $UTIL_DIR = "/usr/share/TransDecoder/util/"; - $ENV{PATH} = "$UTIL_DIR/bin:$ENV{PATH}"; - -