commit: be568843cdf33c76d056f5cd84d221bd57b78dbc Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Fri Apr 17 21:36:50 2015 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Fri Apr 17 21:36:50 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=be568843
sci-biology/cegma: re-added KEYWORDS because sci-biology/ncbi-tools++ is now available; fixed installation of perl-related files; dropped hmmer from DEPEND Package-Manager: portage-2.2.18 sci-biology/cegma/ChangeLog | 5 ++++- sci-biology/cegma/cegma-2.5.ebuild | 22 ++++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/sci-biology/cegma/ChangeLog b/sci-biology/cegma/ChangeLog index aae6086..760074c 100644 --- a/sci-biology/cegma/ChangeLog +++ b/sci-biology/cegma/ChangeLog @@ -2,10 +2,13 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 17 Apr 2015; Martin Mokrejs <[email protected]> cegma-2.5.ebuild: + sci-biology/cegma: re-added KEYWORDS because sci-biology/ncbi-tools++ is now + available; fixed installation of perl-related files; dropped hmmer from DEPEND + 10 Jan 2015; Justin Lecher <[email protected]> cegma-2.5.ebuild: Fix license;drop keywords due to missing keyowrds of deps 10 Jan 2015; Martin Mokrejs <[email protected]> +cegma-2.5.ebuild, +metadata.xml: new package; install *.pm into PERL5LIB/cegma and pass that via env.d - diff --git a/sci-biology/cegma/cegma-2.5.ebuild b/sci-biology/cegma/cegma-2.5.ebuild index bbc1199..ba9f799 100644 --- a/sci-biology/cegma/cegma-2.5.ebuild +++ b/sci-biology/cegma/cegma-2.5.ebuild @@ -4,34 +4,36 @@ EAPI=5 +PERL_EXPORT_PHASE_FUNCTIONS=no +inherit perl-module eutils toolchain-funcs + DESCRIPTION="Predict genes in a genome and use them for training to find all genes" HOMEPAGE="http://korflab.ucdavis.edu/datasets/cegma" SRC_URI="http://korflab.ucdavis.edu/datasets/cegma/CEGMA_v${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64" IUSE="" DEPEND=" - dev-lang/perl sci-biology/wise - >=sci-biology/hmmer-3.0 sci-biology/geneid sci-biology/ncbi-tools++" + # >=sci-biology/hmmer-3.0 RDEPEND="${DEPEND}" S="${WORKDIR}"/CEGMA_v${PV} src_install(){ dobin bin/* - eval `perl '-V:installvendorlib'` - vendor_lib_install_dir="${installvendorlib}" - dodir ${vendor_lib_install_dir}/cegma - insinto ${vendor_lib_install_dir}/cegma + perl_set_version + insinto ${VENDOR_LIB} doins lib/*.pm +} - echo "PERL5LIB="${vendor_lib_install_dir}"/cegma" > ${S}"/99cegma" - # echo "CEGMATMP=/var/tmp" >> ${S}"/99cegma" - doenvd ${S}"/99cegma" || die +pkg_postinst(){ + ewarn "cegma needs >=sci-biology/hmmer-3.0 but sci-biology/wise uses sci-biology/hmmer-2.3" + ewarn "hmmer-3 is not backwards compatible and does not even have all its previous features" + ewarn "Therefore, we do not list hmmer in the list of DEPENDENCIES." }
