summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-09-13 17:19:07 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-09-26 09:34:03 +0200
commit1a5fab1981ce362fdb7a32c5ac16c28337094db6 (patch)
treee3f88a0ab0f6a92c1e35e91e4d07d9f63c3606f2 /dev-java
parentdev-java/cdi-api: 4.0.1-r3 switch to multi-module compilation #923599 (diff)
downloadgentoo-1a5fab1981ce362fdb7a32c5ac16c28337094db6.tar.gz
gentoo-1a5fab1981ce362fdb7a32c5ac16c28337094db6.tar.bz2
gentoo-1a5fab1981ce362fdb7a32c5ac16c28337094db6.zip
dev-java/jetbrains-annotations: new package, add 24.1.0
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/38737/commits/ae7045de1d0c49d01ae298e5209073aa1d639729 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jetbrains-annotations/Manifest1
-rw-r--r--dev-java/jetbrains-annotations/jetbrains-annotations-24.1.0.ebuild23
-rw-r--r--dev-java/jetbrains-annotations/metadata.xml10
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-java/jetbrains-annotations/Manifest b/dev-java/jetbrains-annotations/Manifest
new file mode 100644
index 000000000000..69e32259d859
--- /dev/null
+++ b/dev-java/jetbrains-annotations/Manifest
@@ -0,0 +1 @@
+DIST jetbrains-annotations-24.1.0.tar.gz 84549 BLAKE2B 1c522e4eeb71520108d83305667571fd07b452977277a161ea0f6a940431212ccd3b7ca2980f77b0e8c015cce0b5a35500fefca73e74bf48c9859525332bdc81 SHA512 80dc35009eaac29b44a5126865bf76d1c2d20c0e9094a200b13bc9047d6ec327a25e49a06c462ba65c4aa6e3d201d0a3005614f27b07adcf107080c0189af9fa
diff --git a/dev-java/jetbrains-annotations/jetbrains-annotations-24.1.0.ebuild b/dev-java/jetbrains-annotations/jetbrains-annotations-24.1.0.ebuild
new file mode 100644
index 000000000000..5f359ddcbe74
--- /dev/null
+++ b/dev-java/jetbrains-annotations/jetbrains-annotations-24.1.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.jetbrains:annotations:${PV}"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Annotations for JVM-based languages"
+HOMEPAGE="https://github.com/JetBrains/java-annotations"
+SRC_URI="https://github.com/JetBrains/java-annotations/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P/jetbrains/java}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=">=virtual/jdk-11:*" # module-info
+RDEPEND=">=virtual/jre-1.8:*"
+
+JAVA_SRC_DIR=( {common,java8,module-info}/src/main/java )
diff --git a/dev-java/jetbrains-annotations/metadata.xml b/dev-java/jetbrains-annotations/metadata.xml
new file mode 100644
index 000000000000..9c299c51b5d6
--- /dev/null
+++ b/dev-java/jetbrains-annotations/metadata.xml
@@ -0,0 +1,10 @@
+<?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">JetBrains/java-annotations</remote-id>
+ </upstream>
+</pkgmetadata>