commit: 0f4e45ded71e8be3133d43e0fd57cc8ae47ae9eb Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Tue Jan 19 14:53:57 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Tue Jan 19 14:54:10 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0f4e45de
sci-biology/cgview-bin: version bump, fix fetch Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> profiles/package.mask | 1 - ...bin-20131130.ebuild => cgview-bin-1.0.0.ebuild} | 29 ++++++++-------------- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index ff4b8f568..35bcedf56 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -46,4 +46,3 @@ sci-biology/beagle sci-biology/blue sci-biology/cd-hit-auxtools sci-biology/cegma -sci-biology/cgview-bin diff --git a/sci-biology/cgview-bin/cgview-bin-20131130.ebuild b/sci-biology/cgview-bin/cgview-bin-1.0.0.ebuild similarity index 65% rename from sci-biology/cgview-bin/cgview-bin-20131130.ebuild rename to sci-biology/cgview-bin/cgview-bin-1.0.0.ebuild index 671466fc8..2d1f4103b 100644 --- a/sci-biology/cgview-bin/cgview-bin-20131130.ebuild +++ b/sci-biology/cgview-bin/cgview-bin-1.0.0.ebuild @@ -1,21 +1,17 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit java-pkg-2 - -PERL_EXPORT_PHASE_FUNCTIONS=no -inherit perl-module eutils toolchain-funcs +inherit java-pkg-2 perl-module eutils toolchain-funcs DESCRIPTION="CGView Comparison Tool to compare genome sequences graphically (aka CCT)" -HOMEPAGE="http://stothard.afns.ualberta.ca/downloads/CCT" -SRC_URI="http://www.ualberta.ca/~stothard/downloads/cgview_comparison_tool.zip" +HOMEPAGE="https://paulstothard.github.io/cgview_comparison_tool/" +SRC_URI="https://github.com/paulstothard/cgview_comparison_tool/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="" -IUSE="" +KEYWORDS="~amd64" DEPEND=" >=dev-lang/perl-5.8.8 @@ -28,17 +24,14 @@ DEPEND=" >=sci-biology/bioperl-1.4.0" RDEPEND="${DEPEND}" -S="${WORKDIR}"/cgview_comparison_tool - -src_test(){ - ./update_cogs.sh || die - ./test.sh || die -} +S="${WORKDIR}/cgview_comparison_tool-${PV}" src_install() { insinto /usr/share/${PN}/scripts chmod a+x scripts/* # BUG: this does not work - doins scripts/* + doins -r scripts/* + insinto /usr/share/${PN}/lib/scripts + doins -r lib/scripts/* echo 'CCT_HOME='${EPREFIX}'/usr/share/cgview' > "${S}/99cgview" echo 'PATH="$PATH":"'${CCT_HOME}'/scripts"' >> "${S}/99cgview" doenvd "${S}/99cgview" @@ -47,5 +40,5 @@ src_install() { doins lib/perl_modules/Util/*.pm # # Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/batik/svggen/SVGGraphics2DIOException - java-pkg_dojar bin/cgview.jar + java-pkg_dojar bin/cgview/cgview.jar }
