diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-02-18 12:05:56 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-02-18 12:05:56 +0000 |
commit | 4d791867c44e899f03f15fa0ffd6bfcf95e39156 (patch) | |
tree | 92622f7f0c58b4adc2754d624db73f10f8e3a358 /sci-biology/beast-mcmc | |
parent | QA: fix whitespaces in PATCHES array definition (diff) | |
download | gentoo-2-4d791867c44e899f03f15fa0ffd6bfcf95e39156.tar.gz gentoo-2-4d791867c44e899f03f15fa0ffd6bfcf95e39156.tar.bz2 gentoo-2-4d791867c44e899f03f15fa0ffd6bfcf95e39156.zip |
sci-biology/beast-mcmc: Version Bump, fixes missing package, #374277
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-biology/beast-mcmc')
-rw-r--r-- | sci-biology/beast-mcmc/ChangeLog | 10 | ||||
-rw-r--r-- | sci-biology/beast-mcmc/beast-mcmc-1.7.5.ebuild | 86 | ||||
-rw-r--r-- | sci-biology/beast-mcmc/metadata.xml | 10 |
3 files changed, 99 insertions, 7 deletions
diff --git a/sci-biology/beast-mcmc/ChangeLog b/sci-biology/beast-mcmc/ChangeLog index 7990118817a7..c517c6648f80 100644 --- a/sci-biology/beast-mcmc/ChangeLog +++ b/sci-biology/beast-mcmc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-biology/beast-mcmc -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/beast-mcmc/ChangeLog,v 1.4 2010/03/21 01:21:23 weaver Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/beast-mcmc/ChangeLog,v 1.5 2013/02/18 12:05:56 jlec Exp $ + +*beast-mcmc-1.7.5 (18 Feb 2013) + + 18 Feb 2013; Justin Lecher <jlec@gentoo.org> +beast-mcmc-1.7.5.ebuild, + metadata.xml: + Version Bump, fixes missing package, #374277 20 Mar 2010; Andrey Kislyuk <weaver@gentoo.org> -beast-mcmc-1.5.1.ebuild: Drop old version diff --git a/sci-biology/beast-mcmc/beast-mcmc-1.7.5.ebuild b/sci-biology/beast-mcmc/beast-mcmc-1.7.5.ebuild new file mode 100644 index 000000000000..69168b89db00 --- /dev/null +++ b/sci-biology/beast-mcmc/beast-mcmc-1.7.5.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/beast-mcmc/beast-mcmc-1.7.5.ebuild,v 1.1 2013/02/18 12:05:56 jlec Exp $ + +EAPI=5 + +ESVN_REPO_URI="http://beast-mcmc.googlecode.com/svn/trunk/" + +WANT_ANT_TASKS="ant-junit4" +EANT_GENTOO_CLASSPATH="colt,jdom-1.0,itext,junit-4,jebl,matrix-toolkits-java,commons-math-2,jdom-jaxen-1.0" +JAVA_ANT_REWRITE_CLASSPATH="true" +JAVA_ANT_ENCODING="latin1" +JAVA_PKG_BSFIX_NAME="build.xml build_BEAST_MCMC.xml build_coalsim.xml build_development.xml build_pathogen.xml build_release.xml build_treestat.xml build_vcs.xml" + +#inherit java-pkg-2 java-ant-2 eutils subversion +inherit java-pkg-2 java-ant-2 eutils + +MY_P=BEASTv${PV} + +DESCRIPTION="Bayesian MCMC of Evolution & Phylogenetics using Molecular Sequences" +HOMEPAGE="http://code.google.com/p/beast-mcmc/" +#SRC_URI="" +SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# TODO: sys-cluster/mpijava +COMMON_DEPS=" + dev-java/colt:0 + dev-java/jdom:1.0 + dev-java/itext:0 + dev-java/junit:4 + dev-java/jebl:0 + dev-java/matrix-toolkits-java + dev-java/commons-math:2 + dev-java/jdom-jaxen:1.0" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEPS}" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEPS}" + +S="${WORKDIR}/beast_release_${PV//./_}" + +src_prepare() { + sed -i '/BEAST_LIB/ s|$BEAST|/usr/share/beast|' "${S}"/release/Linux/scripts/* || die + cd lib + rm -v colt.jar junit-*.jar itext-*.jar jdom.jar mtj.jar commons-math-*.jar || die + #rm -v colt.jar junit-*.jar itext-*.jar jdom.jar jebl.jar mtj.jar commons-math-*.jar || die + java-pkg_jar-from jdom-1.0 + java-pkg_jar-from colt + java-pkg_jar-from itext +# java-pkg_jar-from jebl + java-pkg_jar-from matrix-toolkits-java + java-pkg_jar-from commons-math-2 + java-pkg-2_src_prepare +} + +src_compile() { + eant dist_all_BEAST -f build_BEAST_MCMC.xml \ + -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) || die + eant dist -f build_pathogen.xml \ + -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) || die +} + +src_install() { + java-pkg_dojar build/dist/*.jar dist/*.jar + + java-pkg_dolauncher beauti --jar beauti.jar --java_args '-Xms64m -Xmx256m' +# java-pkg_dolauncher beauti --main dr.app.beauti.BeautiApp --java_args '-Xms64m -Xmx256m' + java-pkg_dolauncher beast --main dr.app.beast.BeastMain --java_args '-Xms64m -Xmx256m' + java-pkg_dolauncher loganalyser --main dr.app.tools.LogAnalyser --java_args '-Xms64m -Xmx256m' + java-pkg_dolauncher logcombiner --main dr.app.tools.LogCombiner --java_args '-Xms64m -Xmx256m' + java-pkg_dolauncher treeannotator --main dr.app.tools.TreeAnnotator --java_args '-Xms64m -Xmx256m' + + insinto /usr/share/${PN} + doins -r examples + dodoc NOTIFY doc/*.pdf +} + +src_test() { + eant junit -f build.xml \ + -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) +} diff --git a/sci-biology/beast-mcmc/metadata.xml b/sci-biology/beast-mcmc/metadata.xml index 3302123e5718..fc7c76942a10 100644 --- a/sci-biology/beast-mcmc/metadata.xml +++ b/sci-biology/beast-mcmc/metadata.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer> - <email>weaver@gentoo.org</email> - <name>Andrey Kislyuk</name> - </maintainer> - <herd>sci-biology</herd> + <maintainer> + <email>weaver@gentoo.org</email> + <name>Andrey Kislyuk</name> + </maintainer> + <herd>sci-biology</herd> </pkgmetadata> |