public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-04-10 15:16 Florian Schmaus
  0 siblings, 0 replies; 47+ messages in thread
From: Florian Schmaus @ 2022-04-10 15:16 UTC (permalink / raw
  To: gentoo-commits

commit:     534ae01314b3377f74b2b578dc256bc67e4e2e40
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Jan 26 16:36:03 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Apr 10 15:12:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=534ae013

dev-java/byte-buddy: New package

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                 |  1 +
 dev-java/byte-buddy/byte-buddy-1.12.8.ebuild | 48 ++++++++++++++++++++++++++++
 dev-java/byte-buddy/metadata.xml             | 13 ++++++++
 3 files changed, 62 insertions(+)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
new file mode 100644
index 000000000000..3765677c58d7
--- /dev/null
+++ b/dev-java/byte-buddy/Manifest
@@ -0,0 +1 @@
+DIST byte-buddy-1.12.8-sources.jar 1327088 BLAKE2B b20101a8e2f68c795ef102b8f2d581c1ebf223dee2170b675f0959bfe547c2793bf79c7e9508b405e43f3561f48423b980ed2e87c6297999a7d1257df4d6524e SHA512 a99d69be07049f4ed162566111c6524a9dd90af459d994a5e917596b5787b74aa88d67a8db7651008558ad687dccbefd0ee87207c6b28ab0660e02abdb43f9c6

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
new file mode 100644
index 000000000000..fc9d45438186
--- /dev/null
+++ b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom byte-buddy-1.12.8.pom --download-uri https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.12.8/byte-buddy-1.12.8-sources.jar --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.8.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="net.bytebuddy:byte-buddy:1.12.8"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Byte Buddy is a Java library for creating Java classes at run time"
+HOMEPAGE="https://bytebuddy.net/"
+SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.jar"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+# Compile dependencies
+# POM: ${P}.pom
+# com.google.code.findbugs:findbugs-annotations:3.0.1 -> >=dev-java/findbugs-annotations-3.0.1:0
+# com.google.code.findbugs:jsr305:3.0.2 -> >=dev-java/jsr305-3.0.2:0
+# net.java.dev.jna:jna:5.8.0 -> >=dev-java/jna-5.10.0:4
+# net.java.dev.jna:jna-platform:5.8.0 -> !!!artifactId-not-found!!!
+
+DEPEND="
+	>=virtual/jdk-1.8:*
+	dev-java/findbugs-annotations:0
+	dev-java/jna:4
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*
+"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+JAVA_CLASSPATH_EXTRA="findbugs-annotations,jna-4"
+
+src_prepare() {
+	default
+	java-pkg_clean
+}

diff --git a/dev-java/byte-buddy/metadata.xml b/dev-java/byte-buddy/metadata.xml
new file mode 100644
index 000000000000..7550729e01e8
--- /dev/null
+++ b/dev-java/byte-buddy/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>java@gentoo.org</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">raphw/byte-buddy</remote-id>
+	</upstream>
+	<longdescription>
+		This artifact is a build of Byte Buddy with all ASM dependencies repackaged into its own name space.
+	</longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-04-15  9:36 Florian Schmaus
  0 siblings, 0 replies; 47+ messages in thread
From: Florian Schmaus @ 2022-04-15  9:36 UTC (permalink / raw
  To: gentoo-commits

commit:     303889b0851e0f8fc7493eca503fc41dd95f7ca2
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 09:24:51 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 09:35:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=303889b0

dev-java/byte-buddy: require at least jna-5.10.0

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
index fc9d45438186..3b658b7e1137 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
@@ -29,7 +29,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 DEPEND="
 	>=virtual/jdk-1.8:*
 	dev-java/findbugs-annotations:0
-	dev-java/jna:4
+	>=dev-java/jna-5.10.0:4
 "
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-06-03  8:54 Florian Schmaus
  0 siblings, 0 replies; 47+ messages in thread
From: Florian Schmaus @ 2022-06-03  8:54 UTC (permalink / raw
  To: gentoo-commits

commit:     1e62535541b106056a972c5cc38b60a9e4c0ead3
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun May 29 10:49:35 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jun  3 08:54:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e625355

dev-java/byte-buddy: add 1.12.10

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/25672
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |  1 +
 dev-java/byte-buddy/byte-buddy-1.12.10.ebuild | 48 +++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 3765677c58d7..820f428fa343 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1 +1,2 @@
+DIST byte-buddy-1.12.10-sources.jar 1331398 BLAKE2B 8732ac81514de40d3d2ffd67ddca05ab9b8a5d0a7f240ee4591fd02b41f410f9e834f389aa898829fbae6082e14a090f87052f537b2b6293c7f8f98d4a5d0583 SHA512 15cb4330598d9259afa29aac0317f8e0e003eb76fb26052bba0714ad30453db721938be7d46fcc6a0c7bbe124bffe68dfee6fcf11a3e4030e99ef01d0ae3d461
 DIST byte-buddy-1.12.8-sources.jar 1327088 BLAKE2B b20101a8e2f68c795ef102b8f2d581c1ebf223dee2170b675f0959bfe547c2793bf79c7e9508b405e43f3561f48423b980ed2e87c6297999a7d1257df4d6524e SHA512 a99d69be07049f4ed162566111c6524a9dd90af459d994a5e917596b5787b74aa88d67a8db7651008558ad687dccbefd0ee87207c6b28ab0660e02abdb43f9c6

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
new file mode 100644
index 000000000000..4df6e466f7f0
--- /dev/null
+++ b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom byte-buddy-1.12.10.pom --download-uri https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.12.10/byte-buddy-1.12.10-sources.jar --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.10.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="net.bytebuddy:byte-buddy:1.12.10"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Byte Buddy is a Java library for creating Java classes at run time"
+HOMEPAGE="https://bytebuddy.net/"
+SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.jar"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+# Compile dependencies
+# POM: ${P}.pom
+# com.google.code.findbugs:findbugs-annotations:3.0.1 -> >=dev-java/findbugs-annotations-3.0.1:0
+# com.google.code.findbugs:jsr305:3.0.2 -> >=dev-java/jsr305-3.0.2:0
+# net.java.dev.jna:jna:5.8.0 -> >=dev-java/jna-5.10.0:4
+# net.java.dev.jna:jna-platform:5.8.0 -> !!!artifactId-not-found!!!
+
+DEPEND="
+	>=virtual/jdk-1.8:*
+	dev-java/findbugs-annotations:0
+	>=dev-java/jna-5.10.0:4
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*
+"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+JAVA_CLASSPATH_EXTRA="findbugs-annotations,jna-4"
+
+src_prepare() {
+	default
+	java-pkg_clean
+}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-06-16 15:15 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-06-16 15:15 UTC (permalink / raw
  To: gentoo-commits

commit:     b18aa058fd779a37c3679a94819cc348365c4e50
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 15:13:23 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 15:13:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b18aa058

dev-java/byte-buddy: Stabilize 1.12.8 amd64, #837749

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
index 3b658b7e1137..a83d04575308 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.j
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 # Compile dependencies
 # POM: ${P}.pom


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-06-16 15:15 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-06-16 15:15 UTC (permalink / raw
  To: gentoo-commits

commit:     50a36d92ffcf68a237a8c7941c863a82a46a844a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 15:14:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 15:14:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a36d92

dev-java/byte-buddy: Stabilize 1.12.8 x86, #837749

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
index a83d04575308..c8986cf4115b 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.j
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 
 # Compile dependencies
 # POM: ${P}.pom


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-06-17 12:45 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-06-17 12:45 UTC (permalink / raw
  To: gentoo-commits

commit:     f4eae6d0efd1efc0d840ef4276231bd9fe58ed05
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 17 12:45:05 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 12:45:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4eae6d0

dev-java/byte-buddy: Stabilize 1.12.8 ppc64, #837749

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
index d642084ca0d8..a25c51f399f4 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.j
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 # Compile dependencies
 # POM: ${P}.pom


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-07-03 12:11 Jakov Smolić
  0 siblings, 0 replies; 47+ messages in thread
From: Jakov Smolić @ 2022-07-03 12:11 UTC (permalink / raw
  To: gentoo-commits

commit:     fa6feb152ceed9cccf26a5d7226b9a23979783d9
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 12:11:25 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 12:11:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa6feb15

dev-java/byte-buddy: Stabilize 1.12.10 x86, #856136

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
index 4df6e466f7f0..16863a209bde 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.j
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
 
 # Compile dependencies
 # POM: ${P}.pom


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-07-03 12:22 Jakov Smolić
  0 siblings, 0 replies; 47+ messages in thread
From: Jakov Smolić @ 2022-07-03 12:22 UTC (permalink / raw
  To: gentoo-commits

commit:     56830d2daca27945b703f34190830d802c9fa91e
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 12:23:03 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 12:23:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56830d2d

dev-java/byte-buddy: Stabilize 1.12.10 ppc64, #856136

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
index 16863a209bde..a12aafd08749 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.j
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 x86"
 
 # Compile dependencies
 # POM: ${P}.pom


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-07-05 17:54 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-07-05 17:54 UTC (permalink / raw
  To: gentoo-commits

commit:     6aeb763989d9842246e7edee3449d5f60faf1bc8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  5 17:53:40 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul  5 17:53:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aeb7639

dev-java/byte-buddy: Stabilize 1.12.10 amd64, #856136

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
index a12aafd08749..ec91f1a60298 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.j
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 
 # Compile dependencies
 # POM: ${P}.pom


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-07-07 14:29 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-07-07 14:29 UTC (permalink / raw
  To: gentoo-commits

commit:     b41f8ad7f6f0271caa38c318124eae5d42af015a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 14:29:09 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 14:29:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b41f8ad7

dev-java/byte-buddy: Stabilize 1.12.10 arm64, #856136

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
index ec91f1a60298..482eea806388 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.j
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 # Compile dependencies
 # POM: ${P}.pom


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-07-07 16:20 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-07-07 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     a3ddc5ba44ed003b1d528b2281bb1d740bca898f
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Jul  7 15:11:38 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 16:20:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ddc5ba

dev-java/byte-buddy: drop 1.12.8

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                 |  1 -
 dev-java/byte-buddy/byte-buddy-1.12.8.ebuild | 48 ----------------------------
 2 files changed, 49 deletions(-)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 820f428fa343..62dd7486fe05 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1,2 +1 @@
 DIST byte-buddy-1.12.10-sources.jar 1331398 BLAKE2B 8732ac81514de40d3d2ffd67ddca05ab9b8a5d0a7f240ee4591fd02b41f410f9e834f389aa898829fbae6082e14a090f87052f537b2b6293c7f8f98d4a5d0583 SHA512 15cb4330598d9259afa29aac0317f8e0e003eb76fb26052bba0714ad30453db721938be7d46fcc6a0c7bbe124bffe68dfee6fcf11a3e4030e99ef01d0ae3d461
-DIST byte-buddy-1.12.8-sources.jar 1327088 BLAKE2B b20101a8e2f68c795ef102b8f2d581c1ebf223dee2170b675f0959bfe547c2793bf79c7e9508b405e43f3561f48423b980ed2e87c6297999a7d1257df4d6524e SHA512 a99d69be07049f4ed162566111c6524a9dd90af459d994a5e917596b5787b74aa88d67a8db7651008558ad687dccbefd0ee87207c6b28ab0660e02abdb43f9c6

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
deleted file mode 100644
index a25c51f399f4..000000000000
--- a/dev-java/byte-buddy/byte-buddy-1.12.8.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom byte-buddy-1.12.8.pom --download-uri https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.12.8/byte-buddy-1.12.8-sources.jar --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.8.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-MAVEN_ID="net.bytebuddy:byte-buddy:1.12.8"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Byte Buddy is a Java library for creating Java classes at run time"
-HOMEPAGE="https://bytebuddy.net/"
-SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.jar"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-# Compile dependencies
-# POM: ${P}.pom
-# com.google.code.findbugs:findbugs-annotations:3.0.1 -> >=dev-java/findbugs-annotations-3.0.1:0
-# com.google.code.findbugs:jsr305:3.0.2 -> >=dev-java/jsr305-3.0.2:0
-# net.java.dev.jna:jna:5.8.0 -> >=dev-java/jna-5.10.0:4
-# net.java.dev.jna:jna-platform:5.8.0 -> !!!artifactId-not-found!!!
-
-DEPEND="
-	>=virtual/jdk-1.8:*
-	dev-java/findbugs-annotations:0
-	>=dev-java/jna-5.10.0:4
-"
-
-RDEPEND="
-	>=virtual/jre-1.8:*
-"
-
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-JAVA_CLASSPATH_EXTRA="findbugs-annotations,jna-4"
-
-src_prepare() {
-	default
-	java-pkg_clean
-}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-07-22 17:36 Florian Schmaus
  0 siblings, 0 replies; 47+ messages in thread
From: Florian Schmaus @ 2022-07-22 17:36 UTC (permalink / raw
  To: gentoo-commits

commit:     7107eda892e9f44caf0c38e9b843045f38ed0095
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Jun 30 18:22:43 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jul 22 17:36:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7107eda8

dev-java/byte-buddy: add 1.12.12

provides:
"net.bytebuddy:byte-buddy-agent:1.12.12"
"net.bytebuddy:byte-buddy-dep:1.12.12"
Breaks reverse dependency on tests:

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |   1 +
 dev-java/byte-buddy/byte-buddy-1.12.12.ebuild | 176 ++++++++++++++++++++++++++
 2 files changed, 177 insertions(+)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 62dd7486fe05..57136f2a7976 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1 +1,2 @@
 DIST byte-buddy-1.12.10-sources.jar 1331398 BLAKE2B 8732ac81514de40d3d2ffd67ddca05ab9b8a5d0a7f240ee4591fd02b41f410f9e834f389aa898829fbae6082e14a090f87052f537b2b6293c7f8f98d4a5d0583 SHA512 15cb4330598d9259afa29aac0317f8e0e003eb76fb26052bba0714ad30453db721938be7d46fcc6a0c7bbe124bffe68dfee6fcf11a3e4030e99ef01d0ae3d461
+DIST byte-buddy-1.12.12.tar.gz 149937318 BLAKE2B 1a1bd0de97b47ace4c64649da3ae80dcb421a4d46e9b4f66e121accad94a99a2b81fa9aeaca99ae14cf1ef56feff5248d5700d6b056d490563bbc7ae9f07ace9 SHA512 bd8dc5b86ce456d5a907dd23643233bb001c15df5419aeed177d3b4f8054ab172d13244d0b3fef734e8232dfdd9339745d8112fa69e0be566b62459c198bf67a

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
new file mode 100644
index 000000000000..6a3353c6c3d1
--- /dev/null
+++ b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2022 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/raphw/byte-buddy/archive/byte-buddy-1.12.12.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.12.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="net.bytebuddy:byte-buddy-agent:1.12.12"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
+HOMEPAGE="https://bytebuddy.net"
+SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+	>=virtual/jdk-11:*
+	dev-java/asm:9
+	dev-java/findbugs-annotations:0
+	dev-java/jna:4
+	dev-java/jsr305:0
+	test? (
+		dev-java/mockito:4
+	)
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/${PN}-${P}"
+
+JAVA_CLASSPATH_EXTRA="asm-9,findbugs-annotations,jsr305,jna-4"
+
+src_prepare() {
+	default
+	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.12/byte-buddy-agent/pom.xml#L132-L165
+	cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF
+		module net.bytebuddy.agent {
+			requires java.instrument;
+			requires static jdk.attach;
+			requires static com.sun.jna;
+			requires static com.sun.jna.platform;
+			requires java.base;
+			exports net.bytebuddy.agent;
+			exports net.bytebuddy.agent.utility.nullability;
+		}
+	EOF
+
+	sed \
+		-e 's:verifyZeroInteractions:verifyNoInteractions:g' \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*/*Test.java \
+		|| die
+}
+
+src_compile() {
+	einfo "Compiling byte-buddy-agent.jar"
+	JAVA_SRC_DIR="byte-buddy-agent/src/main/java"
+	JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources"
+	JAVA_JAR_FILENAME="byte-buddy-agent.jar"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar"
+	rm -r target || die
+
+# For pkgdiff to compare the content of module-info.class
+#	mkdir -p META-INF/versions/9 || die
+#	cp target/classes/module-info.class META-INF/versions/9/ || die
+#	jar -uf byte-buddy.jar -C . META-INF/versions/9/module-info.class || die
+
+	einfo "Compiling byte-buddy-dep.jar"
+	JAVA_SRC_DIR="byte-buddy-dep/src/main/java"
+	JAVA_RESOURCE_DIRS="byte-buddy-dep/src/main/resources"
+	JAVA_JAR_FILENAME="byte-buddy-dep.jar"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-dep.jar"
+	rm -r target || die
+
+	if use doc; then
+		einfo "Compiling javadocs"
+		JAVA_SRC_DIR=(
+			"byte-buddy-agent/src/main/java"
+			"byte-buddy-dep/src/main/java"
+		)
+		JAVA_JAR_FILENAME="ignoreme.jar"
+		java-pkg-simple_src_compile
+	fi
+}
+
+src_test() {
+	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
+
+	# einfo "Setting -Djava.library.path"
+	# This would work only after manually adding libjnidispatch.so to /usr/share/jna-4/lib/jna.jar,
+	# done with ( jar -uf /usr/share/jna-4/lib/jna.jar -C . com/sun/jna/linux-x86-64/libjnidispatch )
+#	JAVA_TEST_EXTRA_ARGS=( -Djava.library.path+="$(java-config -i jna-4)" com.sun.jna.Native )
+	# Otherwise fails with:
+	# Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
+
+	einfo "Testing byte-buddy-agent"
+	JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java"
+	# Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
+	JAVA_TEST_EXCLUDES=( net.bytebuddy.agent.VirtualMachineAttachmentTest )
+	java-pkg-simple_src_test
+
+	einfo "Testing byte-buddy-dep"
+	JAVA_TEST_SRC_DIR="byte-buddy-dep/src/test/java"
+	JAVA_TEST_RESOURCE_DIRS="byte-buddy-dep/src/test/resources"
+
+	# what "mvn test" does with java 17 is:
+	# Tests run: 9836, Failures: 0, Errors: 0, Skipped: 0
+
+	# 1) testTypeVariableTypeAnnotationRuntimeRetention[0](net.bytebuddy.implementation.attribute.MethodAttributeAppenderForInstrumentedMethodTest)
+	# org.mockito.exceptions.verification.NoInteractionsWanted:
+	# --
+	# 2) testTypeVariableTypeAnnotationRuntimeRetention[1](net.bytebuddy.implementation.attribute.MethodAttributeAppenderForInstrumentedMethodTest)
+	# org.mockito.exceptions.verification.NoInteractionsWanted:
+	# --
+	# 3) testAnnotationClassFileRetention(net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeDifferentiatingTest)
+	# org.mockito.exceptions.verification.NoInteractionsWanted:
+	# --
+	# 4) testAnnotationByteCodeRetention(net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeDifferentiatingTest)
+	# org.mockito.exceptions.verification.NoInteractionsWanted:
+	# --
+	# 5) testAnnotationClassFileRetention(net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeTest)
+	# org.mockito.exceptions.verification.NoInteractionsWanted:
+	# --
+	# 6) testAnnotationByteCodeRetention(net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeTest)
+	# org.mockito.exceptions.verification.NoInteractionsWanted:
+	# --
+	# 7) testChildSecond(net.bytebuddy.pool.TypePoolDefaultHierarchyTest)
+	# org.mockito.exceptions.verification.NoInteractionsWanted:
+	# --
+	# 8) testNoParameterNameAndModifiers(net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest)
+	# java.lang.AssertionError:
+	# --
+	# 9) testSimpleApplication(net.bytebuddy.description.type.TypeInitializerTest)
+	# org.mockito.exceptions.verification.NoInteractionsWanted:
+	# --
+	# 10) testRedefinitionChunkedOneFailsResubmit(net.bytebuddy.agent.builder.AgentBuilderDefaultTest)
+	# org.mockito.exceptions.verification.NoInteractionsWanted:
+	JAVA_TEST_EXCLUDES+=(
+		net.bytebuddy.implementation.attribute.MethodAttributeAppenderForInstrumentedMethodTest
+		net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeDifferentiatingTest
+		net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeTest
+		net.bytebuddy.pool.TypePoolDefaultHierarchyTest
+		net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest
+		net.bytebuddy.description.type.TypeInitializerTest
+		net.bytebuddy.agent.builder.AgentBuilderDefaultTest
+	)
+	java-pkg-simple_src_test
+}
+
+src_install() {
+	java-pkg_dojar "byte-buddy-agent.jar"
+	java-pkg_dojar "byte-buddy-dep.jar"
+
+	if use doc; then
+		java-pkg_dojavadoc target/api
+	fi
+
+	if use source; then
+		java-pkg_dosrc "byte-buddy-agent/src/main/java/*"
+		java-pkg_dosrc "byte-buddy-dep/src/main/java/*"
+	fi
+}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-08-10  8:27 Florian Schmaus
  0 siblings, 0 replies; 47+ messages in thread
From: Florian Schmaus @ 2022-08-10  8:27 UTC (permalink / raw
  To: gentoo-commits

commit:     1505d7f95b7d62aa5c760777cca8ec0d3d357757
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Aug  3 11:13:31 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 08:22:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1505d7f9

dev-java/byte-buddy: add 1.12.13

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/26720
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |   1 +
 dev-java/byte-buddy/byte-buddy-1.12.13.ebuild | 153 ++++++++++++++++++++++++++
 2 files changed, 154 insertions(+)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 57136f2a7976..fffac52846d5 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1,2 +1,3 @@
 DIST byte-buddy-1.12.10-sources.jar 1331398 BLAKE2B 8732ac81514de40d3d2ffd67ddca05ab9b8a5d0a7f240ee4591fd02b41f410f9e834f389aa898829fbae6082e14a090f87052f537b2b6293c7f8f98d4a5d0583 SHA512 15cb4330598d9259afa29aac0317f8e0e003eb76fb26052bba0714ad30453db721938be7d46fcc6a0c7bbe124bffe68dfee6fcf11a3e4030e99ef01d0ae3d461
 DIST byte-buddy-1.12.12.tar.gz 149937318 BLAKE2B 1a1bd0de97b47ace4c64649da3ae80dcb421a4d46e9b4f66e121accad94a99a2b81fa9aeaca99ae14cf1ef56feff5248d5700d6b056d490563bbc7ae9f07ace9 SHA512 bd8dc5b86ce456d5a907dd23643233bb001c15df5419aeed177d3b4f8054ab172d13244d0b3fef734e8232dfdd9339745d8112fa69e0be566b62459c198bf67a
+DIST byte-buddy-1.12.13.tar.gz 1721038 BLAKE2B 60aadbbb3b56e5ac2ecc2bb162653b769f4d4b913bd675457ce2fbf12a5777addc4beb2bb2e347d5956dbf1fbe6a6dfce078a29c53b1f1e2a60585670897d4ee SHA512 88c221d0dccb248683069070e498c5d4320f4fce059c45f460e04fbd86c2c596c18a4c7f4e9b3a0480eaf96d93593d1f1af87d894a7c4b3d73511e88a95f4e92

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
new file mode 100644
index 000000000000..c5c66b0dfca9
--- /dev/null
+++ b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2022 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/raphw/byte-buddy/archive/byte-buddy-1.12.13.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.13.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="net.bytebuddy:byte-buddy-agent:1.12.13"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
+HOMEPAGE="https://bytebuddy.net"
+SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+	>=virtual/jdk-11:*
+	dev-java/asm:9
+	dev-java/findbugs-annotations:0
+	dev-java/jna:4
+	dev-java/jsr305:0
+	test? (
+		dev-java/mockito:4
+	)
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/${PN}-${P}"
+
+JAVA_CLASSPATH_EXTRA="
+	asm-9
+	findbugs-annotations
+	jsr305
+	jna-4
+"
+
+src_prepare() {
+	default
+	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.12/byte-buddy-agent/pom.xml#L132-L165
+	cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF
+		module net.bytebuddy.agent {
+			requires java.instrument;
+			requires static jdk.attach;
+			requires static com.sun.jna;
+			requires static com.sun.jna.platform;
+			requires java.base;
+			exports net.bytebuddy.agent;
+			exports net.bytebuddy.agent.utility.nullability;
+		}
+	EOF
+
+	sed \
+		-e 's:verifyZeroInteractions:verifyNoInteractions:g' \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*/*Test.java \
+		|| die
+}
+
+src_compile() {
+	einfo "Compiling byte-buddy-agent.jar"
+	JAVA_SRC_DIR="byte-buddy-agent/src/main/java"
+	JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources"
+	JAVA_JAR_FILENAME="byte-buddy-agent.jar"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar"
+	rm -r target || die
+
+# For pkgdiff to compare the content of module-info.class
+#	mkdir -p META-INF/versions/9 || die
+#	cp target/classes/module-info.class META-INF/versions/9/ || die
+#	jar -uf byte-buddy.jar -C . META-INF/versions/9/module-info.class || die
+
+	einfo "Compiling byte-buddy-dep.jar"
+	JAVA_SRC_DIR="byte-buddy-dep/src/main/java"
+	JAVA_RESOURCE_DIRS=()
+	JAVA_JAR_FILENAME="byte-buddy-dep.jar"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-dep.jar"
+	rm -r target || die
+
+	if use doc; then
+		einfo "Compiling javadocs"
+		JAVA_SRC_DIR=(
+			"byte-buddy-agent/src/main/java"
+			"byte-buddy-dep/src/main/java"
+		)
+		JAVA_JAR_FILENAME="ignoreme.jar"
+		java-pkg-simple_src_compile
+	fi
+}
+
+src_test() {
+	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
+
+	# einfo "Setting -Djava.library.path"
+	# This would work only after manually adding libjnidispatch.so to /usr/share/jna-4/lib/jna.jar,
+	# done with ( jar -uf /usr/share/jna-4/lib/jna.jar -C . com/sun/jna/linux-x86-64/libjnidispatch )
+#	JAVA_TEST_EXTRA_ARGS=( -Djava.library.path+="$(java-config -i jna-4)" com.sun.jna.Native )
+	# Otherwise fails with:
+	# Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
+
+	einfo "Testing byte-buddy-agent"
+	JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java"
+	# Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
+	JAVA_TEST_EXCLUDES=(
+		net.bytebuddy.agent.VirtualMachineAttachmentTest
+	)
+	java-pkg-simple_src_test
+
+	einfo "Testing byte-buddy-dep"
+	JAVA_TEST_SRC_DIR="byte-buddy-dep/src/test/java"
+	JAVA_TEST_RESOURCE_DIRS=(
+		byte-buddy-dep/src/test/resources
+		byte-buddy-dep/src/test/precompiled*
+	)
+
+	# what "mvn test" does with java 17 is:
+	# Tests run: 9855, Failures: 0, Errors: 0, Skipped: 0
+	JAVA_TEST_EXCLUDES+=(
+		net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest	# 39 tests
+		# v1.12.13
+		net.bytebuddy.build.CachedReturnPluginTest	# 44 tests
+		net.bytebuddy.build.CachedReturnPluginOtherTest	# 4 tests 
+	)
+	java-pkg-simple_src_test
+}
+
+src_install() {
+	java-pkg_dojar "byte-buddy-agent.jar"
+	java-pkg_dojar "byte-buddy-dep.jar"
+
+	if use doc; then
+		java-pkg_dojavadoc target/api
+	fi
+
+	if use source; then
+		java-pkg_dosrc "byte-buddy-agent/src/main/java/*"
+		java-pkg_dosrc "byte-buddy-dep/src/main/java/*"
+	fi
+}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-08-21 15:46 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-08-21 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     12cc7e429a7f1cffbf79a219d87cb394a02d9413
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 21 15:46:37 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 21 15:46:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12cc7e42

dev-java/byte-buddy: Stabilize 1.12.12 arm64, #865917

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
index 6a3353c6c3d1..4aefa89b4092 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-08-21 15:46 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-08-21 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     349b5433a747c5dbb044495a4f7a66b89f170e09
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 21 15:46:43 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 21 15:46:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=349b5433

dev-java/byte-buddy: Stabilize 1.12.12 ppc64, #865917

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
index 4aefa89b4092..0e99206b439f 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-08-22  0:00 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-08-22  0:00 UTC (permalink / raw
  To: gentoo-commits

commit:     64c87a123f5866660da48107e3bacaf4e7637ebf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 21 23:59:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 21 23:59:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c87a12

dev-java/byte-buddy: Stabilize 1.12.12 x86, #865917

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
index 0e99206b439f..ea7465fdf00d 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-08-22  0:00 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-08-22  0:00 UTC (permalink / raw
  To: gentoo-commits

commit:     c1f5378bb639325ceab24011d6cd0cfc7154cbb1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 00:00:04 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 00:00:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1f5378b

dev-java/byte-buddy: Stabilize 1.12.12 amd64, #865917

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
index ea7465fdf00d..999d9bfbd469 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-08-22  0:01 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-08-22  0:01 UTC (permalink / raw
  To: gentoo-commits

commit:     846452316e4985b987ff6ef8b8e7b45b5fc3933f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 00:01:07 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 00:01:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84645231

dev-java/byte-buddy: fix WhitespaceFound

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
index c5c66b0dfca9..19a18b9b4eae 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
@@ -133,7 +133,7 @@ src_test() {
 		net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest	# 39 tests
 		# v1.12.13
 		net.bytebuddy.build.CachedReturnPluginTest	# 44 tests
-		net.bytebuddy.build.CachedReturnPluginOtherTest	# 4 tests 
+		net.bytebuddy.build.CachedReturnPluginOtherTest	# 4 tests
 	)
 	java-pkg-simple_src_test
 }


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-08-23  4:41 Miroslav Šulc
  0 siblings, 0 replies; 47+ messages in thread
From: Miroslav Šulc @ 2022-08-23  4:41 UTC (permalink / raw
  To: gentoo-commits

commit:     5540cf3f38a8a827b200452e3b55e1d6164b4924
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Aug 22 04:23:26 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 04:41:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5540cf3f

dev-java/byte-buddy: drop 1.12.10

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |  1 -
 dev-java/byte-buddy/byte-buddy-1.12.10.ebuild | 48 ---------------------------
 2 files changed, 49 deletions(-)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index fffac52846d5..45f80b5633fa 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1,3 +1,2 @@
-DIST byte-buddy-1.12.10-sources.jar 1331398 BLAKE2B 8732ac81514de40d3d2ffd67ddca05ab9b8a5d0a7f240ee4591fd02b41f410f9e834f389aa898829fbae6082e14a090f87052f537b2b6293c7f8f98d4a5d0583 SHA512 15cb4330598d9259afa29aac0317f8e0e003eb76fb26052bba0714ad30453db721938be7d46fcc6a0c7bbe124bffe68dfee6fcf11a3e4030e99ef01d0ae3d461
 DIST byte-buddy-1.12.12.tar.gz 149937318 BLAKE2B 1a1bd0de97b47ace4c64649da3ae80dcb421a4d46e9b4f66e121accad94a99a2b81fa9aeaca99ae14cf1ef56feff5248d5700d6b056d490563bbc7ae9f07ace9 SHA512 bd8dc5b86ce456d5a907dd23643233bb001c15df5419aeed177d3b4f8054ab172d13244d0b3fef734e8232dfdd9339745d8112fa69e0be566b62459c198bf67a
 DIST byte-buddy-1.12.13.tar.gz 1721038 BLAKE2B 60aadbbb3b56e5ac2ecc2bb162653b769f4d4b913bd675457ce2fbf12a5777addc4beb2bb2e347d5956dbf1fbe6a6dfce078a29c53b1f1e2a60585670897d4ee SHA512 88c221d0dccb248683069070e498c5d4320f4fce059c45f460e04fbd86c2c596c18a4c7f4e9b3a0480eaf96d93593d1f1af87d894a7c4b3d73511e88a95f4e92

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
deleted file mode 100644
index 482eea806388..000000000000
--- a/dev-java/byte-buddy/byte-buddy-1.12.10.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom byte-buddy-1.12.10.pom --download-uri https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.12.10/byte-buddy-1.12.10-sources.jar --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.10.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-MAVEN_ID="net.bytebuddy:byte-buddy:1.12.10"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Byte Buddy is a Java library for creating Java classes at run time"
-HOMEPAGE="https://bytebuddy.net/"
-SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.jar"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-# Compile dependencies
-# POM: ${P}.pom
-# com.google.code.findbugs:findbugs-annotations:3.0.1 -> >=dev-java/findbugs-annotations-3.0.1:0
-# com.google.code.findbugs:jsr305:3.0.2 -> >=dev-java/jsr305-3.0.2:0
-# net.java.dev.jna:jna:5.8.0 -> >=dev-java/jna-5.10.0:4
-# net.java.dev.jna:jna-platform:5.8.0 -> !!!artifactId-not-found!!!
-
-DEPEND="
-	>=virtual/jdk-1.8:*
-	dev-java/findbugs-annotations:0
-	>=dev-java/jna-5.10.0:4
-"
-
-RDEPEND="
-	>=virtual/jre-1.8:*
-"
-
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-JAVA_CLASSPATH_EXTRA="findbugs-annotations,jna-4"
-
-src_prepare() {
-	default
-	java-pkg_clean
-}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-09-09  8:08 Jakov Smolić
  0 siblings, 0 replies; 47+ messages in thread
From: Jakov Smolić @ 2022-09-09  8:08 UTC (permalink / raw
  To: gentoo-commits

commit:     7600d635b3dba823e7ba4756e5c500a4e2d5929d
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  9 08:07:12 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Sep  9 08:07:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7600d635

dev-java/byte-buddy: Stabilize 1.12.13 amd64, #869266

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
index 19a18b9b4eae..93f3c85709ed 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-09-09  8:08 Jakov Smolić
  0 siblings, 0 replies; 47+ messages in thread
From: Jakov Smolić @ 2022-09-09  8:08 UTC (permalink / raw
  To: gentoo-commits

commit:     960cbdd4872f93a5ce1fbd54a9a22082f344dd64
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  9 08:07:57 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Sep  9 08:07:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960cbdd4

dev-java/byte-buddy: Stabilize 1.12.13 x86, #869266

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
index 93f3c85709ed..110d7f1784f3 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-09-14  9:35 Florian Schmaus
  0 siblings, 0 replies; 47+ messages in thread
From: Florian Schmaus @ 2022-09-14  9:35 UTC (permalink / raw
  To: gentoo-commits

commit:     fe7800d79e56bc1515472b39841885d8f948ed24
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Aug 22 14:22:21 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 09:35:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7800d7

dev-java/byte-buddy: add 1.12.14

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/26965
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |   1 +
 dev-java/byte-buddy/byte-buddy-1.12.14.ebuild | 202 ++++++++++++++++++++++++++
 2 files changed, 203 insertions(+)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 45f80b5633fa..59590e26fdd0 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1,2 +1,3 @@
 DIST byte-buddy-1.12.12.tar.gz 149937318 BLAKE2B 1a1bd0de97b47ace4c64649da3ae80dcb421a4d46e9b4f66e121accad94a99a2b81fa9aeaca99ae14cf1ef56feff5248d5700d6b056d490563bbc7ae9f07ace9 SHA512 bd8dc5b86ce456d5a907dd23643233bb001c15df5419aeed177d3b4f8054ab172d13244d0b3fef734e8232dfdd9339745d8112fa69e0be566b62459c198bf67a
 DIST byte-buddy-1.12.13.tar.gz 1721038 BLAKE2B 60aadbbb3b56e5ac2ecc2bb162653b769f4d4b913bd675457ce2fbf12a5777addc4beb2bb2e347d5956dbf1fbe6a6dfce078a29c53b1f1e2a60585670897d4ee SHA512 88c221d0dccb248683069070e498c5d4320f4fce059c45f460e04fbd86c2c596c18a4c7f4e9b3a0480eaf96d93593d1f1af87d894a7c4b3d73511e88a95f4e92
+DIST byte-buddy-1.12.14.tar.gz 1857258 BLAKE2B 6957246f6689d1bdfdc6277ad752e03df0ae47c62b0afded77c94cdd41e00cc736517d0e4e5d5f8c59be519262a03864cde9bffa4ae53e5a7daeed84a519967f SHA512 5035be16fbdf2f7e8e2c93b87ee5f9adc927a19fd3b7d9fcd262906d8d21532cef8111084c3d6d0b75e101df0bfee19bf9177bc6a7d4b18cf0f26146fba4f147

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
new file mode 100644
index 000000000000..a2dee2c98e3d
--- /dev/null
+++ b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
@@ -0,0 +1,202 @@
+# Copyright 1999-2022 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/raphw/byte-buddy/archive/byte-buddy-1.12.14.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.14.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="net.bytebuddy:byte-buddy-agent:1.12.14"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
+HOMEPAGE="https://bytebuddy.net"
+SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+	>=virtual/jdk-11:*
+	dev-java/asm:9
+	dev-java/findbugs-annotations:0
+	dev-java/jna:4
+	dev-java/jsr305:0
+	test? (
+		dev-java/mockito:4
+	)
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+S="${WORKDIR}/${PN}-${P}"
+
+JAVA_CLASSPATH_EXTRA="
+	asm-9
+	findbugs-annotations
+	jsr305
+	jna-4
+"
+
+src_prepare() {
+	default
+	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.14/byte-buddy-agent/pom.xml#L132-L166
+	cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF
+		module net.bytebuddy.agent {
+			requires java.instrument;
+			requires static jdk.attach;
+			requires static com.sun.jna;
+			requires static com.sun.jna.platform;
+			requires java.base;
+			exports net.bytebuddy.agent;
+			exports net.bytebuddy.agent.utility.nullability;
+		}
+	EOF
+
+	# adjustment for recent mockito versions
+	sed \
+		-e 's:verifyZeroInteractions:verifyNoInteractions:g' \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*/*Test.java \
+		|| die
+
+	# instead of shading byte-buddy-dep we move it into byte-buddy.
+	mv byte-buddy{-dep,}/src/main/java || die "cannot move sources"
+	mv byte-buddy{-dep,}/src/test || die "cannot move tests"
+
+	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.14/byte-buddy/pom.xml#L159-L195
+	cat > byte-buddy/src/main/java/module-info.java <<-EOF
+		module net.bytebuddy {
+			requires static java.instrument;
+			requires static java.management;
+			requires static jdk.unsupported;
+			requires static net.bytebuddy.agent;
+			requires static com.sun.jna;
+			requires static com.sun.jna.platform;
+			requires java.base;
+			exports net.bytebuddy;
+			exports net.bytebuddy.agent.builder;
+			exports net.bytebuddy.asm;
+			exports net.bytebuddy.build;
+			exports net.bytebuddy.description;
+			exports net.bytebuddy.description.annotation;
+			exports net.bytebuddy.description.enumeration;
+			exports net.bytebuddy.description.field;
+			exports net.bytebuddy.description.method;
+			exports net.bytebuddy.description.modifier;
+			exports net.bytebuddy.description.type;
+			exports net.bytebuddy.dynamic;
+			exports net.bytebuddy.dynamic.loading;
+			exports net.bytebuddy.dynamic.scaffold;
+			exports net.bytebuddy.dynamic.scaffold.inline;
+			exports net.bytebuddy.dynamic.scaffold.subclass;
+			exports net.bytebuddy.implementation;
+			exports net.bytebuddy.implementation.attribute;
+			exports net.bytebuddy.implementation.auxiliary;
+			exports net.bytebuddy.implementation.bind;
+			exports net.bytebuddy.implementation.bind.annotation;
+			exports net.bytebuddy.implementation.bytecode;
+			exports net.bytebuddy.implementation.bytecode.assign;
+			exports net.bytebuddy.implementation.bytecode.assign.primitive;
+			exports net.bytebuddy.implementation.bytecode.assign.reference;
+			exports net.bytebuddy.implementation.bytecode.collection;
+			exports net.bytebuddy.implementation.bytecode.constant;
+			exports net.bytebuddy.implementation.bytecode.member;
+			exports net.bytebuddy.matcher;
+			exports net.bytebuddy.pool;
+			exports net.bytebuddy.utility;
+			exports net.bytebuddy.utility.nullability;
+			exports net.bytebuddy.utility.privilege;
+			exports net.bytebuddy.utility.visitor;
+		}
+	EOF
+	# We don't bundle, hence cannot export them
+			# exports net.bytebuddy.jar.asm;
+			# exports net.bytebuddy.jar.asm.signature;
+			# exports net.bytebuddy.jar.asm.commons;
+}
+
+src_compile() {
+	einfo "Compiling byte-buddy-agent.jar"
+	JAVA_SRC_DIR="byte-buddy-agent/src/main/java"
+	JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources"
+	JAVA_JAR_FILENAME="byte-buddy-agent.jar"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar"
+	rm -r target || die
+
+	einfo "Compiling byte-buddy.jar"
+	JAVA_SRC_DIR="byte-buddy/src/main/java"
+	JAVA_RESOURCE_DIRS=()
+	JAVA_JAR_FILENAME="byte-buddy.jar"
+	JAVA_MAIN_CLASS="net.bytebuddy.build.Plugin\$Engine\$Default"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy.jar"
+	rm -r target || die
+
+	if use doc; then
+		einfo "Compiling javadocs"
+		JAVA_SRC_DIR=(
+			"byte-buddy-agent/src/main/java"
+			"byte-buddy-dep/src/main/java"
+		)
+		JAVA_JAR_FILENAME="ignoreme.jar"
+		java-pkg-simple_src_compile
+	fi
+}
+
+src_test() {
+	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
+
+	# einfo "Setting -Djava.library.path"
+	# This would work only after manually adding libjnidispatch.so to /usr/share/jna-4/lib/jna.jar,
+	# done with ( jar -uf /usr/share/jna-4/lib/jna.jar -C . com/sun/jna/linux-x86-64/libjnidispatch )
+#	JAVA_TEST_EXTRA_ARGS=( -Djava.library.path+="$(java-config -i jna-4)" com.sun.jna.Native )
+	# Otherwise fails with:
+	# Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
+
+	einfo "Testing byte-buddy-agent"
+	JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java"
+	# Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
+	JAVA_TEST_EXCLUDES=(
+		net.bytebuddy.agent.VirtualMachineAttachmentTest
+	)
+	java-pkg-simple_src_test
+
+	einfo "Testing byte-buddy"
+	JAVA_TEST_SRC_DIR="byte-buddy/src/test/java"
+	JAVA_TEST_RESOURCE_DIRS=(
+		byte-buddy/src/test/resources
+		byte-buddy/src/test/precompiled*
+	)
+
+	# what "mvn test" does with java 17 is:
+	# Tests run: 10022, Failures: 0, Errors: 0, Skipped: 0
+	JAVA_TEST_EXCLUDES+=(
+		net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest	# 39 tests
+		net.bytebuddy.build.CachedReturnPluginTest	# 44 tests
+		net.bytebuddy.build.CachedReturnPluginOtherTest	# 4 tests
+	)
+	java-pkg-simple_src_test
+}
+
+src_install() {
+	java-pkg_dojar "byte-buddy-agent.jar"
+	java-pkg_dojar "byte-buddy.jar"
+
+	if use doc; then
+		java-pkg_dojavadoc target/api
+	fi
+
+	if use source; then
+		java-pkg_dosrc "byte-buddy-agent/src/main/java/*"
+		java-pkg_dosrc "byte-buddy/src/main/java/*"
+	fi
+}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-09-14 19:31 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-09-14 19:31 UTC (permalink / raw
  To: gentoo-commits

commit:     e09dfd4e7fdc0c79e326be733ad556f8849dc707
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 19:31:44 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 19:31:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09dfd4e

dev-java/byte-buddy: Stabilize 1.12.13 ppc64, #869266

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
index 110d7f1784f3..3d5fc7c347c5 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-09-14 21:04 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-09-14 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     e9dc745b087a2b7a4fe3527f5a070a540b25bd67
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 21:03:51 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 21:04:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9dc745b

dev-java/byte-buddy: Stabilize 1.12.13 arm64, #869266

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
index 3d5fc7c347c5..7e2916ecb2f8 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-09-16 18:58 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-09-16 18:58 UTC (permalink / raw
  To: gentoo-commits

commit:     b741d5d6e21369ec8819557a3daee8184edb3266
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Sep 15 06:22:08 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 18:58:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b741d5d6

dev-java/byte-buddy: drop 1.12.12

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |   1 -
 dev-java/byte-buddy/byte-buddy-1.12.12.ebuild | 176 --------------------------
 2 files changed, 177 deletions(-)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 59590e26fdd0..09b6bc50584f 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1,3 +1,2 @@
-DIST byte-buddy-1.12.12.tar.gz 149937318 BLAKE2B 1a1bd0de97b47ace4c64649da3ae80dcb421a4d46e9b4f66e121accad94a99a2b81fa9aeaca99ae14cf1ef56feff5248d5700d6b056d490563bbc7ae9f07ace9 SHA512 bd8dc5b86ce456d5a907dd23643233bb001c15df5419aeed177d3b4f8054ab172d13244d0b3fef734e8232dfdd9339745d8112fa69e0be566b62459c198bf67a
 DIST byte-buddy-1.12.13.tar.gz 1721038 BLAKE2B 60aadbbb3b56e5ac2ecc2bb162653b769f4d4b913bd675457ce2fbf12a5777addc4beb2bb2e347d5956dbf1fbe6a6dfce078a29c53b1f1e2a60585670897d4ee SHA512 88c221d0dccb248683069070e498c5d4320f4fce059c45f460e04fbd86c2c596c18a4c7f4e9b3a0480eaf96d93593d1f1af87d894a7c4b3d73511e88a95f4e92
 DIST byte-buddy-1.12.14.tar.gz 1857258 BLAKE2B 6957246f6689d1bdfdc6277ad752e03df0ae47c62b0afded77c94cdd41e00cc736517d0e4e5d5f8c59be519262a03864cde9bffa4ae53e5a7daeed84a519967f SHA512 5035be16fbdf2f7e8e2c93b87ee5f9adc927a19fd3b7d9fcd262906d8d21532cef8111084c3d6d0b75e101df0bfee19bf9177bc6a7d4b18cf0f26146fba4f147

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
deleted file mode 100644
index 999d9bfbd469..000000000000
--- a/dev-java/byte-buddy/byte-buddy-1.12.12.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2022 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/raphw/byte-buddy/archive/byte-buddy-1.12.12.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.12.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="net.bytebuddy:byte-buddy-agent:1.12.12"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
-HOMEPAGE="https://bytebuddy.net"
-SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND="
-	>=virtual/jdk-11:*
-	dev-java/asm:9
-	dev-java/findbugs-annotations:0
-	dev-java/jna:4
-	dev-java/jsr305:0
-	test? (
-		dev-java/mockito:4
-	)
-"
-
-RDEPEND="
-	>=virtual/jre-1.8:*
-"
-
-S="${WORKDIR}/${PN}-${P}"
-
-JAVA_CLASSPATH_EXTRA="asm-9,findbugs-annotations,jsr305,jna-4"
-
-src_prepare() {
-	default
-	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.12/byte-buddy-agent/pom.xml#L132-L165
-	cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF
-		module net.bytebuddy.agent {
-			requires java.instrument;
-			requires static jdk.attach;
-			requires static com.sun.jna;
-			requires static com.sun.jna.platform;
-			requires java.base;
-			exports net.bytebuddy.agent;
-			exports net.bytebuddy.agent.utility.nullability;
-		}
-	EOF
-
-	sed \
-		-e 's:verifyZeroInteractions:verifyNoInteractions:g' \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*/*Test.java \
-		|| die
-}
-
-src_compile() {
-	einfo "Compiling byte-buddy-agent.jar"
-	JAVA_SRC_DIR="byte-buddy-agent/src/main/java"
-	JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources"
-	JAVA_JAR_FILENAME="byte-buddy-agent.jar"
-	java-pkg-simple_src_compile
-	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar"
-	rm -r target || die
-
-# For pkgdiff to compare the content of module-info.class
-#	mkdir -p META-INF/versions/9 || die
-#	cp target/classes/module-info.class META-INF/versions/9/ || die
-#	jar -uf byte-buddy.jar -C . META-INF/versions/9/module-info.class || die
-
-	einfo "Compiling byte-buddy-dep.jar"
-	JAVA_SRC_DIR="byte-buddy-dep/src/main/java"
-	JAVA_RESOURCE_DIRS="byte-buddy-dep/src/main/resources"
-	JAVA_JAR_FILENAME="byte-buddy-dep.jar"
-	java-pkg-simple_src_compile
-	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-dep.jar"
-	rm -r target || die
-
-	if use doc; then
-		einfo "Compiling javadocs"
-		JAVA_SRC_DIR=(
-			"byte-buddy-agent/src/main/java"
-			"byte-buddy-dep/src/main/java"
-		)
-		JAVA_JAR_FILENAME="ignoreme.jar"
-		java-pkg-simple_src_compile
-	fi
-}
-
-src_test() {
-	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
-
-	# einfo "Setting -Djava.library.path"
-	# This would work only after manually adding libjnidispatch.so to /usr/share/jna-4/lib/jna.jar,
-	# done with ( jar -uf /usr/share/jna-4/lib/jna.jar -C . com/sun/jna/linux-x86-64/libjnidispatch )
-#	JAVA_TEST_EXTRA_ARGS=( -Djava.library.path+="$(java-config -i jna-4)" com.sun.jna.Native )
-	# Otherwise fails with:
-	# Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
-
-	einfo "Testing byte-buddy-agent"
-	JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java"
-	# Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
-	JAVA_TEST_EXCLUDES=( net.bytebuddy.agent.VirtualMachineAttachmentTest )
-	java-pkg-simple_src_test
-
-	einfo "Testing byte-buddy-dep"
-	JAVA_TEST_SRC_DIR="byte-buddy-dep/src/test/java"
-	JAVA_TEST_RESOURCE_DIRS="byte-buddy-dep/src/test/resources"
-
-	# what "mvn test" does with java 17 is:
-	# Tests run: 9836, Failures: 0, Errors: 0, Skipped: 0
-
-	# 1) testTypeVariableTypeAnnotationRuntimeRetention[0](net.bytebuddy.implementation.attribute.MethodAttributeAppenderForInstrumentedMethodTest)
-	# org.mockito.exceptions.verification.NoInteractionsWanted:
-	# --
-	# 2) testTypeVariableTypeAnnotationRuntimeRetention[1](net.bytebuddy.implementation.attribute.MethodAttributeAppenderForInstrumentedMethodTest)
-	# org.mockito.exceptions.verification.NoInteractionsWanted:
-	# --
-	# 3) testAnnotationClassFileRetention(net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeDifferentiatingTest)
-	# org.mockito.exceptions.verification.NoInteractionsWanted:
-	# --
-	# 4) testAnnotationByteCodeRetention(net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeDifferentiatingTest)
-	# org.mockito.exceptions.verification.NoInteractionsWanted:
-	# --
-	# 5) testAnnotationClassFileRetention(net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeTest)
-	# org.mockito.exceptions.verification.NoInteractionsWanted:
-	# --
-	# 6) testAnnotationByteCodeRetention(net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeTest)
-	# org.mockito.exceptions.verification.NoInteractionsWanted:
-	# --
-	# 7) testChildSecond(net.bytebuddy.pool.TypePoolDefaultHierarchyTest)
-	# org.mockito.exceptions.verification.NoInteractionsWanted:
-	# --
-	# 8) testNoParameterNameAndModifiers(net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest)
-	# java.lang.AssertionError:
-	# --
-	# 9) testSimpleApplication(net.bytebuddy.description.type.TypeInitializerTest)
-	# org.mockito.exceptions.verification.NoInteractionsWanted:
-	# --
-	# 10) testRedefinitionChunkedOneFailsResubmit(net.bytebuddy.agent.builder.AgentBuilderDefaultTest)
-	# org.mockito.exceptions.verification.NoInteractionsWanted:
-	JAVA_TEST_EXCLUDES+=(
-		net.bytebuddy.implementation.attribute.MethodAttributeAppenderForInstrumentedMethodTest
-		net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeDifferentiatingTest
-		net.bytebuddy.implementation.attribute.TypeAttributeAppenderForInstrumentedTypeTest
-		net.bytebuddy.pool.TypePoolDefaultHierarchyTest
-		net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest
-		net.bytebuddy.description.type.TypeInitializerTest
-		net.bytebuddy.agent.builder.AgentBuilderDefaultTest
-	)
-	java-pkg-simple_src_test
-}
-
-src_install() {
-	java-pkg_dojar "byte-buddy-agent.jar"
-	java-pkg_dojar "byte-buddy-dep.jar"
-
-	if use doc; then
-		java-pkg_dojavadoc target/api
-	fi
-
-	if use source; then
-		java-pkg_dosrc "byte-buddy-agent/src/main/java/*"
-		java-pkg_dosrc "byte-buddy-dep/src/main/java/*"
-	fi
-}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-10-14  8:15 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-10-14  8:15 UTC (permalink / raw
  To: gentoo-commits

commit:     717ed38536ca7756c6280fffd0f0dadbf2a2c66c
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 08:15:18 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 08:15:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=717ed385

dev-java/byte-buddy: Stabilize 1.12.14 ppc64, #877085

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
index a2dee2c98e3d..edb8938b00ce 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-10-14 19:04 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-10-14 19:04 UTC (permalink / raw
  To: gentoo-commits

commit:     130ac741f7d7fc34b890fa4b86de738bb2605eb0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 19:02:56 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 19:04:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=130ac741

dev-java/byte-buddy: Stabilize 1.12.14 amd64, #877085

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
index edb8938b00ce..5648f7de1768 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-10-14 19:04 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-10-14 19:04 UTC (permalink / raw
  To: gentoo-commits

commit:     a51f8e63ce6d0b8a47b044b09d57580c953f578f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 19:03:38 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 19:04:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51f8e63

dev-java/byte-buddy: Stabilize 1.12.14 x86, #877085

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
index 5648f7de1768..61c20f47e67c 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-10-16 16:49 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-10-16 16:49 UTC (permalink / raw
  To: gentoo-commits

commit:     43f8053b731507cc3b9463c4b475d412cabfb74e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 16:49:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 16:49:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43f8053b

dev-java/byte-buddy: Stabilize 1.12.14 arm64, #877085

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
index 61c20f47e67c..76862e0b7298 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-10-17  4:49 Miroslav Šulc
  0 siblings, 0 replies; 47+ messages in thread
From: Miroslav Šulc @ 2022-10-17  4:49 UTC (permalink / raw
  To: gentoo-commits

commit:     2e8fc40e4beb1b8cc4beefb46394b379c5937d9b
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Oct 16 17:34:24 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 04:49:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e8fc40e

dev-java/byte-buddy: drop 1.12.13

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27808
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |   1 -
 dev-java/byte-buddy/byte-buddy-1.12.13.ebuild | 153 --------------------------
 2 files changed, 154 deletions(-)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 09b6bc50584f..207b8020b0ca 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1,2 +1 @@
-DIST byte-buddy-1.12.13.tar.gz 1721038 BLAKE2B 60aadbbb3b56e5ac2ecc2bb162653b769f4d4b913bd675457ce2fbf12a5777addc4beb2bb2e347d5956dbf1fbe6a6dfce078a29c53b1f1e2a60585670897d4ee SHA512 88c221d0dccb248683069070e498c5d4320f4fce059c45f460e04fbd86c2c596c18a4c7f4e9b3a0480eaf96d93593d1f1af87d894a7c4b3d73511e88a95f4e92
 DIST byte-buddy-1.12.14.tar.gz 1857258 BLAKE2B 6957246f6689d1bdfdc6277ad752e03df0ae47c62b0afded77c94cdd41e00cc736517d0e4e5d5f8c59be519262a03864cde9bffa4ae53e5a7daeed84a519967f SHA512 5035be16fbdf2f7e8e2c93b87ee5f9adc927a19fd3b7d9fcd262906d8d21532cef8111084c3d6d0b75e101df0bfee19bf9177bc6a7d4b18cf0f26146fba4f147

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
deleted file mode 100644
index 7e2916ecb2f8..000000000000
--- a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2022 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/raphw/byte-buddy/archive/byte-buddy-1.12.13.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.13.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="net.bytebuddy:byte-buddy-agent:1.12.13"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
-HOMEPAGE="https://bytebuddy.net"
-SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND="
-	>=virtual/jdk-11:*
-	dev-java/asm:9
-	dev-java/findbugs-annotations:0
-	dev-java/jna:4
-	dev-java/jsr305:0
-	test? (
-		dev-java/mockito:4
-	)
-"
-
-RDEPEND="
-	>=virtual/jre-1.8:*
-"
-
-S="${WORKDIR}/${PN}-${P}"
-
-JAVA_CLASSPATH_EXTRA="
-	asm-9
-	findbugs-annotations
-	jsr305
-	jna-4
-"
-
-src_prepare() {
-	default
-	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.12/byte-buddy-agent/pom.xml#L132-L165
-	cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF
-		module net.bytebuddy.agent {
-			requires java.instrument;
-			requires static jdk.attach;
-			requires static com.sun.jna;
-			requires static com.sun.jna.platform;
-			requires java.base;
-			exports net.bytebuddy.agent;
-			exports net.bytebuddy.agent.utility.nullability;
-		}
-	EOF
-
-	sed \
-		-e 's:verifyZeroInteractions:verifyNoInteractions:g' \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*/*Test.java \
-		|| die
-}
-
-src_compile() {
-	einfo "Compiling byte-buddy-agent.jar"
-	JAVA_SRC_DIR="byte-buddy-agent/src/main/java"
-	JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources"
-	JAVA_JAR_FILENAME="byte-buddy-agent.jar"
-	java-pkg-simple_src_compile
-	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar"
-	rm -r target || die
-
-# For pkgdiff to compare the content of module-info.class
-#	mkdir -p META-INF/versions/9 || die
-#	cp target/classes/module-info.class META-INF/versions/9/ || die
-#	jar -uf byte-buddy.jar -C . META-INF/versions/9/module-info.class || die
-
-	einfo "Compiling byte-buddy-dep.jar"
-	JAVA_SRC_DIR="byte-buddy-dep/src/main/java"
-	JAVA_RESOURCE_DIRS=()
-	JAVA_JAR_FILENAME="byte-buddy-dep.jar"
-	java-pkg-simple_src_compile
-	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-dep.jar"
-	rm -r target || die
-
-	if use doc; then
-		einfo "Compiling javadocs"
-		JAVA_SRC_DIR=(
-			"byte-buddy-agent/src/main/java"
-			"byte-buddy-dep/src/main/java"
-		)
-		JAVA_JAR_FILENAME="ignoreme.jar"
-		java-pkg-simple_src_compile
-	fi
-}
-
-src_test() {
-	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
-
-	# einfo "Setting -Djava.library.path"
-	# This would work only after manually adding libjnidispatch.so to /usr/share/jna-4/lib/jna.jar,
-	# done with ( jar -uf /usr/share/jna-4/lib/jna.jar -C . com/sun/jna/linux-x86-64/libjnidispatch )
-#	JAVA_TEST_EXTRA_ARGS=( -Djava.library.path+="$(java-config -i jna-4)" com.sun.jna.Native )
-	# Otherwise fails with:
-	# Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
-
-	einfo "Testing byte-buddy-agent"
-	JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java"
-	# Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
-	JAVA_TEST_EXCLUDES=(
-		net.bytebuddy.agent.VirtualMachineAttachmentTest
-	)
-	java-pkg-simple_src_test
-
-	einfo "Testing byte-buddy-dep"
-	JAVA_TEST_SRC_DIR="byte-buddy-dep/src/test/java"
-	JAVA_TEST_RESOURCE_DIRS=(
-		byte-buddy-dep/src/test/resources
-		byte-buddy-dep/src/test/precompiled*
-	)
-
-	# what "mvn test" does with java 17 is:
-	# Tests run: 9855, Failures: 0, Errors: 0, Skipped: 0
-	JAVA_TEST_EXCLUDES+=(
-		net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest	# 39 tests
-		# v1.12.13
-		net.bytebuddy.build.CachedReturnPluginTest	# 44 tests
-		net.bytebuddy.build.CachedReturnPluginOtherTest	# 4 tests
-	)
-	java-pkg-simple_src_test
-}
-
-src_install() {
-	java-pkg_dojar "byte-buddy-agent.jar"
-	java-pkg_dojar "byte-buddy-dep.jar"
-
-	if use doc; then
-		java-pkg_dojavadoc target/api
-	fi
-
-	if use source; then
-		java-pkg_dosrc "byte-buddy-agent/src/main/java/*"
-		java-pkg_dosrc "byte-buddy-dep/src/main/java/*"
-	fi
-}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-12-10 14:33 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-12-10 14:33 UTC (permalink / raw
  To: gentoo-commits

commit:     801d2e1bc1072dabc619c7fc44d1dfa7116b79cd
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 14:32:44 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 14:32:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801d2e1b

dev-java/byte-buddy: Stabilize 1.12.18 ppc64, #885305

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
index 847b00aff70c..ead15c3fab71 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-12-10 14:33 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-12-10 14:33 UTC (permalink / raw
  To: gentoo-commits

commit:     973ef77a3ff33651f08bc14c9eb4d3f005d788c7
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 14:32:45 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 14:32:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=973ef77a

dev-java/byte-buddy: Stabilize 1.12.18 amd64, #885305

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
index ead15c3fab71..a13d6726a174 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-12-10 14:54 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-12-10 14:54 UTC (permalink / raw
  To: gentoo-commits

commit:     36f0d66cc8349a884f06ac431e267087c8f557eb
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 14:54:14 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 14:54:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f0d66c

dev-java/byte-buddy: Stabilize 1.12.18 arm64, #885305

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
index a13d6726a174..4fef23220b60 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-12-10 14:56 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-12-10 14:56 UTC (permalink / raw
  To: gentoo-commits

commit:     bdd0f78ed52d2d029dadd0c429c5c63e6b596a65
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 14:56:28 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 14:56:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd0f78e

dev-java/byte-buddy: Stabilize 1.12.18 x86, #885305

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
index 4fef23220b60..c535d83e1432 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.18.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2022-12-10 17:12 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2022-12-10 17:12 UTC (permalink / raw
  To: gentoo-commits

commit:     e8802fb7a8be2057c042f23d87722795395128e6
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Dec 10 16:35:59 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 17:12:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8802fb7

dev-java/byte-buddy: drop 1.12.14

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/28628
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |   1 -
 dev-java/byte-buddy/byte-buddy-1.12.14.ebuild | 202 --------------------------
 2 files changed, 203 deletions(-)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 42657532e069..e1bd929fde87 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1,2 +1 @@
-DIST byte-buddy-1.12.14.tar.gz 1857258 BLAKE2B 6957246f6689d1bdfdc6277ad752e03df0ae47c62b0afded77c94cdd41e00cc736517d0e4e5d5f8c59be519262a03864cde9bffa4ae53e5a7daeed84a519967f SHA512 5035be16fbdf2f7e8e2c93b87ee5f9adc927a19fd3b7d9fcd262906d8d21532cef8111084c3d6d0b75e101df0bfee19bf9177bc6a7d4b18cf0f26146fba4f147
 DIST byte-buddy-1.12.18.tar.gz 1924438 BLAKE2B 278ac97d60e62c7d44142a01da94113b29b483bff532f08fca7e345f383a4ddf83cb8c4d0544bce1879bb26909d048a76562cd816c4e9cb06695127ed849f08c SHA512 637e041f97981b85cd13ffecb0de47206b5c99d8b98561561414d8a599f5d53a6e047ba3ad9bc88ca030125221df3ebe49d6eff18a4093f4027d8cbf34a483b0

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
deleted file mode 100644
index 76862e0b7298..000000000000
--- a/dev-java/byte-buddy/byte-buddy-1.12.14.ebuild
+++ /dev/null
@@ -1,202 +0,0 @@
-# Copyright 1999-2022 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/raphw/byte-buddy/archive/byte-buddy-1.12.14.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.14.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="net.bytebuddy:byte-buddy-agent:1.12.14"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
-HOMEPAGE="https://bytebuddy.net"
-SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND="
-	>=virtual/jdk-11:*
-	dev-java/asm:9
-	dev-java/findbugs-annotations:0
-	dev-java/jna:4
-	dev-java/jsr305:0
-	test? (
-		dev-java/mockito:4
-	)
-"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-S="${WORKDIR}/${PN}-${P}"
-
-JAVA_CLASSPATH_EXTRA="
-	asm-9
-	findbugs-annotations
-	jsr305
-	jna-4
-"
-
-src_prepare() {
-	default
-	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.14/byte-buddy-agent/pom.xml#L132-L166
-	cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF
-		module net.bytebuddy.agent {
-			requires java.instrument;
-			requires static jdk.attach;
-			requires static com.sun.jna;
-			requires static com.sun.jna.platform;
-			requires java.base;
-			exports net.bytebuddy.agent;
-			exports net.bytebuddy.agent.utility.nullability;
-		}
-	EOF
-
-	# adjustment for recent mockito versions
-	sed \
-		-e 's:verifyZeroInteractions:verifyNoInteractions:g' \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*/*Test.java \
-		|| die
-
-	# instead of shading byte-buddy-dep we move it into byte-buddy.
-	mv byte-buddy{-dep,}/src/main/java || die "cannot move sources"
-	mv byte-buddy{-dep,}/src/test || die "cannot move tests"
-
-	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.14/byte-buddy/pom.xml#L159-L195
-	cat > byte-buddy/src/main/java/module-info.java <<-EOF
-		module net.bytebuddy {
-			requires static java.instrument;
-			requires static java.management;
-			requires static jdk.unsupported;
-			requires static net.bytebuddy.agent;
-			requires static com.sun.jna;
-			requires static com.sun.jna.platform;
-			requires java.base;
-			exports net.bytebuddy;
-			exports net.bytebuddy.agent.builder;
-			exports net.bytebuddy.asm;
-			exports net.bytebuddy.build;
-			exports net.bytebuddy.description;
-			exports net.bytebuddy.description.annotation;
-			exports net.bytebuddy.description.enumeration;
-			exports net.bytebuddy.description.field;
-			exports net.bytebuddy.description.method;
-			exports net.bytebuddy.description.modifier;
-			exports net.bytebuddy.description.type;
-			exports net.bytebuddy.dynamic;
-			exports net.bytebuddy.dynamic.loading;
-			exports net.bytebuddy.dynamic.scaffold;
-			exports net.bytebuddy.dynamic.scaffold.inline;
-			exports net.bytebuddy.dynamic.scaffold.subclass;
-			exports net.bytebuddy.implementation;
-			exports net.bytebuddy.implementation.attribute;
-			exports net.bytebuddy.implementation.auxiliary;
-			exports net.bytebuddy.implementation.bind;
-			exports net.bytebuddy.implementation.bind.annotation;
-			exports net.bytebuddy.implementation.bytecode;
-			exports net.bytebuddy.implementation.bytecode.assign;
-			exports net.bytebuddy.implementation.bytecode.assign.primitive;
-			exports net.bytebuddy.implementation.bytecode.assign.reference;
-			exports net.bytebuddy.implementation.bytecode.collection;
-			exports net.bytebuddy.implementation.bytecode.constant;
-			exports net.bytebuddy.implementation.bytecode.member;
-			exports net.bytebuddy.matcher;
-			exports net.bytebuddy.pool;
-			exports net.bytebuddy.utility;
-			exports net.bytebuddy.utility.nullability;
-			exports net.bytebuddy.utility.privilege;
-			exports net.bytebuddy.utility.visitor;
-		}
-	EOF
-	# We don't bundle, hence cannot export them
-			# exports net.bytebuddy.jar.asm;
-			# exports net.bytebuddy.jar.asm.signature;
-			# exports net.bytebuddy.jar.asm.commons;
-}
-
-src_compile() {
-	einfo "Compiling byte-buddy-agent.jar"
-	JAVA_SRC_DIR="byte-buddy-agent/src/main/java"
-	JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources"
-	JAVA_JAR_FILENAME="byte-buddy-agent.jar"
-	java-pkg-simple_src_compile
-	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar"
-	rm -r target || die
-
-	einfo "Compiling byte-buddy.jar"
-	JAVA_SRC_DIR="byte-buddy/src/main/java"
-	JAVA_RESOURCE_DIRS=()
-	JAVA_JAR_FILENAME="byte-buddy.jar"
-	JAVA_MAIN_CLASS="net.bytebuddy.build.Plugin\$Engine\$Default"
-	java-pkg-simple_src_compile
-	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy.jar"
-	rm -r target || die
-
-	if use doc; then
-		einfo "Compiling javadocs"
-		JAVA_SRC_DIR=(
-			"byte-buddy-agent/src/main/java"
-			"byte-buddy-dep/src/main/java"
-		)
-		JAVA_JAR_FILENAME="ignoreme.jar"
-		java-pkg-simple_src_compile
-	fi
-}
-
-src_test() {
-	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
-
-	# einfo "Setting -Djava.library.path"
-	# This would work only after manually adding libjnidispatch.so to /usr/share/jna-4/lib/jna.jar,
-	# done with ( jar -uf /usr/share/jna-4/lib/jna.jar -C . com/sun/jna/linux-x86-64/libjnidispatch )
-#	JAVA_TEST_EXTRA_ARGS=( -Djava.library.path+="$(java-config -i jna-4)" com.sun.jna.Native )
-	# Otherwise fails with:
-	# Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
-
-	einfo "Testing byte-buddy-agent"
-	JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java"
-	# Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path
-	JAVA_TEST_EXCLUDES=(
-		net.bytebuddy.agent.VirtualMachineAttachmentTest
-	)
-	java-pkg-simple_src_test
-
-	einfo "Testing byte-buddy"
-	JAVA_TEST_SRC_DIR="byte-buddy/src/test/java"
-	JAVA_TEST_RESOURCE_DIRS=(
-		byte-buddy/src/test/resources
-		byte-buddy/src/test/precompiled*
-	)
-
-	# what "mvn test" does with java 17 is:
-	# Tests run: 10022, Failures: 0, Errors: 0, Skipped: 0
-	JAVA_TEST_EXCLUDES+=(
-		net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest	# 39 tests
-		net.bytebuddy.build.CachedReturnPluginTest	# 44 tests
-		net.bytebuddy.build.CachedReturnPluginOtherTest	# 4 tests
-	)
-	java-pkg-simple_src_test
-}
-
-src_install() {
-	java-pkg_dojar "byte-buddy-agent.jar"
-	java-pkg_dojar "byte-buddy.jar"
-
-	if use doc; then
-		java-pkg_dojavadoc target/api
-	fi
-
-	if use source; then
-		java-pkg_dosrc "byte-buddy-agent/src/main/java/*"
-		java-pkg_dosrc "byte-buddy/src/main/java/*"
-	fi
-}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-01-10 12:35 Florian Schmaus
  0 siblings, 0 replies; 47+ messages in thread
From: Florian Schmaus @ 2023-01-10 12:35 UTC (permalink / raw
  To: gentoo-commits

commit:     f009c0f72f53cb67856eaa2ca7754537090de715
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Dec 17 10:03:01 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jan 10 12:34:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f009c0f7

dev-java/byte-buddy: add 1.12.21

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/28269
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |   1 +
 dev-java/byte-buddy/byte-buddy-1.12.21.ebuild | 171 ++++++++++++++++++++++++++
 2 files changed, 172 insertions(+)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index e1bd929fde87..574c86acf6cb 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1 +1,2 @@
 DIST byte-buddy-1.12.18.tar.gz 1924438 BLAKE2B 278ac97d60e62c7d44142a01da94113b29b483bff532f08fca7e345f383a4ddf83cb8c4d0544bce1879bb26909d048a76562cd816c4e9cb06695127ed849f08c SHA512 637e041f97981b85cd13ffecb0de47206b5c99d8b98561561414d8a599f5d53a6e047ba3ad9bc88ca030125221df3ebe49d6eff18a4093f4027d8cbf34a483b0
+DIST byte-buddy-1.12.21.tar.gz 1931819 BLAKE2B 6b37b21d5f31c1564a3cc4d30870a7eca3c4c0512815db881a20602dc7ac970145dd9cc2bd6af4f2fdca0ff542b43dc675376c91f7ea7fdf3ea306112eba842b SHA512 9513caa9a5fc0924aea46e8de21ad2ad90320a582ad17be93f6305eb27f98d3af2c3fa09565083b5d97c0d9f0a1b0a9c7105738c4b65616e78bf2e7657c4ee76

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
new file mode 100644
index 000000000000..729dbe4351a9
--- /dev/null
+++ b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2023 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/raphw/byte-buddy/archive/byte-buddy-1.12.21.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.21.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_PROVIDES="net.bytebuddy:byte-buddy-agent:1.12.21 net.bytebuddy:byte-buddy:1.12.21"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
+HOMEPAGE="https://bytebuddy.net"
+SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+	>=virtual/jdk-11:*
+	dev-java/asm:9
+	dev-java/findbugs-annotations:0
+	dev-java/jna:4
+	dev-java/jsr305:0
+	test? (
+		dev-java/mockito:4
+	)
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+S="${WORKDIR}/byte-buddy-${P}"
+
+JAVA_CLASSPATH_EXTRA="
+	asm-9
+	findbugs-annotations
+	jsr305
+	jna-4
+"
+
+src_prepare() {
+	default
+	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.20/byte-buddy-agent/pom.xml#L142-L176
+	cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF || die
+		module net.bytebuddy.agent {
+			requires java.instrument;
+			requires static jdk.attach;
+			requires static com.sun.jna;
+			requires static com.sun.jna.platform;
+			requires java.base;
+			exports net.bytebuddy.agent;
+			exports net.bytebuddy.agent.utility.nullability;
+		}
+	EOF
+
+	# adjustment for recent mockito versions
+	sed \
+		-e 's:verifyZeroInteractions:verifyNoInteractions:g' \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*Test.java \
+		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*/*Test.java \
+		|| die
+
+	# instead of shading byte-buddy-dep we move it into byte-buddy.
+	mv byte-buddy{-dep,}/src/main/java || die "cannot move sources"
+
+	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.20/byte-buddy/pom.xml#L159-L195
+	local exports="$( \
+		sed -n '/<packages.list.external>/,/<\/packages.list.external/p' \
+		byte-buddy/pom.xml \
+		| sed -e 's:^:exports :' -e 's:,:;:' \
+		| grep -v 'packages.list.external\|shade' | tr -s '[:space:]' \
+		)" || die
+	cat > byte-buddy/src/main/java/module-info.java <<-EOF || die
+		module net.bytebuddy {
+			requires static java.instrument;
+			requires static java.management;
+			requires static jdk.unsupported;
+			requires static net.bytebuddy.agent;
+			requires static com.sun.jna;
+			requires static com.sun.jna.platform;
+			requires java.base;
+			${exports}
+		}
+	EOF
+}
+
+src_compile() {
+	einfo "Compiling byte-buddy-agent.jar"
+	JAVA_JAR_FILENAME="byte-buddy-agent.jar"
+	JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources"
+	JAVA_SRC_DIR="byte-buddy-agent/src/main/java"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar"
+	rm -r target || die
+
+	einfo "Compiling byte-buddy.jar"
+	JAVA_JAR_FILENAME="byte-buddy.jar"
+	JAVA_MAIN_CLASS="net.bytebuddy.build.Plugin\$Engine\$Default"
+	JAVA_RESOURCE_DIRS=()
+	JAVA_SRC_DIR="byte-buddy/src/main/java"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy.jar"
+	rm -r target || die
+
+	if use doc; then
+		einfo "Compiling javadocs"
+		rm byte-buddy-agent/src/main/java/module-info.java || die
+		JAVA_SRC_DIR=(
+			"byte-buddy-agent/src/main/java"
+			"byte-buddy/src/main/java"
+		)
+		JAVA_JAR_FILENAME="ignoreme.jar"
+		java-pkg-simple_src_compile
+	fi
+}
+
+src_test() {
+	# instead of shading byte-buddy-dep we move it into byte-buddy.
+	mv byte-buddy{-dep,}/src/test || die "cannot move tests"
+
+	# @Ignore one of 4 tests, https://bugs.gentoo.org/863386
+	sed \
+		-e '/import org.junit.Test/a import org.junit.Ignore;' \
+		-e '/testIgnoreExistingField()/i @Ignore' \
+		-i byte-buddy/src/test/java/net/bytebuddy/build/CachedReturnPluginOtherTest.java || die
+
+	# @Ignore one of 39 tests, https://bugs.gentoo.org/863386
+	sed \
+		-e '/import org.junit.Test/a import org.junit.Ignore;' \
+		-e '/testNoParameterNameAndModifiers()/i @Ignore' \
+		-i byte-buddy/src/test/java/net/bytebuddy/description/method/AbstractMethodDescriptionTest.java || die
+
+	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
+
+	einfo "Testing byte-buddy-agent"
+	# https://github.com/raphw/byte-buddy/issues/1321#issuecomment-1252776459
+	JAVA_TEST_EXTRA_ARGS=( -Dnet.bytebuddy.test.jnapath="${EPREFIX}/usr/$(get_libdir)/jna-4/" )
+	JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java"
+	java-pkg-simple_src_test
+
+	einfo "Testing byte-buddy"
+	JAVA_TEST_RESOURCE_DIRS=( byte-buddy/src/test/{resources,precompiled*} )
+	JAVA_TEST_SRC_DIR="byte-buddy/src/test/java"
+
+	JAVA_TEST_EXCLUDES=(
+		# all tests in this class fail, https://bugs.gentoo.org/863386
+		net.bytebuddy.build.CachedReturnPluginTest
+	)
+	java-pkg-simple_src_test
+}
+
+src_install() {
+	java-pkg_dojar "byte-buddy-agent.jar"
+	java-pkg_dojar "byte-buddy.jar"
+
+	if use doc; then
+		java-pkg_dojavadoc target/api
+	fi
+
+	if use source; then
+		java-pkg_dosrc "byte-buddy-agent/src/main/java/*"
+		java-pkg_dosrc "byte-buddy/src/main/java/*"
+	fi
+}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-01-10 12:35 Florian Schmaus
  0 siblings, 0 replies; 47+ messages in thread
From: Florian Schmaus @ 2023-01-10 12:35 UTC (permalink / raw
  To: gentoo-commits

commit:     2c16a583e2e4915785a99205a1d25a4932297047
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 10 12:34:47 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jan 10 12:34:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c16a583

dev-java/byte-buddy: remove effectless sed

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.21.ebuild | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
index 729dbe4351a9..20f740f2c37c 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
@@ -57,16 +57,6 @@ src_prepare() {
 		}
 	EOF
 
-	# adjustment for recent mockito versions
-	sed \
-		-e 's:verifyZeroInteractions:verifyNoInteractions:g' \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*Test.java \
-		-i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*/*Test.java \
-		|| die
-
 	# instead of shading byte-buddy-dep we move it into byte-buddy.
 	mv byte-buddy{-dep,}/src/main/java || die "cannot move sources"
 


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-02-09 18:07 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-02-09 18:07 UTC (permalink / raw
  To: gentoo-commits

commit:     6604739aa5b2720d8404897d68f34db8a411eabd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 18:07:19 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 18:07:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6604739a

dev-java/byte-buddy: Stabilize 1.12.21 x86, #893766

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
index 1a7e01ab26a1..49dc049db0a2 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-02-09 18:07 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-02-09 18:07 UTC (permalink / raw
  To: gentoo-commits

commit:     843b78a36a227ce06b8112d080b2bdf9fc0f8161
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 18:07:16 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 18:07:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=843b78a3

dev-java/byte-buddy: Stabilize 1.12.21 amd64, #893766

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
index 20f740f2c37c..1a7e01ab26a1 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-02-09 18:09 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2023-02-09 18:09 UTC (permalink / raw
  To: gentoo-commits

commit:     f4fbd8fe2ec1b95fe1ddc3ef81c72c7723271b92
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 18:05:55 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 18:09:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4fbd8fe

dev-java/byte-buddy: Stabilize 1.12.21 ppc64, #893766

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
index 303bc4a64f5f..df9099cd9224 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-02-09 18:09 Arthur Zamarin
  0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2023-02-09 18:09 UTC (permalink / raw
  To: gentoo-commits

commit:     384149f42abfb0d5839717fd93c643e64478214f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 18:05:53 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 18:09:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384149f4

dev-java/byte-buddy: Stabilize 1.12.21 arm64, #893766

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.12.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
index 49dc049db0a2..303bc4a64f5f 100644
--- a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-03-04 13:03 Miroslav Šulc
  0 siblings, 0 replies; 47+ messages in thread
From: Miroslav Šulc @ 2023-03-04 13:03 UTC (permalink / raw
  To: gentoo-commits

commit:     43332b74224c3acfe276878e513ba99e03d31e13
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Feb 20 14:12:59 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 13:03:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43332b74

dev-java/byte-buddy: add 1.14.0

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/29132
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                 |   1 +
 dev-java/byte-buddy/byte-buddy-1.14.0.ebuild | 161 +++++++++++++++++++++++++++
 2 files changed, 162 insertions(+)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 89691d52766a..99d1b66d4a18 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1 +1,2 @@
 DIST byte-buddy-1.12.21.tar.gz 1931819 BLAKE2B 6b37b21d5f31c1564a3cc4d30870a7eca3c4c0512815db881a20602dc7ac970145dd9cc2bd6af4f2fdca0ff542b43dc675376c91f7ea7fdf3ea306112eba842b SHA512 9513caa9a5fc0924aea46e8de21ad2ad90320a582ad17be93f6305eb27f98d3af2c3fa09565083b5d97c0d9f0a1b0a9c7105738c4b65616e78bf2e7657c4ee76
+DIST byte-buddy-1.14.0.tar.gz 1989303 BLAKE2B c284f54ebc6bf67e4706380f0876f403fcf5ae172a690888d13d6b3399cf41bf1fd8890bf15059f71a9457ec6343254ad1f421f8e4975aa70dd9a2103ab59610 SHA512 e6ccda287935b5ff7104d5c0e4904b0595918a21bcc90c6ac5b2358cc0371b22a4fcac2a95dde9e377c5d1e43077c8b57ea9520a9093b2380ab53c830f107ced

diff --git a/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
new file mode 100644
index 000000000000..f1f274b658eb
--- /dev/null
+++ b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2023 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/raphw/byte-buddy/archive/byte-buddy-1.12.23.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.23.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_PROVIDES="net.bytebuddy:byte-buddy-agent:1.12.23 net.bytebuddy:byte-buddy:1.12.23"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
+HOMEPAGE="https://bytebuddy.net"
+SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+	>=virtual/jdk-11:*
+	dev-java/asm:9
+	dev-java/findbugs-annotations:0
+	dev-java/jna:4
+	dev-java/jsr305:0
+	test? (
+		dev-java/mockito:4
+	)
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+S="${WORKDIR}/byte-buddy-${P}"
+
+JAVA_CLASSPATH_EXTRA="
+	asm-9
+	findbugs-annotations
+	jsr305
+	jna-4
+"
+
+src_prepare() {
+	default
+	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.20/byte-buddy-agent/pom.xml#L142-L176
+	cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF || die
+		module net.bytebuddy.agent {
+			requires java.instrument;
+			requires static jdk.attach;
+			requires static com.sun.jna;
+			requires static com.sun.jna.platform;
+			requires java.base;
+			exports net.bytebuddy.agent;
+			exports net.bytebuddy.agent.utility.nullability;
+		}
+	EOF
+
+	# instead of shading byte-buddy-dep we move it into byte-buddy.
+	mv byte-buddy{-dep,}/src/main/java || die "cannot move sources"
+
+	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.20/byte-buddy/pom.xml#L159-L195
+	local exports="$( \
+		sed -n '/<packages.list.external>/,/<\/packages.list.external/p' \
+		byte-buddy/pom.xml \
+		| sed -e 's:^:exports :' -e 's:,:;:' \
+		| grep -v 'packages.list.external\|shade' | tr -s '[:space:]' \
+		)" || die
+	cat > byte-buddy/src/main/java/module-info.java <<-EOF || die
+		module net.bytebuddy {
+			requires static java.instrument;
+			requires static java.management;
+			requires static jdk.unsupported;
+			requires static net.bytebuddy.agent;
+			requires static com.sun.jna;
+			requires static com.sun.jna.platform;
+			requires java.base;
+			${exports}
+		}
+	EOF
+}
+
+src_compile() {
+	einfo "Compiling byte-buddy-agent.jar"
+	JAVA_JAR_FILENAME="byte-buddy-agent.jar"
+	JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources"
+	JAVA_SRC_DIR="byte-buddy-agent/src/main/java"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar"
+	rm -r target || die
+
+	einfo "Compiling byte-buddy.jar"
+	JAVA_JAR_FILENAME="byte-buddy.jar"
+	JAVA_MAIN_CLASS="net.bytebuddy.build.Plugin\$Engine\$Default"
+	JAVA_RESOURCE_DIRS=()
+	JAVA_SRC_DIR="byte-buddy/src/main/java"
+	java-pkg-simple_src_compile
+	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy.jar"
+	rm -r target || die
+
+	if use doc; then
+		einfo "Compiling javadocs"
+		rm byte-buddy-agent/src/main/java/module-info.java || die
+		JAVA_SRC_DIR=(
+			"byte-buddy-agent/src/main/java"
+			"byte-buddy/src/main/java"
+		)
+		JAVA_JAR_FILENAME="ignoreme.jar"
+		java-pkg-simple_src_compile
+	fi
+}
+
+src_test() {
+	# instead of shading byte-buddy-dep we move it into byte-buddy.
+	mv byte-buddy{-dep,}/src/test || die "cannot move tests"
+
+	# @Ignore one of 4 tests, https://bugs.gentoo.org/863386
+	sed \
+		-e '/import org.junit.Test/a import org.junit.Ignore;' \
+		-e '/testIgnoreExistingField()/i @Ignore' \
+		-i byte-buddy/src/test/java/net/bytebuddy/build/CachedReturnPluginOtherTest.java || die
+
+	# @Ignore one of 39 tests, https://bugs.gentoo.org/863386
+	sed \
+		-e '/import org.junit.Test/a import org.junit.Ignore;' \
+		-e '/testNoParameterNameAndModifiers()/i @Ignore' \
+		-i byte-buddy/src/test/java/net/bytebuddy/description/method/AbstractMethodDescriptionTest.java || die
+
+	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
+
+	einfo "Testing byte-buddy-agent"
+	# https://github.com/raphw/byte-buddy/issues/1321#issuecomment-1252776459
+	JAVA_TEST_EXTRA_ARGS=( -Dnet.bytebuddy.test.jnapath="${EPREFIX}/usr/$(get_libdir)/jna-4/" )
+	JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java"
+	java-pkg-simple_src_test
+
+	einfo "Testing byte-buddy"
+	JAVA_TEST_RESOURCE_DIRS=( byte-buddy/src/test/{resources,precompiled*} )
+	JAVA_TEST_SRC_DIR="byte-buddy/src/test/java"
+
+	JAVA_TEST_EXCLUDES=(
+		# all tests in this class fail, https://bugs.gentoo.org/863386
+		net.bytebuddy.build.CachedReturnPluginTest
+	)
+	java-pkg-simple_src_test
+}
+
+src_install() {
+	java-pkg_dojar "byte-buddy-agent.jar"
+	java-pkg_dojar "byte-buddy.jar"
+
+	if use doc; then
+		java-pkg_dojavadoc target/api
+	fi
+
+	if use source; then
+		java-pkg_dosrc "byte-buddy-agent/src/main/java/*"
+		java-pkg_dosrc "byte-buddy/src/main/java/*"
+	fi
+}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-04-03  8:11 Jakov Smolić
  0 siblings, 0 replies; 47+ messages in thread
From: Jakov Smolić @ 2023-04-03  8:11 UTC (permalink / raw
  To: gentoo-commits

commit:     2e00bfb7370bc733e07e1ea54e6da43fe000a207
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  3 08:11:02 2023 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Apr  3 08:11:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e00bfb7

dev-java/byte-buddy: Stabilize 1.14.0 arm64, #903720

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
index f1f274b658eb..a47a10e15c2f 100644
--- a/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-04-03 21:40 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-04-03 21:40 UTC (permalink / raw
  To: gentoo-commits

commit:     5e7d548bdda6414ead0cf2a8005e889cc3570234
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  3 21:39:52 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr  3 21:40:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7d548b

dev-java/byte-buddy: Stabilize 1.14.0 ppc64, #903720

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
index a47a10e15c2f..e687baa0209f 100644
--- a/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-04-03 21:40 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-04-03 21:40 UTC (permalink / raw
  To: gentoo-commits

commit:     9ed22fb8a5bf236b14fe16abbc8bc3c5f337c880
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  3 21:39:54 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr  3 21:40:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ed22fb8

dev-java/byte-buddy: Stabilize 1.14.0 x86, #903720

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
index e687baa0209f..24240d077be8 100644
--- a/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-04-04  5:10 Sam James
  0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-04-04  5:10 UTC (permalink / raw
  To: gentoo-commits

commit:     f695a46158ed7829398a4a9009c7c745fd8f4fdb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  4 05:09:49 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr  4 05:09:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f695a461

dev-java/byte-buddy: Stabilize 1.14.0 amd64, #903720

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/byte-buddy/byte-buddy-1.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
index 24240d077be8..ed2c40b5bb64 100644
--- a/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
+++ b/dev-java/byte-buddy/byte-buddy-1.14.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 DEPEND="
 	>=virtual/jdk-11:*


^ permalink raw reply related	[flat|nested] 47+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/
@ 2023-04-05 10:56 Miroslav Šulc
  0 siblings, 0 replies; 47+ messages in thread
From: Miroslav Šulc @ 2023-04-05 10:56 UTC (permalink / raw
  To: gentoo-commits

commit:     c16983ee6ecfe2cbd05a17a62530b2400b90fd83
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Apr  4 05:26:57 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Apr  5 10:56:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c16983ee

dev-java/byte-buddy: drop 1.12.21

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/byte-buddy/Manifest                  |   1 -
 dev-java/byte-buddy/byte-buddy-1.12.21.ebuild | 161 --------------------------
 2 files changed, 162 deletions(-)

diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest
index 99d1b66d4a18..f5587d193af3 100644
--- a/dev-java/byte-buddy/Manifest
+++ b/dev-java/byte-buddy/Manifest
@@ -1,2 +1 @@
-DIST byte-buddy-1.12.21.tar.gz 1931819 BLAKE2B 6b37b21d5f31c1564a3cc4d30870a7eca3c4c0512815db881a20602dc7ac970145dd9cc2bd6af4f2fdca0ff542b43dc675376c91f7ea7fdf3ea306112eba842b SHA512 9513caa9a5fc0924aea46e8de21ad2ad90320a582ad17be93f6305eb27f98d3af2c3fa09565083b5d97c0d9f0a1b0a9c7105738c4b65616e78bf2e7657c4ee76
 DIST byte-buddy-1.14.0.tar.gz 1989303 BLAKE2B c284f54ebc6bf67e4706380f0876f403fcf5ae172a690888d13d6b3399cf41bf1fd8890bf15059f71a9457ec6343254ad1f421f8e4975aa70dd9a2103ab59610 SHA512 e6ccda287935b5ff7104d5c0e4904b0595918a21bcc90c6ac5b2358cc0371b22a4fcac2a95dde9e377c5d1e43077c8b57ea9520a9093b2380ab53c830f107ced

diff --git a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
deleted file mode 100644
index df9099cd9224..000000000000
--- a/dev-java/byte-buddy/byte-buddy-1.12.21.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2023 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/raphw/byte-buddy/archive/byte-buddy-1.12.21.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.21.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_PROVIDES="net.bytebuddy:byte-buddy-agent:1.12.21 net.bytebuddy:byte-buddy:1.12.21"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
-HOMEPAGE="https://bytebuddy.net"
-SRC_URI="https://github.com/raphw/byte-buddy/archive/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND="
-	>=virtual/jdk-11:*
-	dev-java/asm:9
-	dev-java/findbugs-annotations:0
-	dev-java/jna:4
-	dev-java/jsr305:0
-	test? (
-		dev-java/mockito:4
-	)
-"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-S="${WORKDIR}/byte-buddy-${P}"
-
-JAVA_CLASSPATH_EXTRA="
-	asm-9
-	findbugs-annotations
-	jsr305
-	jna-4
-"
-
-src_prepare() {
-	default
-	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.20/byte-buddy-agent/pom.xml#L142-L176
-	cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF || die
-		module net.bytebuddy.agent {
-			requires java.instrument;
-			requires static jdk.attach;
-			requires static com.sun.jna;
-			requires static com.sun.jna.platform;
-			requires java.base;
-			exports net.bytebuddy.agent;
-			exports net.bytebuddy.agent.utility.nullability;
-		}
-	EOF
-
-	# instead of shading byte-buddy-dep we move it into byte-buddy.
-	mv byte-buddy{-dep,}/src/main/java || die "cannot move sources"
-
-	# https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.20/byte-buddy/pom.xml#L159-L195
-	local exports="$( \
-		sed -n '/<packages.list.external>/,/<\/packages.list.external/p' \
-		byte-buddy/pom.xml \
-		| sed -e 's:^:exports :' -e 's:,:;:' \
-		| grep -v 'packages.list.external\|shade' | tr -s '[:space:]' \
-		)" || die
-	cat > byte-buddy/src/main/java/module-info.java <<-EOF || die
-		module net.bytebuddy {
-			requires static java.instrument;
-			requires static java.management;
-			requires static jdk.unsupported;
-			requires static net.bytebuddy.agent;
-			requires static com.sun.jna;
-			requires static com.sun.jna.platform;
-			requires java.base;
-			${exports}
-		}
-	EOF
-}
-
-src_compile() {
-	einfo "Compiling byte-buddy-agent.jar"
-	JAVA_JAR_FILENAME="byte-buddy-agent.jar"
-	JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources"
-	JAVA_SRC_DIR="byte-buddy-agent/src/main/java"
-	java-pkg-simple_src_compile
-	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar"
-	rm -r target || die
-
-	einfo "Compiling byte-buddy.jar"
-	JAVA_JAR_FILENAME="byte-buddy.jar"
-	JAVA_MAIN_CLASS="net.bytebuddy.build.Plugin\$Engine\$Default"
-	JAVA_RESOURCE_DIRS=()
-	JAVA_SRC_DIR="byte-buddy/src/main/java"
-	java-pkg-simple_src_compile
-	JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy.jar"
-	rm -r target || die
-
-	if use doc; then
-		einfo "Compiling javadocs"
-		rm byte-buddy-agent/src/main/java/module-info.java || die
-		JAVA_SRC_DIR=(
-			"byte-buddy-agent/src/main/java"
-			"byte-buddy/src/main/java"
-		)
-		JAVA_JAR_FILENAME="ignoreme.jar"
-		java-pkg-simple_src_compile
-	fi
-}
-
-src_test() {
-	# instead of shading byte-buddy-dep we move it into byte-buddy.
-	mv byte-buddy{-dep,}/src/test || die "cannot move tests"
-
-	# @Ignore one of 4 tests, https://bugs.gentoo.org/863386
-	sed \
-		-e '/import org.junit.Test/a import org.junit.Ignore;' \
-		-e '/testIgnoreExistingField()/i @Ignore' \
-		-i byte-buddy/src/test/java/net/bytebuddy/build/CachedReturnPluginOtherTest.java || die
-
-	# @Ignore one of 39 tests, https://bugs.gentoo.org/863386
-	sed \
-		-e '/import org.junit.Test/a import org.junit.Ignore;' \
-		-e '/testNoParameterNameAndModifiers()/i @Ignore' \
-		-i byte-buddy/src/test/java/net/bytebuddy/description/method/AbstractMethodDescriptionTest.java || die
-
-	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
-
-	einfo "Testing byte-buddy-agent"
-	# https://github.com/raphw/byte-buddy/issues/1321#issuecomment-1252776459
-	JAVA_TEST_EXTRA_ARGS=( -Dnet.bytebuddy.test.jnapath="${EPREFIX}/usr/$(get_libdir)/jna-4/" )
-	JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java"
-	java-pkg-simple_src_test
-
-	einfo "Testing byte-buddy"
-	JAVA_TEST_RESOURCE_DIRS=( byte-buddy/src/test/{resources,precompiled*} )
-	JAVA_TEST_SRC_DIR="byte-buddy/src/test/java"
-
-	JAVA_TEST_EXCLUDES=(
-		# all tests in this class fail, https://bugs.gentoo.org/863386
-		net.bytebuddy.build.CachedReturnPluginTest
-	)
-	java-pkg-simple_src_test
-}
-
-src_install() {
-	java-pkg_dojar "byte-buddy-agent.jar"
-	java-pkg_dojar "byte-buddy.jar"
-
-	if use doc; then
-		java-pkg_dojavadoc target/api
-	fi
-
-	if use source; then
-		java-pkg_dosrc "byte-buddy-agent/src/main/java/*"
-		java-pkg_dosrc "byte-buddy/src/main/java/*"
-	fi
-}


^ permalink raw reply related	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2023-04-05 10:56 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-09 18:07 [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2023-04-05 10:56 Miroslav Šulc
2023-04-04  5:10 Sam James
2023-04-03 21:40 Sam James
2023-04-03 21:40 Sam James
2023-04-03  8:11 Jakov Smolić
2023-03-04 13:03 Miroslav Šulc
2023-02-09 18:09 Arthur Zamarin
2023-02-09 18:09 Arthur Zamarin
2023-02-09 18:07 Sam James
2023-01-10 12:35 Florian Schmaus
2023-01-10 12:35 Florian Schmaus
2022-12-10 17:12 Arthur Zamarin
2022-12-10 14:56 Arthur Zamarin
2022-12-10 14:54 Arthur Zamarin
2022-12-10 14:33 Arthur Zamarin
2022-12-10 14:33 Arthur Zamarin
2022-10-17  4:49 Miroslav Šulc
2022-10-16 16:49 Sam James
2022-10-14 19:04 Sam James
2022-10-14 19:04 Sam James
2022-10-14  8:15 Arthur Zamarin
2022-09-16 18:58 Arthur Zamarin
2022-09-14 21:04 Sam James
2022-09-14 19:31 Arthur Zamarin
2022-09-14  9:35 Florian Schmaus
2022-09-09  8:08 Jakov Smolić
2022-09-09  8:08 Jakov Smolić
2022-08-23  4:41 Miroslav Šulc
2022-08-22  0:01 Sam James
2022-08-22  0:00 Sam James
2022-08-22  0:00 Sam James
2022-08-21 15:46 Arthur Zamarin
2022-08-21 15:46 Arthur Zamarin
2022-08-10  8:27 Florian Schmaus
2022-07-22 17:36 Florian Schmaus
2022-07-07 16:20 Arthur Zamarin
2022-07-07 14:29 Arthur Zamarin
2022-07-05 17:54 Sam James
2022-07-03 12:22 Jakov Smolić
2022-07-03 12:11 Jakov Smolić
2022-06-17 12:45 Arthur Zamarin
2022-06-16 15:15 Sam James
2022-06-16 15:15 Sam James
2022-06-03  8:54 Florian Schmaus
2022-04-15  9:36 Florian Schmaus
2022-04-10 15:16 Florian Schmaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox