diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-01-26 17:36:03 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-04-10 17:12:51 +0200 |
commit | 534ae01314b3377f74b2b578dc256bc67e4e2e40 (patch) | |
tree | 83c822e6e073ccb01e071a0c334f10be8a557ba9 /dev-java/byte-buddy | |
parent | dev-java/findbugs-annotations: new package (diff) | |
download | gentoo-534ae01314b3377f74b2b578dc256bc67e4e2e40.tar.gz gentoo-534ae01314b3377f74b2b578dc256bc67e4e2e40.tar.bz2 gentoo-534ae01314b3377f74b2b578dc256bc67e4e2e40.zip |
dev-java/byte-buddy: New package
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/byte-buddy')
-rw-r--r-- | dev-java/byte-buddy/Manifest | 1 | ||||
-rw-r--r-- | dev-java/byte-buddy/byte-buddy-1.12.8.ebuild | 48 | ||||
-rw-r--r-- | dev-java/byte-buddy/metadata.xml | 13 |
3 files changed, 62 insertions, 0 deletions
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> |