summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-01-16 23:50:24 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-01-16 23:50:24 +0000
commit167abb280b05725df74b00e1fedcd1af078ca0d7 (patch)
tree6b34e287917d348f3d18da8d6d37248b71c8a22b /dev-util/weka
parentAdd an ebuild to install AMD's CPUs microcode which can be loaded directly by... (diff)
downloadhistorical-167abb280b05725df74b00e1fedcd1af078ca0d7.tar.gz
historical-167abb280b05725df74b00e1fedcd1af078ca0d7.tar.bz2
historical-167abb280b05725df74b00e1fedcd1af078ca0d7.zip
dev-util/weka: version bump
Package-Manager: portage-2.1.9.31/cvs/Linux x86_64
Diffstat (limited to 'dev-util/weka')
-rw-r--r--dev-util/weka/ChangeLog10
-rw-r--r--dev-util/weka/Manifest15
-rw-r--r--dev-util/weka/files/weka-3.6.4-build.xml.patch23
-rw-r--r--dev-util/weka/weka-3.6.4.ebuild68
4 files changed, 103 insertions, 13 deletions
diff --git a/dev-util/weka/ChangeLog b/dev-util/weka/ChangeLog
index 6ba52f4c0b27..34806701a9c3 100644
--- a/dev-util/weka/ChangeLog
+++ b/dev-util/weka/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/weka
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.38 2010/06/01 15:03:44 josejx Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.39 2011/01/16 23:50:24 fordfrog Exp $
+
+*weka-3.6.4 (16 Jan 2011)
+
+ 16 Jan 2011; Miroslav Šulc <fordfrog@gentoo.org> +weka-3.6.4.ebuild,
+ +files/weka-3.6.4-build.xml.patch:
+ Version bump
01 Jun 2010; Joseph Jezak <josejx@gentoo.org> weka-3.6.2.ebuild:
Marked ppc stable for bug #315685.
diff --git a/dev-util/weka/Manifest b/dev-util/weka/Manifest
index d5fe3c0383de..6de618ff4178 100644
--- a/dev-util/weka/Manifest
+++ b/dev-util/weka/Manifest
@@ -1,22 +1,15 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
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
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
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
-MISC ChangeLog 4988 RMD160 fe329576b4257135c35a27167e90ed42ecc5191f SHA1 bf20b964ddb819844d52b6f7ee80671046cbe49f SHA256 50397934c6a588a7207dbfe941f34290522c01c4aa350186fad52a2ac31b1fee
+EBUILD weka-3.6.4.ebuild 1698 RMD160 fad7097d3469aebae8c9822dfd0ce3f9d3834260 SHA1 a19fe06420878d270cd7d561611df8b7d051ea67 SHA256 dc0c8818c30756dde91058d951650720ea102fb8dd22eb283a350cea3be1918f
+MISC ChangeLog 5142 RMD160 50344dbd74c432d7a8dc13a43cb93ad7274ccc2a SHA1 3e707b0f7e0f70fb84c1584e3f96f77dc3cf1ef4 SHA256 52b2daa3830339af1ee8d9cbd72c5ac8053475a16eed157fa9cc320589cad792
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkwFIRoACgkQcsIHjyDViGTb+QCeKxnvRDbG7I4rQ/zoE9TsDnl9
-ta0AoLTPnWamjdE+/b0cke9a+xqM46XJ
-=sBe+
------END PGP SIGNATURE-----
diff --git a/dev-util/weka/files/weka-3.6.4-build.xml.patch b/dev-util/weka/files/weka-3.6.4-build.xml.patch
new file mode 100644
index 000000000000..29310866649c
--- /dev/null
+++ b/dev-util/weka/files/weka-3.6.4-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.4.ebuild b/dev-util/weka/weka-3.6.4.ebuild
new file mode 100644
index 000000000000..ed061e3ac7b5
--- /dev/null
+++ b/dev-util/weka/weka-3.6.4.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.4.ebuild,v 1.1 2011/01/16 23:50: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/*
+}