diff options
author | Serkan Kaba <serkan@gentoo.org> | 2010-04-17 06:01:03 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2010-04-17 06:01:03 +0000 |
commit | 257d231487f06a9ccc97b2dd03084d14b169634e (patch) | |
tree | f8ba5f9b41788100c8b9eea24a432a949a3cb219 /dev-util/weka | |
parent | Fixed eclass usage. Remove call to changelog task to fix bug #315403 (diff) | |
download | historical-257d231487f06a9ccc97b2dd03084d14b169634e.tar.gz historical-257d231487f06a9ccc97b2dd03084d14b169634e.tar.bz2 historical-257d231487f06a9ccc97b2dd03084d14b169634e.zip |
Version bump. Fixes bug #295495. Thanks to Marshall Banana <JackyRyan@gmx.net> for the report and the ebuild.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-util/weka')
-rw-r--r-- | dev-util/weka/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/weka/Manifest | 13 | ||||
-rw-r--r-- | dev-util/weka/files/weka-3.6.2-build.xml.patch | 23 | ||||
-rw-r--r-- | dev-util/weka/weka-3.6.2.ebuild | 68 |
4 files changed, 108 insertions, 7 deletions
diff --git a/dev-util/weka/ChangeLog b/dev-util/weka/ChangeLog index 6508a1220193..783405969309 100644 --- a/dev-util/weka/ChangeLog +++ b/dev-util/weka/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/weka -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.33 2009/03/29 16:34:28 serkan Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.34 2010/04/17 06:01:02 serkan Exp $ + +*weka-3.6.2 (17 Apr 2010) + + 17 Apr 2010; Serkan Kaba <serkan@gentoo.org> +weka-3.6.2.ebuild, + +files/weka-3.6.2-build.xml.patch: + Version bump. Fixes bug #295495. Thanks to Marshall Banana + <JackyRyan@gmx.net> for the report and the ebuild. 29 Mar 2009; Serkan Kaba <serkan@gentoo.org> files/weka-3.6.0-build.xml.patch: diff --git a/dev-util/weka/Manifest b/dev-util/weka/Manifest index 8a0388e59d8c..fdde9503e350 100644 --- a/dev-util/weka/Manifest +++ b/dev-util/weka/Manifest @@ -2,18 +2,21 @@ 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 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 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 1606 RMD160 fe66f641dccb8d197abb4e6557dce6bbc2208821 SHA1 47e595197d64a6cc56f2db0f0eea8da57b245f8c SHA256 5cd6c626b91460a3e7fa46da6cceb4ace5f49abc1e3e14d9ff6d688df1abbb54 -MISC ChangeLog 4336 RMD160 0928150064b7c7ee14e2faba3fb83ac49cdb16ca SHA1 395a4b04b22474a83e6c59a1ed1730ad92b8fcdc SHA256 528ac860ba760e1ffdc28014e768d361dad440b33fa94732508ad9f396ac1b4f +EBUILD weka-3.6.2.ebuild 1696 RMD160 6318e0dd95ca68336bcffdeaa224157710e258af SHA1 bc781f34fb670ebdd41a16caaf6b931a2b9eed4a SHA256 da5bbeb38d7ff3301175fe45d276388579e704151f25279726ea2b4be105f50e +MISC ChangeLog 4582 RMD160 028313ec8d6be7d7684bd5779a719c464c46da7a SHA1 359ca5741e12f3219a0937010f76244789e7eda2 SHA256 d8a2b228045696b2b009ef489a315a288ebef81ad37e183f38b592a0934e7732 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.10 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAknPoxoACgkQRh6X64ivZaLoCgCfYzIX8V1kymn4G1zKrcqvDRzk -48wAn2v2EFTF8KYAcCJ9AtVXsdMwWbtM -=B02C +iEUEARECAAYFAkvJTqQACgkQRh6X64ivZaJn4wCXQ2c8V/vKNdkc2pyolSAr66rb +mgCfVyIigLT3tRAoyFVvx7mg+vfYBQE= +=KXV0 -----END PGP SIGNATURE----- diff --git a/dev-util/weka/files/weka-3.6.2-build.xml.patch b/dev-util/weka/files/weka-3.6.2-build.xml.patch new file mode 100644 index 000000000000..29310866649c --- /dev/null +++ b/dev-util/weka/files/weka-3.6.2-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.2.ebuild b/dev-util/weka/weka-3.6.2.ebuild new file mode 100644 index 000000000000..33a29462310f --- /dev/null +++ b/dev-util/weka/weka-3.6.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.6.2.ebuild,v 1.1 2010/04/17 06:01:02 serkan Exp $ + +EAPI="2" + +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/* +} |