diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2007-04-28 13:56:53 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2007-04-28 13:56:53 +0000 |
commit | bbead7c377f5e6e3d8301390872008705a974ae9 (patch) | |
tree | fa917ba8fafe80cab723c39f798348a03495189a /dev-util/weka | |
parent | Use newinitd (diff) | |
download | historical-bbead7c377f5e6e3d8301390872008705a974ae9.tar.gz historical-bbead7c377f5e6e3d8301390872008705a974ae9.tar.bz2 historical-bbead7c377f5e6e3d8301390872008705a974ae9.zip |
Bump weka to latest version and update java eclasses
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'dev-util/weka')
-rw-r--r-- | dev-util/weka/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/weka/Manifest | 16 | ||||
-rw-r--r-- | dev-util/weka/files/digest-weka-3.4.10 | 3 | ||||
-rw-r--r-- | dev-util/weka/weka-3.4.10.ebuild | 73 |
4 files changed, 94 insertions, 5 deletions
diff --git a/dev-util/weka/ChangeLog b/dev-util/weka/ChangeLog index 0fc6ab81a7b0..0dca83cf708c 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.18 2007/02/04 00:18:25 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.19 2007/04/28 13:56:53 ali_bush Exp $ + +*weka-3.4.10 (28 Apr 2007) + + 28 Apr 2007; Alistair John Bush <ali_bush@gentoo.org> +weka-3.4.10.ebuild: + Version bump and update weka to generation 2 java eclasses 04 Feb 2007; Vlastimil Babka <caster@gentoo.org> -files/weka-build_xml.patch, -weka-3.4.3_p20041113.ebuild: diff --git a/dev-util/weka/Manifest b/dev-util/weka/Manifest index 9f0b10d98441..550eb9094154 100644 --- a/dev-util/weka/Manifest +++ b/dev-util/weka/Manifest @@ -1,16 +1,24 @@ +DIST weka-3-4-10.zip 10393250 RMD160 19f98cd57618031f5fac96d7987cfde4e9a2ec8c SHA1 317501e9b85640dbbdaabbfd05f737e2871721ce SHA256 d21c75dd0944059667f202ecba2d5d07ac20fd82c21a8d934e666e50c21908cf DIST weka-3-4-6.zip 9069957 RMD160 65920f2788184e0832cf5cb3ecb70f12a4e3b5cf SHA1 c30fddc8e51e90b6433ee4c433defcdbf1f84c29 SHA256 e1ff75055747cd322e71711ff3d549260624b6f63d8bfa973b9717f18d5984d7 +EBUILD weka-3.4.10.ebuild 1856 RMD160 ee361607217c96ac85463e4bd1a26071f3b1a227 SHA1 0de8b543d0b615c5f7ef48f1bfd11a90313722dc SHA256 9e2a78294e83fef2ff2ee6d8e30993c585a3017861bf80d83642475fa60710da +MD5 3e8384c5ca9ca1918447c7ca4fd01b46 weka-3.4.10.ebuild 1856 +RMD160 ee361607217c96ac85463e4bd1a26071f3b1a227 weka-3.4.10.ebuild 1856 +SHA256 9e2a78294e83fef2ff2ee6d8e30993c585a3017861bf80d83642475fa60710da weka-3.4.10.ebuild 1856 EBUILD weka-3.4.6.ebuild 1893 RMD160 d45b9a89f12dfd58077499dd154b09eecdd3a6e7 SHA1 526aa3d0639d864925ea053b855ad10a9fe19a40 SHA256 beae95bf60c1770efbdb5e8e7b3ac55ce499fbe990a0c570036b044404f1b1b3 MD5 c367897413992f4b8a1307ef09364283 weka-3.4.6.ebuild 1893 RMD160 d45b9a89f12dfd58077499dd154b09eecdd3a6e7 weka-3.4.6.ebuild 1893 SHA256 beae95bf60c1770efbdb5e8e7b3ac55ce499fbe990a0c570036b044404f1b1b3 weka-3.4.6.ebuild 1893 -MISC ChangeLog 2418 RMD160 bee5968b65f9039e49fcb5be2a8a194695aa66d9 SHA1 fcda5353a41b6c4557113a42a3aeb9f0db71cbca SHA256 75613901fb18c0a7083e360c7e68c346b6497a08b1d1c9085c338886b857ed41 -MD5 fe4d9e9ec8a2a06aab4e9a21366d2a82 ChangeLog 2418 -RMD160 bee5968b65f9039e49fcb5be2a8a194695aa66d9 ChangeLog 2418 -SHA256 75613901fb18c0a7083e360c7e68c346b6497a08b1d1c9085c338886b857ed41 ChangeLog 2418 +MISC ChangeLog 2587 RMD160 089793278b7ceab45a077089ad2b68618d272cf3 SHA1 6e651aa6c5e1626fe634c43413aede7629187859 SHA256 a919901e6d6b277ae38c53203b2dacebe8f114073ef028eb73470520d6a3c3e9 +MD5 bdfc61e4d4cd131e3af90c22195af830 ChangeLog 2587 +RMD160 089793278b7ceab45a077089ad2b68618d272cf3 ChangeLog 2587 +SHA256 a919901e6d6b277ae38c53203b2dacebe8f114073ef028eb73470520d6a3c3e9 ChangeLog 2587 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157 +MD5 b70033575a335f833d5cd1de258f595a files/digest-weka-3.4.10 232 +RMD160 d57cbdd26db6069d9093919937185046da7b5554 files/digest-weka-3.4.10 232 +SHA256 5bb60d9a05afe3a54626a83f2c644b7a1b2c155353f9ada8eea82ad492fd7c27 files/digest-weka-3.4.10 232 MD5 93dfff90581edb3c56b584625c140efb files/digest-weka-3.4.6 226 RMD160 5e8dfa245bd1c91f325a9adb39642e52b2797a87 files/digest-weka-3.4.6 226 SHA256 e5afe21bdcf949cefa63fac5d28532f2bc00bde1379b1181cf66f7bd4b52cee1 files/digest-weka-3.4.6 226 diff --git a/dev-util/weka/files/digest-weka-3.4.10 b/dev-util/weka/files/digest-weka-3.4.10 new file mode 100644 index 000000000000..14a9128d37d7 --- /dev/null +++ b/dev-util/weka/files/digest-weka-3.4.10 @@ -0,0 +1,3 @@ +MD5 4e9c87ee6fc25cf077f8afdd5115470e weka-3-4-10.zip 10393250 +RMD160 19f98cd57618031f5fac96d7987cfde4e9a2ec8c weka-3-4-10.zip 10393250 +SHA256 d21c75dd0944059667f202ecba2d5d07ac20fd82c21a8d934e666e50c21908cf weka-3-4-10.zip 10393250 diff --git a/dev-util/weka/weka-3.4.10.ebuild b/dev-util/weka/weka-3.4.10.ebuild new file mode 100644 index 000000000000..17eef5ef4dde --- /dev/null +++ b/dev-util/weka/weka-3.4.10.ebuild @@ -0,0 +1,73 @@ +# 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.1 2007/04/28 13:56:53 ali_bush Exp $ + +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 + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" +IUSE="doc source" + +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/* +} |