aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-06-20 00:26:55 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-06-26 04:29:43 +0200
commitb3397cb1787081fbcba39b4a3b86d11929d1d0ee (patch)
treed55622d02a32f6f74a8a571d9765c81d2831afec /dev-java
parentsys-power/geopmd: add missing doc dependency (diff)
downloadguru-b3397cb1787081fbcba39b4a3b86d11929d1d0ee.tar.gz
guru-b3397cb1787081fbcba39b4a3b86d11929d1d0ee.tar.bz2
guru-b3397cb1787081fbcba39b4a3b86d11929d1d0ee.zip
dev-java/paceRegression: new package, add 1.0.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/paceRegression/Manifest1
-rw-r--r--dev-java/paceRegression/files/paceRegression-1.0.1-no-build-docs.patch11
-rw-r--r--dev-java/paceRegression/metadata.xml11
-rw-r--r--dev-java/paceRegression/paceRegression-1.0.1.ebuild43
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/paceRegression/Manifest b/dev-java/paceRegression/Manifest
new file mode 100644
index 000000000..7e133a974
--- /dev/null
+++ b/dev-java/paceRegression/Manifest
@@ -0,0 +1 @@
+DIST paceRegression1.0.1.zip 135779 BLAKE2B 6ea05cbef2e56d23fd55f054390a5ebdf633ffba7d60c726b0e297499381d32f8b63c040b29465bce0e66247373ea4bb283c61458f9fce048eab9655a53450fa SHA512 d8964b6640628e29bd0b39e062c9373c9022e555d63e4d93a7ca504e5977343d483d7e8bc00ee8adfbeb0d648e04103bd5633b21241555d9da31dfec54e89a5e
diff --git a/dev-java/paceRegression/files/paceRegression-1.0.1-no-build-docs.patch b/dev-java/paceRegression/files/paceRegression-1.0.1-no-build-docs.patch
new file mode 100644
index 000000000..a81cfc035
--- /dev/null
+++ b/dev-java/paceRegression/files/paceRegression-1.0.1-no-build-docs.patch
@@ -0,0 +1,11 @@
+--- a/build_package.xml
++++ b/build_package.xml
+@@ -150,7 +150,7 @@
+ </target>
+
+ <!-- Put everything in ${build}/classes into the ${package}.jar file -->
+- <target name="exejar" depends="compile, docs, init_dist"
++ <target name="exejar" depends="compile, init_dist"
+ description="Create a binary jar file in ./dist">
+ <jar jarfile="${dist}/${package}.jar"
+ basedir="${build}/classes">
diff --git a/dev-java/paceRegression/metadata.xml b/dev-java/paceRegression/metadata.xml
new file mode 100644
index 000000000..8b7347903
--- /dev/null
+++ b/dev-java/paceRegression/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Alessandro Barbieri</name>
+ <email>lssndrbarbieri@gmail.com</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">weka</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/paceRegression/paceRegression-1.0.1.ebuild b/dev-java/paceRegression/paceRegression-1.0.1.ebuild
new file mode 100644
index 000000000..697cff92d
--- /dev/null
+++ b/dev-java/paceRegression/paceRegression-1.0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+EANT_BUILD_TARGET="exejar"
+EANT_BUILD_XML="build_package.xml"
+EANT_GENTOO_CLASSPATH="weka"
+EANT_EXTRA_ARGS="-Dpackage=paceRegression"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Class for building pace regression linear models and using them for prediction"
+HOMEPAGE="https://weka.sourceforge.net/doc.packages/paceRegression"
+SRC_URI="mirror://sourceforge/weka/${PN}${PV}.zip"
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CDEPEND=">=dev-util/weka-3.7.1:0"
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.8:*
+"
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.8:*
+"
+BDEPEND="app-arch/unzip"
+
+PATCHES=( "${FILESDIR}/${P}-no-build-docs.patch" )
+
+src_prepare() {
+ java-pkg_clean
+ default
+ java-ant_rewrite-classpath build_package.xml
+}
+
+src_install() {
+ java-pkg_dojar "dist/${PN}.jar"
+}