summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-12-25 22:42:24 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-12-25 22:42:24 +0000
commite46aab73eba562c69e0b8652f54ae27cc37a4658 (patch)
treedd0e38b3c4d92625fa7ab7d2e943c8aaee4b2801 /dev-util
parentRemove old (diff)
downloadhistorical-e46aab73eba562c69e0b8652f54ae27cc37a4658.tar.gz
historical-e46aab73eba562c69e0b8652f54ae27cc37a4658.tar.bz2
historical-e46aab73eba562c69e0b8652f54ae27cc37a4658.zip
dev-util/weka: version bump
Package-Manager: portage-2.1.10.43/cvs/Linux x86_64
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/weka/ChangeLog8
-rw-r--r--dev-util/weka/Manifest5
-rw-r--r--dev-util/weka/files/weka-3.6.6-build.xml.patch23
-rw-r--r--dev-util/weka/weka-3.6.6.ebuild68
4 files changed, 102 insertions, 2 deletions
diff --git a/dev-util/weka/ChangeLog b/dev-util/weka/ChangeLog
index 8eebb9ef869d..0b3abe27caa2 100644
--- a/dev-util/weka/ChangeLog
+++ b/dev-util/weka/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/weka
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.42 2011/06/23 17:19:00 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.43 2011/12/25 22:42:24 fordfrog Exp $
+
+*weka-3.6.6 (25 Dec 2011)
+
+ 25 Dec 2011; Miroslav Šulc <fordfrog@gentoo.org> +weka-3.6.6.ebuild,
+ +files/weka-3.6.6-build.xml.patch:
+ Version bump
23 Jun 2011; Brent Baude <ranger@gentoo.org> weka-3.6.4.ebuild:
Marking weka-3.6.4 ppc for bug 358515
diff --git a/dev-util/weka/Manifest b/dev-util/weka/Manifest
index e42b92212c80..8f5054bcb8f1 100644
--- a/dev-util/weka/Manifest
+++ b/dev-util/weka/Manifest
@@ -1,15 +1,18 @@
AUX weka-3.6.0-build.xml.patch 742 RMD160 e0e233c530e4d68a7737b1781ffa0128a380b47a SHA1 5174e47173f0ec8132733006bdca2235aa48e5ca SHA256 6e52155fb150dca07fb2596f6942e0fbef1ea8c2df483220448fea0d472fce5b
AUX weka-3.6.2-build.xml.patch 775 RMD160 d608795d5bce4f23ea6ebf66eec4e2670223da80 SHA1 e39de706d7910f2a3c0bbb317078403f08a8c1a0 SHA256 5af315e2f2ed3a798192feacb3c2fbda0eb716cc1b26ffdaeed9c615b6d10b4e
AUX weka-3.6.4-build.xml.patch 775 RMD160 d608795d5bce4f23ea6ebf66eec4e2670223da80 SHA1 e39de706d7910f2a3c0bbb317078403f08a8c1a0 SHA256 5af315e2f2ed3a798192feacb3c2fbda0eb716cc1b26ffdaeed9c615b6d10b4e
+AUX weka-3.6.6-build.xml.patch 775 RMD160 d608795d5bce4f23ea6ebf66eec4e2670223da80 SHA1 e39de706d7910f2a3c0bbb317078403f08a8c1a0 SHA256 5af315e2f2ed3a798192feacb3c2fbda0eb716cc1b26ffdaeed9c615b6d10b4e
DIST weka-3-5-7.zip 16356803 RMD160 a189070bd29c969f40aec19d5e92b0c5bc176cf8 SHA1 80d46f644e8a00819b1abd97576534752007caef SHA256 73e0738dbabe677389d483612c9aceb988ab609532d0f13e5bf1df7e9481f1be
DIST weka-3-5-8.zip 18596454 RMD160 56aab789080ea76e7b9ea2e315b9434d32bb1a32 SHA1 70134f48788d8636646b98900451745cbdf2da80 SHA256 b76bd74659da1ad4e3eb90ed748cad5dc1dc41c16560c71ae05d4e140a7d292f
DIST weka-3-6-0.zip 19291729 RMD160 135a71ca2149c4ad5640726b6002b4690d745ac0 SHA1 bb8a9659d62a501dcae21738608d20d18a8f72c2 SHA256 e5676d63543ab3e03310469010c0b9cdc33065074c175494b012f01a76d2d283
DIST weka-3-6-2.zip 20892580 RMD160 435eef8e81804b2cee82a4ead85dc4ea25ff16c7 SHA1 baa061128284b6d1e9aea7c572a06996194c5305 SHA256 2f11efde273c4c4f79a6b909a13defae20478df29c7898f7f2e047d1ada10a8a
DIST weka-3-6-4.zip 22112826 RMD160 6694adcb5e0feeb382a6cfd74024ba50d46a63c9 SHA1 d0d4fd9bfbea42fe270f1ecbed54533968c9e5c4 SHA256 fe737e5e58e473c263d49b699ca6f1b5fbe29c1ad1896d1d7bca62dc1acdef85
+DIST weka-3-6-6.zip 22444607 RMD160 43fd184945cba8b3af55cb460a54f7a7d1d33df3 SHA1 98563507dea4077614106a621c9f365bfd96116e SHA256 a548bea251b7e774427158cfbd52f2d22706cebde1bde703748f3c7df4519e1c
EBUILD weka-3.5.7.ebuild 2086 RMD160 b69a1ed97dbc39a0a90f6f87061e35b2f16def91 SHA1 d3c41783d737b37d68574a7e2fe11440e2c906cb SHA256 aa6fe88713132bca96e0af62d01f9478825d14f58f88eec839a3d49300e876a4
EBUILD weka-3.5.8.ebuild 2061 RMD160 2afc61d7c1037a2f9ee67626a082c0dd5161eafa SHA1 530c517cca5265a99fa60aefa38f6f9d92a155f9 SHA256 3082ba138f54129b965cb3e1941be3fb1f968874238b9aed8c13e8aae68f9c8e
EBUILD weka-3.6.0.ebuild 1609 RMD160 f23bd5fda16adfdee194798817473d76a74d2087 SHA1 9fde702f5848cb9213e8a5b300808a81da7ec7bf SHA256 79db62c529cece0d1c1f101484a2e194bf6a30f5cc5a28cc3e176ed26dc7f0b7
EBUILD weka-3.6.2.ebuild 1693 RMD160 2c45d010b59e0b412f561fc053197298f67a3690 SHA1 bf48ec505e75c703e79fe8d92d5f61675246b13d SHA256 54f71be2dfdc8f3188ded44dc6bd0704837074e856bcdb6e07b22dc0b150e5bf
EBUILD weka-3.6.4.ebuild 1693 RMD160 47c53db1fbe23a7e77dab791e9cf99ebbea41101 SHA1 17d58ee8b1d434e190468ea73193a08d248f368b SHA256 2583b8e2f57fa3177f8379ad9d56f64c5bb7a17e2861ebf276ba1bb233bbec1b
-MISC ChangeLog 5458 RMD160 1a7828913e5437c868613bcab0aefe6c9c51c0a7 SHA1 d3322b48fb4b4f1d48a8e7e070ace5eaf05de3b9 SHA256 026d238f956b9086d715ac203ef0f348b188f12ba200e07330202afdd3aaccf8
+EBUILD weka-3.6.6.ebuild 1698 RMD160 d1670ec22fe918d3b38387d401619bb198982414 SHA1 0d08d978c40a8ff8e04fa79d6b6c6d93e8333169 SHA256 e1143c285dbb0d7d03f21fe05366c063cd18aecb05a3189e39fb79d9c3328a52
+MISC ChangeLog 5612 RMD160 ac3a88a9894f316f8d016ed361f05c7db18a8e06 SHA1 a682ea0123268de93d12aa698176c7dab886d071 SHA256 69ba6249b91c92cd496cb951e755fa426951b4c032133cba44dd3bc994154683
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
diff --git a/dev-util/weka/files/weka-3.6.6-build.xml.patch b/dev-util/weka/files/weka-3.6.6-build.xml.patch
new file mode 100644
index 000000000000..29310866649c
--- /dev/null
+++ b/dev-util/weka/files/weka-3.6.6-build.xml.patch
@@ -0,0 +1,23 @@
+--- build.xml 2010-04-17 08:12:29.000000000 +0300
++++ build.xml.fixed 2010-04-17 08:37:58.000000000 +0300
+@@ -90,11 +90,6 @@
+ </copy>
+ <rmic base="${build}/classes"
+ classname="weka.experiment.RemoteEngine"/>
+- <unzip src="${lib}/java-cup.jar" dest="${build}/classes">
+- <patternset>
+- <include name="java_cup/runtime/**/*"/>
+- </patternset>
+- </unzip>
+ </target>
+
+ <!-- Make the javadocs -->
+@@ -139,7 +134,7 @@
+ </target>
+
+ <!-- compile the testcases -->
+- <target name="compile_tests" depends="init_tests, compile"
++ <target name="compile_tests" depends="init_tests"
+ description="Compile unit tests into build/testcases">
+ <javac srcdir="${src-test}"
+ fork="yes" memoryMaximumSize="${javac_max_memory}"
diff --git a/dev-util/weka/weka-3.6.6.ebuild b/dev-util/weka/weka-3.6.6.ebuild
new file mode 100644
index 000000000000..7bdc795567bb
--- /dev/null
+++ b/dev-util/weka/weka-3.6.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.6.6.ebuild,v 1.1 2011/12/25 22:42:24 fordfrog Exp $
+
+EAPI="3"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2 versionator
+
+MY_P="${PN}-$(replace_all_version_separators '-')"
+DESCRIPTION="A Java data mining package"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
+HOMEPAGE="http://www.cs.waikato.ac.nz/ml/weka/"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ >=dev-java/javacup-0.11a_beta20060608:0"
+RDEPEND=">=virtual/jre-1.5
+ >=dev-java/javacup-0.11a_beta20060608:0"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+EANT_BUILD_TARGET="exejar"
+EANT_DOC_TARGET="docs"
+JAVA_ANT_IGNORE_SYSTEM_CLASSES="true"
+
+weka_get_max_memory() {
+ if use amd64; then
+ echo 512m
+ else
+ echo 256m
+ fi
+}
+
+java_prepare() {
+ unzip -qq "${PN}-src.jar" -d . || die "Failed to unpack the source"
+ rm -v *.jar lib/*.jar || die
+ rm -rf doc || die
+ java-pkg_jar-from --into lib javacup
+ epatch "${FILESDIR}"/${P}-build.xml.patch
+ sed -i -e "s/256m/$(weka_get_max_memory)/g" build.xml || die
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dolauncher weka --main "${PN}.gui.GUIChooser"
+
+ # Really need a virtual to list all available drivers and pull the ones
+ # instaled
+ java-pkg_register-optional-dependency hsqldb,jdbc-mysql,mckoi-1
+
+ use source && java-pkg_dosrc src/main/java/weka/
+
+ dodoc README || die
+ if use doc; then
+ java-pkg_dojavadoc doc/
+ insinto /usr/share/doc/${PF}
+ doins WekaManual.pdf || die
+ fi
+
+ dodir /usr/share/${PN}/data/
+ insinto /usr/share/${PN}/data/
+ doins data/*
+}