summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-18 22:07:54 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-18 22:07:54 +0000
commit13d7c9b1689e933536291f44eb0b932fa06e5ba2 (patch)
tree09f218646b92831153a10f1bfa4e2fddb71d809b /dev-util/weka
parentremove base inherit (diff)
downloadgentoo-2-13d7c9b1689e933536291f44eb0b932fa06e5ba2.tar.gz
gentoo-2-13d7c9b1689e933536291f44eb0b932fa06e5ba2.tar.bz2
gentoo-2-13d7c9b1689e933536291f44eb0b932fa06e5ba2.zip
style fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-util/weka')
-rw-r--r--dev-util/weka/files/digest-weka-3.4.11
-rw-r--r--dev-util/weka/files/digest-weka-3.4.1-r11
-rw-r--r--dev-util/weka/weka-3.4.1-r1.ebuild54
-rw-r--r--dev-util/weka/weka-3.4.1.ebuild30
-rw-r--r--dev-util/weka/weka-3.4.3_p20041113.ebuild11
5 files changed, 5 insertions, 92 deletions
diff --git a/dev-util/weka/files/digest-weka-3.4.1 b/dev-util/weka/files/digest-weka-3.4.1
deleted file mode 100644
index 933077cdd243..000000000000
--- a/dev-util/weka/files/digest-weka-3.4.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 525d6a5220d6fe917fdb08efcbb1c97d weka-3-4-1.zip 6886727
diff --git a/dev-util/weka/files/digest-weka-3.4.1-r1 b/dev-util/weka/files/digest-weka-3.4.1-r1
deleted file mode 100644
index 933077cdd243..000000000000
--- a/dev-util/weka/files/digest-weka-3.4.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 525d6a5220d6fe917fdb08efcbb1c97d weka-3-4-1.zip 6886727
diff --git a/dev-util/weka/weka-3.4.1-r1.ebuild b/dev-util/weka/weka-3.4.1-r1.ebuild
deleted file mode 100644
index 701727ca675b..000000000000
--- a/dev-util/weka/weka-3.4.1-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.4.1-r1.ebuild,v 1.5 2005/03/04 10:57:09 luckyduck Exp $
-
-inherit java-pkg
-
-DESCRIPTION="A Java data mining package"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV//./-}.zip"
-HOMEPAGE="http://www.cs.waikato.ac.nz/ml/weka/"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-DEPEND=">=virtual/jdk-1.4.1
- app-arch/unzip
- dev-java/ant"
-IUSE="doc"
-
-S=${WORKDIR}/${PN}-3-4
-
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- mkdir build
- jar xf weka.jar || die "failed to unpack"
-
- find weka/ -type f -name '*.class' -exec rm -f {} \; || die "failed to remove classes"
- cp -r weka build || die "failed to copy"
-
- rm -rf weka
- jar xf weka-src.jar || die "failed to unpack"
-
- rm -f *.jar
-}
-
-src_compile() {
- javac -nowarn -classpath . $(find weka -name '*.java') -d build || die "failed to compile"
- jar cf ${PN}.jar -C build .
-}
-
-src_install() {
- java-pkg_dojar ${PN}.jar || die "failed installing"
-
- mkdir bin
- echo "#!/bin/sh" > bin/${PN}
- echo "java -classpath \$(java-config -p weka) weka.gui.GUIChooser" >> bin/${PN}
- dobin bin/${PN}
-
- dodir /usr/share/${PN}/data/
- cp data/* ${D}/usr/share/${PN}/data/ || die "failed to copy data"
- use doc && java-pkg_dohtml -r doc/*
- dodoc README* COPYING CHANGELOG-${PV//./-}
- cp *.pdf ${D}/usr/share/doc/${PF}/ || die "failed to copy docs"
-}
diff --git a/dev-util/weka/weka-3.4.1.ebuild b/dev-util/weka/weka-3.4.1.ebuild
deleted file mode 100644
index 188165cf83de..000000000000
--- a/dev-util/weka/weka-3.4.1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.4.1.ebuild,v 1.7 2005/03/04 10:57:09 luckyduck Exp $
-
-inherit java-pkg
-
-DESCRIPTION="A Java data mining package"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV//./-}.zip"
-HOMEPAGE="http://www.cs.waikato.ac.nz/ml/weka/"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86"
-DEPEND=">=virtual/jdk-1.4.1
- app-arch/unzip
- dev-java/ant"
-IUSE="doc"
-
-S=${WORKDIR}/${PN}-3-4
-
-src_compile() { :; }
-
-src_install() {
- java-pkg_dojar *.jar || die "failed installing"
-
- dodir /usr/share/${PN}/data/
- cp data/* ${D}/usr/share/${PN}/data/
- use doc && java-pkg_dohtml -r doc/*
- dodoc README* COPYING CHANGELOG-${PV//./-}
- cp *.pdf ${D}/usr/share/doc/${P}/
-}
diff --git a/dev-util/weka/weka-3.4.3_p20041113.ebuild b/dev-util/weka/weka-3.4.3_p20041113.ebuild
index 49be435a31e5..2798edae68eb 100644
--- a/dev-util/weka/weka-3.4.3_p20041113.ebuild
+++ b/dev-util/weka/weka-3.4.3_p20041113.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.4 2005/05/07 20:51:44 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.4.3_p20041113.ebuild,v 1.5 2005/07/18 22:07:54 axxo Exp $
inherit eutils java-pkg
@@ -12,7 +12,7 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 amd64 ~ppc"
DEPEND=">=virtual/jdk-1.4
- dev-java/ant"
+ dev-java/ant-core"
# jikes?( >=dev-java/jikes-1.21 )"
RDEPEND=">=virtual/jre-1.4"
IUSE="doc" # jikes"
@@ -31,24 +31,23 @@ src_compile() {
cd weka
# all attempts to build it with jikes failed
- antflags="exejar srcjar remotejar"
+ local 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"
+ java-pkg_dojar dist/*.jar
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"
+ dodir /usr/share/${PN}/data/
cp -r numeric UCI regression-datasets ${D}/usr/share/${PN}/data \
|| die "failed to copy datasets"
}