mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
dev-java/paceRegression: new package, add 1.0.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
43
dev-java/paceRegression/paceRegression-1.0.1.ebuild
Normal file
43
dev-java/paceRegression/paceRegression-1.0.1.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user