diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-11-01 10:09:26 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-11-01 10:09:26 +0000 |
commit | 1c133124c0d520c73c2ec2aa19870dfaf4796229 (patch) | |
tree | 72451827896301f7e68c69c6ef019d5f1de45e08 /dev-util/weka | |
parent | Small cleanup. (diff) | |
download | gentoo-2-1c133124c0d520c73c2ec2aa19870dfaf4796229.tar.gz gentoo-2-1c133124c0d520c73c2ec2aa19870dfaf4796229.tar.bz2 gentoo-2-1c133124c0d520c73c2ec2aa19870dfaf4796229.zip |
Version bump. Remove old. Fixes bug #213183.
(Portage version: 2.2_rc12/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-util/weka')
-rw-r--r-- | dev-util/weka/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/weka/weka-3.4.10.ebuild | 74 | ||||
-rw-r--r-- | dev-util/weka/weka-3.5.8.ebuild (renamed from dev-util/weka/weka-3.5.6.ebuild) | 10 |
3 files changed, 13 insertions, 79 deletions
diff --git a/dev-util/weka/ChangeLog b/dev-util/weka/ChangeLog index 316c2f7a881f..a2076e421c8f 100644 --- a/dev-util/weka/ChangeLog +++ b/dev-util/weka/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/weka # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.29 2008/07/01 20:24:10 ken69267 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.30 2008/11/01 10:09:26 serkan Exp $ + +*weka-3.5.8 (01 Nov 2008) + + 01 Nov 2008; Serkan Kaba <serkan@gentoo.org> -weka-3.4.10.ebuild, + -weka-3.5.6.ebuild, +weka-3.5.8.ebuild: + Version bump. Remove old. Fixes bug #213183. 01 Jul 2008; Kenneth Prugh <ken69267@gentoo.org> weka-3.5.7.ebuild: amd64 stable, bug #219670 diff --git a/dev-util/weka/weka-3.4.10.ebuild b/dev-util/weka/weka-3.4.10.ebuild deleted file mode 100644 index 4534ee20ea02..000000000000 --- a/dev-util/weka/weka-3.4.10.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.4.10.ebuild,v 1.4 2007/12/06 15:55:35 drac Exp $ - -JAVA_PKG_IUSE="doc source" - -inherit eutils java-pkg-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.4 - app-arch/unzip" -RDEPEND=">=virtual/jre-1.4" -IUSE="" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd "${S}" - - unzip -qq "${PN}-src.jar" -d src || die "Failed to unpack the source" - - rm *.jar -} - -src_compile() { - mkdir build dist - echo "Compiling sources" - # We need to set the maximum heap size to 128m to avoid - # OutOfMemoryErrors - find src/ -name "*.java" | xargs javac -J-Xmx128m -d build \ - $(java-pkg_javac-args) -sourcepath src/ -nowarn \ - || die "Failed to compile ${i}" - - echo "Copying resources" - cd src - find . -type f -not -name '*.java' -and -not -name "*.MF" -print | \ - while read file; do - mkdir -p $(dirname "../build/${file}") - cp "${file}" "../build/${file}" || die "Failed to extract resources" - done - cd .. - - echo "Creating JAR" - jar cf dist/${PN}.jar -C build . || die "Failed to create JAR archive" - - if use doc ; then - mkdir -p dist/doc - echo "Generating javadocs" - find src/ -name "*.java" | xargs javadoc -d dist/doc/ \ - -J-Xmx128m -quiet || die "Failed to generate javadoc" - fi -} - -src_install() { - java-pkg_dojar dist/*.jar - - java-pkg_dolauncher weka --main "${PN}.gui.GUIChooser" - - use source && java-pkg_dosrc src/* - - dodoc README - use doc && java-pkg_dojavadoc dist/doc/ - - dodir /usr/share/${PN}/data/ - insinto /usr/share/${PN}/data/ - doins data/* -} diff --git a/dev-util/weka/weka-3.5.6.ebuild b/dev-util/weka/weka-3.5.8.ebuild index fa8d858d8c4d..785984d05bf5 100644 --- a/dev-util/weka/weka-3.5.6.ebuild +++ b/dev-util/weka/weka-3.5.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.5.6.ebuild,v 1.1 2007/12/07 19:03:17 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.5.8.ebuild,v 1.1 2008/11/01 10:09:26 serkan Exp $ JAVA_PKG_IUSE="doc source" @@ -34,7 +34,9 @@ src_compile() { echo "Compiling sources" # We need to set the maximum heap size to 128m to avoid # OutOfMemoryErrors - find src/ -name "*.java" | xargs javac -J-Xmx128m -d build \ + local mem=128 + use amd64 && mem=256 + find src/ -name "*.java" | xargs javac -J-Xmx${mem}m -d build \ $(java-pkg_javac-args) -sourcepath src/ -nowarn \ || die "Failed to compile sources" @@ -54,7 +56,7 @@ src_compile() { mkdir -p dist/doc echo "Generating javadocs" find src/ -name "*.java" | xargs javadoc -d dist/doc/ \ - -J-Xmx128m -quiet || die "Failed to generate javadoc" + -J-Xmx${mem}m -quiet || die "Failed to generate javadoc" fi } |