commit:     a71ad958f9aa2ccbaff300ef57680afe3cb240ae
Author:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Fri Jan 28 17:25:35 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Feb  4 08:17:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71ad958

dev-java/antlr-runtime: Add 4.9.3

Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
Closes: 
https://github.com/gentoo/gentoo/pull/24006/commits/d10efff65c11fc4b7e401bd765721978510bb7ef
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/antlr-runtime/Manifest                   |  1 +
 dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild | 37 +++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-java/antlr-runtime/Manifest b/dev-java/antlr-runtime/Manifest
index ba679475bf46..9315d8cda071 100644
--- a/dev-java/antlr-runtime/Manifest
+++ b/dev-java/antlr-runtime/Manifest
@@ -1 +1,2 @@
+DIST antlr-4.9.3.tar.gz 4640242 BLAKE2B 
fb58f5e533051cb2c439c32f0462c1d463c99df862ba7e1a37a1c61378ab36a9edb9525c2a342de5b517da6f02d8291de5976c550932314f3464aad1a778afb9
 SHA512 
61452404c9639b5a0908cda16605f17c0fed0c9adfc3278c7408f9971420e9d1fe8f9e974e0826c2e3e780fdd83324094c0246cd5b28fa63f5686b094ea08127
 DIST antlr-runtime-3.5.2-sources.jar 206095 BLAKE2B 
62b5ca08b13b80e1cdfe82d7354f75dcd3d82d7618bb2d20c4973c0b588d60cc034a8bc265d1cba6b3fc09f5583450a48948dc0beb86c4b13c6b9fdb32de37fd
 SHA512 
fda8b0b1d6f779098c885360ea5f5e93eac5153f5bf761f3dbc954209b69b76edd21a8e4915bb9e567e5c095f1d173e19429bea34da9698bf241d17599858847

diff --git a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild 
b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild
new file mode 100644
index 000000000000..e97dfbd712e3
--- /dev/null
+++ b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Without annotation processing using runtime-testsuite/processors,
+# the tests are bound to fail.  However, the annotation processor
+# has been dropped from the 'master' branch as of January 2022, so
+# when updating this package to a new upstream version, please
+# check if it is possible to enable the tests and pass them.
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.antlr:antlr4-runtime:4.9.3"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="${PN%-runtime}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="ANTLR 4 Runtime"
+HOMEPAGE="https://www.antlr.org/";
+SRC_URI="https://github.com/antlr/antlr4/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="4"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+       >=virtual/jdk-1.8:*
+"
+
+RDEPEND="
+       >=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/${MY_PN}4-${PV}"
+
+JAVA_SRC_DIR="runtime/Java/src"

Reply via email to