diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-02-07 19:34:04 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-02-07 19:34:04 +0000 |
commit | 2d07ffcef0b8f772c889cf1d8804ff4f3e465fc3 (patch) | |
tree | eaa081a6da3e5bd49ca2c12761023690d4452fe1 /dev-util/weka | |
parent | amd64 stable (diff) | |
download | historical-2d07ffcef0b8f772c889cf1d8804ff4f3e465fc3.tar.gz historical-2d07ffcef0b8f772c889cf1d8804ff4f3e465fc3.tar.bz2 historical-2d07ffcef0b8f772c889cf1d8804ff4f3e465fc3.zip |
Version bump. Fixes bug #209289.
Package-Manager: portage-2.1.4
Diffstat (limited to 'dev-util/weka')
-rw-r--r-- | dev-util/weka/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/weka/Manifest | 14 | ||||
-rw-r--r-- | dev-util/weka/weka-3.5.7.ebuild | 77 |
3 files changed, 97 insertions, 3 deletions
diff --git a/dev-util/weka/ChangeLog b/dev-util/weka/ChangeLog index afb5f311d0fd..72ec2ae2c418 100644 --- a/dev-util/weka/ChangeLog +++ b/dev-util/weka/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/weka -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.24 2007/12/07 19:03:17 betelgeuse Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.25 2008/02/07 19:34:04 betelgeuse Exp $ + +*weka-3.5.7 (07 Feb 2008) + + 07 Feb 2008; Petteri Räty <betelgeuse@gentoo.org> +weka-3.5.7.ebuild: + Version bump. Fixes bug #209289. *weka-3.5.6 (07 Dec 2007) diff --git a/dev-util/weka/Manifest b/dev-util/weka/Manifest index c8013cce89bb..e13c7aa4ccbf 100644 --- a/dev-util/weka/Manifest +++ b/dev-util/weka/Manifest @@ -1,6 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST weka-3-4-10.zip 10393250 RMD160 19f98cd57618031f5fac96d7987cfde4e9a2ec8c SHA1 317501e9b85640dbbdaabbfd05f737e2871721ce SHA256 d21c75dd0944059667f202ecba2d5d07ac20fd82c21a8d934e666e50c21908cf DIST weka-3-5-6.zip 15837683 RMD160 aca163936277649c09a1cd8c750111e53f680851 SHA1 01382abe1338c1fc1c965fd0801ac36c857ce641 SHA256 395997f526b184ababb2573ee998dde97326da215f3d33f985f7301dd139a650 +DIST weka-3-5-7.zip 16356803 RMD160 a189070bd29c969f40aec19d5e92b0c5bc176cf8 SHA1 80d46f644e8a00819b1abd97576534752007caef SHA256 73e0738dbabe677389d483612c9aceb988ab609532d0f13e5bf1df7e9481f1be EBUILD weka-3.4.10.ebuild 1842 RMD160 4acd676121e7e6e7ea71dec974f74aa7894db669 SHA1 2114860b3a06446a86d3450249d9cb02de217460 SHA256 2fa971cc1066e63993939cd28d543a52ed0fdcfe724a7aeee17f0faae143fb62 EBUILD weka-3.5.6.ebuild 2022 RMD160 54ebd871dbe40b82a1cad9c7ac5805896e9c77b5 SHA1 59700e02725854a6785181203917d7ae4e243606 SHA256 ec0cfe2e8a042042eabf4b2fae65e00cd1d68679ead04b7667867ca94f2f7731 -MISC ChangeLog 3116 RMD160 fa616a5e577d73dba2aaaaeb61e3ffd1b8f66c05 SHA1 e584b56fd014ce15f283f73e330abdd50a636670 SHA256 7375362a479fe1551c3c977ff6e2111576f56e9db14298d2be09ad00a651733d +EBUILD weka-3.5.7.ebuild 2022 RMD160 5cd4a55ada3010e848a3f6199f6befe04385d02a SHA1 83da9d13bcfc4dd3ba4f7c24e28aa82c29731ec4 SHA256 4ebba45806f3e7a6829369478ff6d434288be9b593b1394195445aecb593915f +MISC ChangeLog 3252 RMD160 584e90c8448c5a60352d6e5bd435ff8d1024784b SHA1 97888e7847be793c69c4203f2225a9e4ecebd0b3 SHA256 9c6d2015527cdeadd89f18d7fd9198fcfc4d2983b9ae15e7f53843113696dd37 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHq1w4cxLzpIGCsLQRAqajAJ9DoHY1bRM0ySasMEj6+tQLhkiP9wCeIS9u +z8+do3SnboXsFit6v0pe7dc= +=eet2 +-----END PGP SIGNATURE----- diff --git a/dev-util/weka/weka-3.5.7.ebuild b/dev-util/weka/weka-3.5.7.ebuild new file mode 100644 index 000000000000..a6a4952d1e59 --- /dev/null +++ b/dev-util/weka/weka-3.5.7.ebuild @@ -0,0 +1,77 @@ +# 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.7.ebuild,v 1.1 2008/02/07 19:34:04 betelgeuse 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.5 + app-arch/unzip" +RDEPEND=">=virtual/jre-1.5" +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 -v *.jar || die +} + +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 sources" + + 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" + # 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/weka + + dodoc README || die + use doc && java-pkg_dojavadoc dist/doc/ + + dodir /usr/share/${PN}/data/ + insinto /usr/share/${PN}/data/ + doins data/* +} |