summaryrefslogtreecommitdiff
path: root/sci-biology/beast-mcmc
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-biology/beast-mcmc
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-biology/beast-mcmc')
-rw-r--r--sci-biology/beast-mcmc/Manifest2
-rw-r--r--sci-biology/beast-mcmc/beast-mcmc-1.5.2.ebuild82
-rw-r--r--sci-biology/beast-mcmc/beast-mcmc-1.7.5.ebuild86
-rw-r--r--sci-biology/beast-mcmc/beast-mcmc-9999.ebuild81
-rw-r--r--sci-biology/beast-mcmc/metadata.xml5
5 files changed, 256 insertions, 0 deletions
diff --git a/sci-biology/beast-mcmc/Manifest b/sci-biology/beast-mcmc/Manifest
new file mode 100644
index 00000000000..7fd843d7d42
--- /dev/null
+++ b/sci-biology/beast-mcmc/Manifest
@@ -0,0 +1,2 @@
+DIST beast-mcmc-1.5.2.tar.bz2 38834702 SHA256 f7312c6a7a14f6b32e9701a6386ff87728574460b7861880aa2cb87290756ea1 SHA512 8549db6cb49d64eb3a97fa6478bdbabfecd44ccc6236c474a1961ec5d6fc8326072fb961035df70982a9f1c08a36572529a07b88e2d33a43fa0fd5c07df3a414 WHIRLPOOL 595f606640daa32c79373c9003ddbc1f80dcbbf01e9e9c18191328b80eb50b45ac70032027dd1efb0e256d78b88bfe1742151a16f6f333938099943a7b2cd16a
+DIST beast-mcmc-1.7.5.tar.xz 40516312 SHA256 905248cbf07513a0d11375656391d86e310d28f07b6fe78de6b9768eb2548f4f SHA512 9b2ab98fdc5a173e8d9fc74d27cdfd8105e9685fdcbe69a373666e77b6865b74fdd87dfa404fc4ab5bea927728d5b6b35fabd5e376a66e5f014e978952797937 WHIRLPOOL 2daded22cfd59b3b44908ce27f4ef61178f5d174de02080a7e94ba311462f482e381556d4b81bc053e33e1c4bb193d172f2c23f331659b3548f7900d3fc297d5
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 00000000000..d25ed786a75
--- /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
+# $Id$
+
+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
+}
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 00000000000..35993562814
--- /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
+# $Id$
+
+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/beast-mcmc-9999.ebuild b/sci-biology/beast-mcmc/beast-mcmc-9999.ebuild
new file mode 100644
index 00000000000..30c1a375101
--- /dev/null
+++ b/sci-biology/beast-mcmc/beast-mcmc-9999.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+
+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=""
+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
+}
diff --git a/sci-biology/beast-mcmc/metadata.xml b/sci-biology/beast-mcmc/metadata.xml
new file mode 100644
index 00000000000..f17a827e310
--- /dev/null
+++ b/sci-biology/beast-mcmc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-biology</herd>
+</pkgmetadata>