summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-11-16 10:14:26 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-12-08 08:30:19 +0100
commit2e7a02a5d5ac23b253a87448c51b99bad0516497 (patch)
tree4239dc69ce547dec3552ce4376747f46998819c1 /dev-java
parentdev-java/javassist: solve four test exclusions by adding debug symbols (diff)
downloadgentoo-2e7a02a5d5ac23b253a87448c51b99bad0516497.tar.gz
gentoo-2e7a02a5d5ac23b253a87448c51b99bad0516497.tar.bz2
gentoo-2e7a02a5d5ac23b253a87448c51b99bad0516497.zip
dev-java/javassist: style update, drop unneeded JAVA_NEEDS_TOOLS
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/javassist/javassist-3.29.2.ebuild19
1 files changed, 6 insertions, 13 deletions
diff --git a/dev-java/javassist/javassist-3.29.2.ebuild b/dev-java/javassist/javassist-3.29.2.ebuild
index 0e43e4e7ea2a..3fd06f5993c3 100644
--- a/dev-java/javassist/javassist-3.29.2.ebuild
+++ b/dev-java/javassist/javassist-3.29.2.ebuild
@@ -1,9 +1,6 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jboss-javassist/javassist/archive/rel_3_29_2_ga.tar.gz --slot 3 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild javassist-3.29.2.ebuild
-
EAPI=8
JAVA_PKG_IUSE="doc source test"
@@ -15,29 +12,24 @@ inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A class library for editing bytecodes in Java."
HOMEPAGE="https://www.javassist.org"
SRC_URI="https://github.com/jboss-javassist/javassist/archive/rel_${PV//./_}_ga.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-rel_${PV//./_}_ga"
LICENSE="Apache-2.0 LGPL-2.1 MPL-1.1"
SLOT="3"
KEYWORDS="amd64 arm64 ppc64 ~amd64-linux ~x86-linux"
-# Compile dependencies
-# POM: pom.xml
-# test? junit:junit:[4.13.1,) -> >=dev-java/junit-4.13.2:4
-# test? org.hamcrest:hamcrest-all:1.3 -> !!!artifactId-not-found!!!
-
-DEPEND=">=virtual/jdk-11:*
- test? ( dev-java/hamcrest-library:1.3 )"
+DEPEND="
+ >=virtual/jdk-11:*
+ test? ( dev-java/hamcrest-library:1.3 )
+"
RDEPEND=">=virtual/jre-1.8:*"
DOCS=( Changes.md README.md )
HTML_DOCS=( tutorial/{brown.css,tutorial.html,tutorial2.html,tutorial3.html} )
-S="${WORKDIR}/${PN}-rel_${PV//./_}_ga"
-
JAVA_AUTOMATIC_MODULE_NAME="org.javassist"
JAVA_MAIN_CLASS="javassist.CtClass"
-JAVA_NEEDS_TOOLS=1
JAVA_SRC_DIR="src/main"
JAVA_TEST_GENTOO_CLASSPATH="hamcrest-library-1.3,junit-4"
@@ -48,6 +40,7 @@ JAVA_TEST_SRC_DIR="src/test"
src_prepare() {
default
java-pkg_clean javassist.jar
+
sed -e 's:\.\./\.\./::' -i src/test/javassist/JvstTest{4,Root}.java || die
# There were 2 failures: