summaryrefslogtreecommitdiff
path: root/dev-util/weka
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /dev-util/weka
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'dev-util/weka')
-rw-r--r--dev-util/weka/Manifest5
-rw-r--r--dev-util/weka/files/weka-3.8.0-build.xml.patch16
-rw-r--r--dev-util/weka/weka-3.8.0-r1.ebuild73
-rw-r--r--dev-util/weka/weka-3.8.6.ebuild2
4 files changed, 2 insertions, 94 deletions
diff --git a/dev-util/weka/Manifest b/dev-util/weka/Manifest
index 092e64cfdc8f..1cc15fe0a9ae 100644
--- a/dev-util/weka/Manifest
+++ b/dev-util/weka/Manifest
@@ -1,6 +1,3 @@
-AUX weka-3.8.0-build.xml.patch 568 BLAKE2B 777233f959ec5adcfffb0e12042e11c0dce154a1ab8d54068a6a4d3bffcc059102ebbd96776c24488159230b4b6426a6d7ed7c55810cd98fe95347d340ec010c SHA512 8b1cd5ff6867bf5d43ec1b95d98288f1d035f37878c8fd99f33bb6389dd24e29ba8112f718c02b25cfbae6ed67f02c22643af39cae06e3a2d58081600a918c39
-DIST weka-3-8-0.zip 50550487 BLAKE2B 85d7e68155c02f89e296ea1a4ee6e544287458135a941a4f618807f5c5b3e88edc6952fbdf632cfb642ef08fafcb7084dda3bda9269629610e8c532dd63d165e SHA512 7e38646a59e3d3d5fa314d269747ed7c526605253339e20f24bae55684a6cd77eeefb267b05825d8de44ae0e827873ba11ce6759b1d78a1a1975d100fd910b33
DIST weka-3-8-6.zip 59573134 BLAKE2B 00957c9c524a9a61f961146d8c8dd2e2272997584f89e8a94d6a22e1caf711a5b082e4977cc5f42b70f82ac556b96a83b86fc780a02eb267eba190b89bf8f29a SHA512 9499e1921fde51b827243b4905708d0e36a1ab454b92889f1d33eafce9638ec8039bb769c09aefba0654b2a83e66ec99f300c1fdba4652831e5e871ca2bb4916
-EBUILD weka-3.8.0-r1.ebuild 1675 BLAKE2B c8ea7bf08562ca4d5236c78318be4eb4c061d0f7c8f592c46c0f42f1eec7b9ab7bcb6292f53b0f2104f8d3017a4d8dfdec5f1e4c8c1b642b967e9875fe33e77d SHA512 2f7936581ef3e9cbad3207637150e963447db806e7f262aae3ce4deb50c7f91962ba36931d3105faf24e748b05e350cebc2510672ece8401c3eb87645ea4dcb5
-EBUILD weka-3.8.6.ebuild 1599 BLAKE2B 1754038495354e1ea4455721c8d7274b8873b2d114894071a280bb343fc96a8672078d6cfa445aff9c39524c7647c769f75713a3df90da458247bc18b1612297 SHA512 0cba7a0ddd1403dab6fc81ff4ca750d4a3ef1f945112d5268fcdc3069d9ea5678dfb3709dc359ac8f608c7fa681d23e1172be331ed32bce9ef7daeec0cddb755
+EBUILD weka-3.8.6.ebuild 1597 BLAKE2B 8803f319a07e3e87e8c8315fdb7cb165345867e51de86c77bf2d3c16b40daf4942ed74df1ab76e229454c72e63c40b52ac6060bb45f1c25a710d109ae36e8468 SHA512 fadcd378a6a8e40d05ba322f12748dd8c0f59bb4b7ab78fa55c955ec4baf51beb66d2f0b2c8297d199da93499d8892b33de9a7f5a8297e933cc2455868adb90d
MISC metadata.xml 441 BLAKE2B 57e012777845edb06bf71cf440da0732148d1df26f83d5256adc3934c4a7d28654c93844532b0ada1038b776641bd372f896a6bc43cf894ede04a94fd51d61bb SHA512 46ca61a2faa1c21740356d1c49efab974e020f723fb8aa5595f98a753b0657f5cef9358619d689bee27690c04cd316215824534736c2a5c6e48fdbb8476d3eca
diff --git a/dev-util/weka/files/weka-3.8.0-build.xml.patch b/dev-util/weka/files/weka-3.8.0-build.xml.patch
deleted file mode 100644
index ca8264dc2291..000000000000
--- a/dev-util/weka/files/weka-3.8.0-build.xml.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/build.xml 2016-05-15 10:56:04.011409745 +0200
-+++ b/build.xml 2016-05-15 10:57:43.971411711 +0200
-@@ -618,13 +618,6 @@
- <include name="**/*.default"/>
- </fileset>
- </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>
- <unzip src="${lib}/bounce.jar" dest="${build}/classes">
- <patternset>
- <include name="org/**/*"/>
diff --git a/dev-util/weka/weka-3.8.0-r1.ebuild b/dev-util/weka/weka-3.8.0-r1.ebuild
deleted file mode 100644
index 55852a241c27..000000000000
--- a/dev-util/weka/weka-3.8.0-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="source"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="A Java data mining package"
-HOMEPAGE="https://ml.cms.waikato.ac.nz/weka"
-SRC_URI="https://downloads.sourceforge.net/project/weka/weka-3-8/${PV}/weka-${PV//./-}.zip"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-
-DEPEND="virtual/jdk:1.8
- dev-java/javacup:0"
-RDEPEND="virtual/jre:1.8
- dev-java/javacup:0"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}/${P//./-}"
-
-PATCHES=("${FILESDIR}"/${P}-build.xml.patch)
-
-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
-}
-
-src_prepare() {
- unzip -qq "${PN}-src.jar" -d . || die "Failed to unpack the source"
- rm -v weka.jar || die
- rm -rf doc || die
- java-pkg_jar-from --into lib javacup
-
- sed -i -e "s/256m/$(weka_get_max_memory)/g" build.xml || die
- default
-}
-
-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
-
- insinto /usr/share/${PN}/data/
- doins data/*
-}
-
-pkg_postinst() {
- elog "If you are upgrading from weka 3.7 to later"
- elog "and your package manager does not start please delete"
- elog "file installedPackageCache.ser from packages folder"
- elog "in wekafiles located in your user home."
- elog
- elog "rm \${HOME}/wekafiles/packages/installedPackageCache.ser"
-}
diff --git a/dev-util/weka/weka-3.8.6.ebuild b/dev-util/weka/weka-3.8.6.ebuild
index d75d6aaf5b12..035711364244 100644
--- a/dev-util/weka/weka-3.8.6.ebuild
+++ b/dev-util/weka/weka-3.8.6.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P//./-}"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
BDEPEND="app-arch/unzip"
CP_DEPEND="dev-java/javacup:0"