summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-04-04 17:17:30 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-04-06 10:01:40 +0200
commit5f82bcadfad47a2160d6132a38d92295c5d585bb (patch)
tree3a1c533a64203c8b95dcf793261c49de33b2ffca /dev-java
parentsys-process/cronie: Revbump to fix 1-5 crontab entries regression (diff)
downloadgentoo-5f82bcadfad47a2160d6132a38d92295c5d585bb.tar.gz
gentoo-5f82bcadfad47a2160d6132a38d92295c5d585bb.tar.bz2
gentoo-5f82bcadfad47a2160d6132a38d92295c5d585bb.zip
dev-java/apiguardian-api: Import from junit-5-ebuild-repo
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/apiguardian-api/Manifest1
-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, 50 insertions, 0 deletions
diff --git a/dev-java/apiguardian-api/Manifest b/dev-java/apiguardian-api/Manifest
new file mode 100644
index 000000000000..da069140e71e
--- /dev/null
+++ b/dev-java/apiguardian-api/Manifest
@@ -0,0 +1 @@
+DIST apiguardian-api-1.1.2.tar.gz 67267 BLAKE2B 27bbe157f23c0904863d093930968854771f4c6b1bc6b6a6e6b86604383abd291348fa8b009d760b3bc739bbfbdb74e9429942ce1acf4bfc52e29e79386f2059 SHA512 7c56ee15e0aba07e95b6f2fe7cedd98e449e774958eb63b2467066c381e1e82ad67c982c2885e18154c62e55fda80a1c2e0f689253afe449db9f7e7563122db6
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>