diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-08-14 17:53:19 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-01-25 10:30:02 +0100 |
commit | 0c0af3c5f3d155e080999d21b352eb5d792d17d0 (patch) | |
tree | 8469dae63de9f59d6105da7708e509fb427b25bf /dev-java/antlr-runtime | |
parent | mail-client/thunderbird: add 91.5.1 (diff) | |
download | gentoo-0c0af3c5f3d155e080999d21b352eb5d792d17d0.tar.gz gentoo-0c0af3c5f3d155e080999d21b352eb5d792d17d0.tar.bz2 gentoo-0c0af3c5f3d155e080999d21b352eb5d792d17d0.zip |
dev-java/antlr-runtime: new package
Bug: https://bugs.gentoo.org/742554
This is only the first part.
Next step should be stringtemplate:4
either from https://github.com/antlr/stringtemplate4/blob/master/build.xml
or https://github.com/antlr/stringtemplate4/blob/master/src/BUILD.bazel
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/23841
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/antlr-runtime')
-rw-r--r-- | dev-java/antlr-runtime/Manifest | 1 | ||||
-rw-r--r-- | dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild | 38 | ||||
-rw-r--r-- | dev-java/antlr-runtime/metadata.xml | 10 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-java/antlr-runtime/Manifest b/dev-java/antlr-runtime/Manifest new file mode 100644 index 000000000000..ba679475bf46 --- /dev/null +++ b/dev-java/antlr-runtime/Manifest @@ -0,0 +1 @@ +DIST antlr-runtime-3.5.2-sources.jar 206095 BLAKE2B 62b5ca08b13b80e1cdfe82d7354f75dcd3d82d7618bb2d20c4973c0b588d60cc034a8bc265d1cba6b3fc09f5583450a48948dc0beb86c4b13c6b9fdb32de37fd SHA512 fda8b0b1d6f779098c885360ea5f5e93eac5153f5bf761f3dbc954209b69b76edd21a8e4915bb9e567e5c095f1d173e19429bea34da9698bf241d17599858847 diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild new file mode 100644 index 000000000000..27593c24d267 --- /dev/null +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom antlr-runtime-3.5.2.pom --download-uri https://repo1.maven.org/maven2/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2-sources.jar --slot 3.5 --keywords "~amd64 ~arm ~arm64~ppc64 ~x86" --ebuild antlr-runtime-3.5.2.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.antlr:antlr-runtime:3.5.2" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="ANTLR 3 Runtime" +HOMEPAGE="https://www.antlr3.org/" +SRC_URI="https://repo1.maven.org/maven2/org/antlr/${PN}/${PV}/${P}-sources.jar" + +LICENSE="BSD" +SLOT="3.5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# Common dependencies +# POM: ${P}.pom +# org.antlr:stringtemplate:3.2.1 -> >=dev-java/stringtemplate-3.2.1:0 + +CP_DEPEND=" + >=dev-java/stringtemplate-3.2.1:0 +" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +BDEPEND="app-arch/unzip" + +S="${WORKDIR}" diff --git a/dev-java/antlr-runtime/metadata.xml b/dev-java/antlr-runtime/metadata.xml new file mode 100644 index 000000000000..e7fbbfd8344f --- /dev/null +++ b/dev-java/antlr-runtime/metadata.xml @@ -0,0 +1,10 @@ +<?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> + <longdescription> + A framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. + </longdescription> +</pkgmetadata> |