summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-10-19 15:07:01 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-10-19 15:07:01 +0000
commitbf018711b6252f3823727ec2f23b0f6f173048e4 (patch)
treea12f3016931d79bb818635ac8950b28bc807bf95
parentamd64/x86 stable wrt #226695 (diff)
downloadgentoo-2-bf018711b6252f3823727ec2f23b0f6f173048e4.tar.gz
gentoo-2-bf018711b6252f3823727ec2f23b0f6f173048e4.tar.bz2
gentoo-2-bf018711b6252f3823727ec2f23b0f6f173048e4.zip
Version bump
(Portage version: 2.2_rc30/cvs/Linux x86_64)
-rw-r--r--sci-biology/beast-mcmc/ChangeLog7
-rw-r--r--sci-biology/beast-mcmc/beast-mcmc-1.5.2.ebuild82
2 files changed, 88 insertions, 1 deletions
diff --git a/sci-biology/beast-mcmc/ChangeLog b/sci-biology/beast-mcmc/ChangeLog
index 7fd908964e7a..484953414278 100644
--- a/sci-biology/beast-mcmc/ChangeLog
+++ b/sci-biology/beast-mcmc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/beast-mcmc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/beast-mcmc/ChangeLog,v 1.2 2009/10/19 03:55:31 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/beast-mcmc/ChangeLog,v 1.3 2009/10/19 15:07:01 weaver Exp $
+
+*beast-mcmc-1.5.2 (19 Oct 2009)
+
+ 19 Oct 2009; Andrey Kislyuk <weaver@gentoo.org> +beast-mcmc-1.5.2.ebuild:
+ Version bump
18 Oct 2009; Andrey Kislyuk <weaver@gentoo.org> beast-mcmc-9999.ebuild:
Address upstream changes in live ebuild
diff --git a/sci-biology/beast-mcmc/beast-mcmc-1.5.2.ebuild b/sci-biology/beast-mcmc/beast-mcmc-1.5.2.ebuild
new file mode 100644
index 000000000000..99a7be94b578
--- /dev/null
+++ b/sci-biology/beast-mcmc/beast-mcmc-1.5.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2009 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.5.2.ebuild,v 1.1 2009/10/19 15:07:01 weaver Exp $
+
+EAPI="2"
+
+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
+
+DESCRIPTION="Bayesian MCMC of Evolution & Phylogenetics using Molecular Sequences"
+HOMEPAGE="http://code.google.com/p/beast-mcmc/"
+#SRC_URI=""
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+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}"/scripts/* || die
+ cd lib
+ 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-1
+ 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 || die
+ dodoc NOTIFY doc/*.pdf
+}
+
+src_test() {
+ eant junit -f build_BEAST_MCMC.xml \
+ -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) || die
+}