From 534ae01314b3377f74b2b578dc256bc67e4e2e40 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Wed, 26 Jan 2022 17:36:03 +0100 Subject: dev-java/byte-buddy: New package Signed-off-by: Volkmar W. Pogatzki Signed-off-by: Florian Schmaus --- 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(+) create mode 100644 dev-java/byte-buddy/Manifest create mode 100644 dev-java/byte-buddy/byte-buddy-1.12.8.ebuild create mode 100644 dev-java/byte-buddy/metadata.xml (limited to 'dev-java') 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 @@ + + + + + java@gentoo.org + + + raphw/byte-buddy + + + This artifact is a build of Byte Buddy with all ASM dependencies repackaged into its own name space. + + -- cgit v1.2.3-65-gdbad