summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-05-15 16:02:08 +0200
committerAmy Winston <amynka@gentoo.org>2016-05-15 16:02:08 +0200
commit578f680f35cc0d0bf4c49a0457ef8af58f546d2c (patch)
tree73f3b561f8449fc9cf814df54ff5478653b6242c /dev-util/weka/weka-3.6.6-r2.ebuild
parentmedia-libs/opencv: remove old 2.4.9 and 2.4.10 (diff)
downloadgentoo-578f680f35cc0d0bf4c49a0457ef8af58f546d2c.tar.gz
gentoo-578f680f35cc0d0bf4c49a0457ef8af58f546d2c.tar.bz2
gentoo-578f680f35cc0d0bf4c49a0457ef8af58f546d2c.zip
dev-util/weka: remove old 3.6.*
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-util/weka/weka-3.6.6-r2.ebuild')
-rw-r--r--dev-util/weka/weka-3.6.6-r2.ebuild73
1 files changed, 0 insertions, 73 deletions
diff --git a/dev-util/weka/weka-3.6.6-r2.ebuild b/dev-util/weka/weka-3.6.6-r2.ebuild
deleted file mode 100644
index f005640c9ab7..000000000000
--- a/dev-util/weka/weka-3.6.6-r2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-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 ~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
- svm? ( sci-libs/libsvm:0[java] )"
-IUSE="svm"
-
-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 svm && java-pkg_register-dependency libsvm
-
- 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/*
-
- newicon "${S}/weka.gif" "${PN}".png
- make_desktop_entry "${PN}" "Waikato Environment for Knowledge Analysis" "${PN}" "Education;Science;ArtificialIntelligence;" "Comment=Start Weka"
-}