summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-18 23:20:02 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-18 23:20:02 +0000
commit12603b877ff30e6f971cb0dce8b3c7afdf3443a1 (patch)
treeb4e76194e74277c4bc7fad566650c1e1a8bf8905 /dev-util
parentNew upstream release. Fixes #71325. (Manifest recommit) (diff)
downloadgentoo-2-12603b877ff30e6f971cb0dce8b3c7afdf3443a1.tar.gz
gentoo-2-12603b877ff30e6f971cb0dce8b3c7afdf3443a1.tar.bz2
gentoo-2-12603b877ff30e6f971cb0dce8b3c7afdf3443a1.zip
Fixes #50414, thanks to Jan 'the powerhouse' Brinkmann.
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/weka/ChangeLog9
-rw-r--r--dev-util/weka/Manifest12
-rw-r--r--dev-util/weka/files/digest-weka-3.4.3_p200411132
-rw-r--r--dev-util/weka/files/weka-build_xml.patch50
-rw-r--r--dev-util/weka/weka-3.4.3_p20041113.ebuild54
5 files changed, 116 insertions, 11 deletions
diff --git a/dev-util/weka/ChangeLog b/dev-util/weka/ChangeLog
index c6b97582557a..d939e7039506 100644
--- a/dev-util/weka/ChangeLog
+++ b/dev-util/weka/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/weka
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.6 2004/11/03 11:49:42 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.7 2004/12/18 23:20:02 karltk Exp $
+
+*weka-3.4.3_p20041113 (19 Dec 2004)
+
+ 19 Dec 2004; <karltk@gentoo.org> +files/weka-build_xml.patch,
+ +weka-3.4.3_p20041113.ebuild:
+ New upstream version. Ebuild submitted by the ever so industriuos Jan
+ Brinkmann <lucky@the-luckyduck.de>. Fixes #50414.
03 Nov 2004; Thomas Matthijs <axxo@gentoo.org> weka-3.4.1-r1.ebuild,
weka-3.4.1.ebuild:
diff --git a/dev-util/weka/Manifest b/dev-util/weka/Manifest
index 8d5227173b4b..7457ef64d938 100644
--- a/dev-util/weka/Manifest
+++ b/dev-util/weka/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 7a6d36a913cbcf5c82d8209436e547c6 weka-3.4.1-r1.ebuild 1401
MD5 909ac71f974e435286a7a0b7632c24f1 weka-3.4.1.ebuild 773
+MD5 dae5dd83af941feac593e75ad1dbfccd weka-3.4.3_p20041113.ebuild 1383
MD5 05a75e086ab65465d7d805f4dbb6c712 ChangeLog 877
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 6fe760afce2d4d198e9453a6171e7913 files/digest-weka-3.4.1 60
MD5 6fe760afce2d4d198e9453a6171e7913 files/digest-weka-3.4.1-r1 60
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBiMXc/rLF9B432nYRAnIQAKCYjAZPYvj8hSZCgjmt5SoCmw49EgCgr4u2
-gAtLGJfwNk7RDQ7PolIUSEg=
-=5p/6
------END PGP SIGNATURE-----
+MD5 e6cdfc65e52842dc2d8910061cdbb9e7 files/digest-weka-3.4.3_p20041113 143
diff --git a/dev-util/weka/files/digest-weka-3.4.3_p20041113 b/dev-util/weka/files/digest-weka-3.4.3_p20041113
new file mode 100644
index 000000000000..c00e1aa87a05
--- /dev/null
+++ b/dev-util/weka/files/digest-weka-3.4.3_p20041113
@@ -0,0 +1,2 @@
+MD5 8e4e0554f26752932f6ca8a3d51162e3 weka-20041113.tar.bz2 1322061
+MD5 b839ae409802f65bf8767326aede5f90 weka-datasets-20041113.tar.bz2 8628938
diff --git a/dev-util/weka/files/weka-build_xml.patch b/dev-util/weka/files/weka-build_xml.patch
new file mode 100644
index 000000000000..19b6f9c2d0e4
--- /dev/null
+++ b/dev-util/weka/files/weka-build_xml.patch
@@ -0,0 +1,50 @@
+diff -uprN weka.orig/build.xml weka/build.xml
+--- weka.orig/build.xml 2004-11-14 17:25:34.451506656 +0100
++++ weka/build.xml 2004-11-14 17:27:31.085775552 +0100
+@@ -45,7 +45,8 @@
+ <target name="compile_inline" depends="init_all"
+ description="Compile weka and leave class files in the source tree">
+ <javac srcdir="${path_modifier}weka"
+- destdir="${path_modifier}"/>
++ destdir="${path_modifier}"
++ source="1.4" target="1.4" />
+ <rmic base="${path_modifier}"
+ classname="weka.experiment.RemoteEngine"/>
+ </target>
+@@ -61,7 +62,8 @@
+ <property name="build.compiler.emacs" value="true"/>
+ <javac srcdir="${path_modifier}weka"
+ destdir="${path_modifier}"
+- deprecation="on" />
++ deprecation="on"
++ source="1.4" target="1.4" />
+ <rmic base="${path_modifier}"
+ classname="weka.experiment.RemoteEngine"/>
+ </target>
+@@ -70,7 +72,8 @@
+ <target name="compile" depends="init_compile"
+ description="Compile weka and deposit class files in ${path_modifier}/build/classes">
+ <javac srcdir="${path_modifier}weka"
+- destdir="${path_modifier}${build}/classes"/>
++ destdir="${path_modifier}${build}/classes"
++ source="1.4" target="1.4" />
+ <copy todir="${path_modifier}${build}/classes" >
+ <fileset dir="${path_modifier}.">
+ <include name="weka/**/*.props"/>
+@@ -117,7 +120,8 @@
+ <target name="compile_tests" depends="init_tests, compile"
+ description="Compile unit tests into ${path_modifier}/build/testcases">
+ <javac srcdir="${path_modifier}tests"
+- destdir="${path_modifier}${build}/testcases">
++ destdir="${path_modifier}${build}/testcases"
++ source="1.4" target="1.4" >
+ <classpath>
+ <pathelement location="${path_modifier}${build}/classes"/>
+ <pathelement path="${path_modifier}${java.class.path}"/>
+@@ -343,4 +347,4 @@
+ <delete dir="${path_modifier}tests"/>
+ <delete dir="${path_modifier}${doc}"/>
+ </target>
+-</project>
+\ No newline at end of file
++</project>
diff --git a/dev-util/weka/weka-3.4.3_p20041113.ebuild b/dev-util/weka/weka-3.4.3_p20041113.ebuild
new file mode 100644
index 000000000000..a334f1620d76
--- /dev/null
+++ b/dev-util/weka/weka-3.4.3_p20041113.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.4.3_p20041113.ebuild,v 1.1 2004/12/18 23:20:02 karltk Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="A Java data mining package"
+SRC_URI="http://dev.gentoo.org/~karltk/projects/java/distfiles/${PN}-20041113.tar.bz2
+ http://dev.gentoo.org/~karltk/projects/java/distfiles/${PN}-datasets-20041113.tar.bz2"
+HOMEPAGE="http://www.cs.waikato.ac.nz/ml/weka/"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip"
+# jikes?( >=dev-java/jikes-1.21 )"
+RDEPEND=">=virtual/jre-1.4"
+IUSE="doc" # jikes"
+
+S=${WORKDIR}/${PN}-20041113
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ mv ${PN}-20041113 ${PN}
+ epatch ${FILESDIR}/weka-build_xml.patch
+}
+
+src_compile() {
+ cd weka
+
+ # all attempts to build it with jikes failed
+ antflags="exejar srcjar remotejar"
+ use doc && antflags="${antflags} docs"
+# use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "ant build failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/*.jar || die "failed to install"
+
+ mkdir bin
+ echo "#!/bin/sh" > bin/${PN}
+ echo "java -classpath \$(java-config -p weka) weka.gui.GUIChooser" >> bin/${PN}
+ into /usr
+ dobin bin/${PN}
+
+ use doc && java-pkg_dohtml -r doc/*
+
+ dodir /usr/share/${PN}/data/ || die "couldnt create data-dir"
+ cp -r numeric UCI regression-datasets ${D}/usr/share/${PN}/data \
+ || die "failed to copy datasets"
+}