summaryrefslogtreecommitdiff
path: root/dev-java/apiguardian-api
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/apiguardian-api')
-rw-r--r--dev-java/apiguardian-api/Manifest3
-rw-r--r--dev-java/apiguardian-api/apiguardian-api-1.1.2.ebuild36
-rw-r--r--dev-java/apiguardian-api/metadata.xml13
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/apiguardian-api/Manifest b/dev-java/apiguardian-api/Manifest
new file mode 100644
index 000000000000..278e350f24dd
--- /dev/null
+++ b/dev-java/apiguardian-api/Manifest
@@ -0,0 +1,3 @@
+DIST apiguardian-api-1.1.2.tar.gz 67267 BLAKE2B 27bbe157f23c0904863d093930968854771f4c6b1bc6b6a6e6b86604383abd291348fa8b009d760b3bc739bbfbdb74e9429942ce1acf4bfc52e29e79386f2059 SHA512 7c56ee15e0aba07e95b6f2fe7cedd98e449e774958eb63b2467066c381e1e82ad67c982c2885e18154c62e55fda80a1c2e0f689253afe449db9f7e7563122db6
+EBUILD apiguardian-api-1.1.2.ebuild 740 BLAKE2B 6c3ec891656ec13c25843e6fba68235eb8db87018b2516aac44bfb899c8087d5e81db4097cb793b812741bbd52f1ebff8af93308c7014be39bfb5ec45905cf13 SHA512 8b6f3b156fa24ec789ebea1d783a300c3796c83465e66f64fb6e395d95e3a2ac62d25a8c76d20221802dc797ba64dd3d9ca19cb23ba55de89f2e55c0d03ea492
+MISC metadata.xml 629 BLAKE2B b4b1e0ab2868f0953bbd02fc2ce392f9cc8303a6ba838ac5db93ac1942cbc07c184f1acdce977ba68cf7a842eb9a69d3cb67c9d8ae2631f4f22ba246e514e1ee SHA512 5c8ed27778be5acc2cd4396b72d464d30245667de22183d375c25e1e7fae3a69711557688d22d82fb4876d781c73a50fc0dc5114fd39127446249024c553cb5d
diff --git a/dev-java/apiguardian-api/apiguardian-api-1.1.2.ebuild b/dev-java/apiguardian-api/apiguardian-api-1.1.2.ebuild
new file mode 100644
index 000000000000..85147e398aa2
--- /dev/null
+++ b/dev-java/apiguardian-api/apiguardian-api-1.1.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.apiguardian:apiguardian-api:1.1.2"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="@org.apiguardian.api.API Java annotation provider"
+HOMEPAGE="https://github.com/apiguardian-team/apiguardian"
+SRC_URI="https://github.com/apiguardian-team/apiguardian/archive/r${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+"
+
+DOCS=( README.md )
+
+S="${WORKDIR}/${PN%-api}-r${PV}"
+
+JAVA_SRC_DIR=( src/{main,module}/java )
+
+src_install() {
+ default # https://bugs.gentoo.org/789582
+ java-pkg-simple_src_install
+}
diff --git a/dev-java/apiguardian-api/metadata.xml b/dev-java/apiguardian-api/metadata.xml
new file mode 100644
index 000000000000..6bc8acd2f803
--- /dev/null
+++ b/dev-java/apiguardian-api/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">apiguardian-team/apiguardian</remote-id>
+ </upstream>
+ <longdescription>
+ Library that provides the @API annotation that is used to annotate public types, methods, constructors, and fields within a framework or application in order to publish their status and level of stability and to indicate how they are intended to be used by consumers of the API.
+ </longdescription>
+</pkgmetadata>