mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
dev-java/java-dep-check: bump to 0.5
1) removed check for obsolete property sun.boot.class.path which caused an npe 2) system classes must not be reported as not found via DEPEND so doing a check whether the class is loadable from the current class loader (not doing this check for java-dep-check deps, that is for commons-cli and asm) Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
32
dev-java/java-dep-check/java-dep-check-0.5.ebuild
Normal file
32
dev-java/java-dep-check/java-dep-check-0.5.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2016-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java Dependency checker"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/commons-cli:1
|
||||
dev-java/asm:4"
|
||||
RDEPEND=">=virtual/jre-1.8:*
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.8:*
|
||||
${COMMON_DEP}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="asm-4,commons-cli-1"
|
||||
|
||||
src_unpack() {
|
||||
cp "${FILESDIR}/Main-${PV}.java" Main.java || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
java-pkg_dolauncher ${PN} --main javadepchecker.Main
|
||||
}
|
||||
Reference in New Issue
Block a user