From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/antlr/
Date: Tue, 25 Jan 2022 09:30:06 +0000 (UTC) [thread overview]
Message-ID: <1643103003.eb9234c26f9dd6984276ee8c499835a4318152ec.fordfrog@gentoo> (raw)
commit: eb9234c26f9dd6984276ee8c499835a4318152ec
Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Thu Jan 20 20:50:39 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Jan 25 09:30:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb9234c2
dev-java/antlr: Split antlr-runtime and antlr-tool for 3.5.2
Suggested-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
Bug: https://bugs.gentoo.org/742554
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23904
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/antlr/antlr-3.5.2-r2.ebuild | 63 ++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
diff --git a/dev-java/antlr/antlr-3.5.2-r2.ebuild b/dev-java/antlr/antlr-3.5.2-r2.ebuild
new file mode 100644
index 000000000000..c085043de3e4
--- /dev/null
+++ b/dev-java/antlr/antlr-3.5.2-r2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-pkg-2
+
+DESCRIPTION="A parser generator for many languages"
+HOMEPAGE="https://www.antlr3.org/"
+# Reuse tarball for DOCS files
+SRC_URI="https://github.com/${PN}/${PN}3/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="3.5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+CP_DEPEND="
+ ~dev-java/antlr-runtime-${PV}:${SLOT}
+ ~dev-java/antlr-tool-${PV}:${SLOT}
+"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}
+"
+
+S="${WORKDIR}/${PN}3-${PV}"
+
+DOCS=( contributors.txt README.txt )
+
+src_compile() {
+ :
+}
+
+src_install() {
+ java-pkg_regjar "$(java-pkg_getjar antlr-runtime-3.5 antlr-runtime.jar)"
+ java-pkg_regjar "$(java-pkg_getjar antlr-tool-3.5 antlr-tool.jar)"
+
+ java-pkg_dolauncher ${PN}${SLOT} --main org.antlr.Tool
+ einstalldocs # https://bugs.gentoo.org/789582
+}
+
+pkg_postinst() {
+ # If upgrading from a version of this slot that installs JARs,
+ # display a message about submodule split
+ local changed_ver="3.5.2-r2"
+ local should_show_msg
+ for replaced_ver in ${REPLACING_VERSIONS}; do
+ if ver_test "${replaced_ver}" -lt "${changed_ver}"; then
+ should_show_msg=1
+ break
+ fi
+ done
+ [[ "${should_show_msg}" ]] || return
+ elog "Since version ${changed_ver}, ${PN}-${SLOT} no longer installs JARs."
+ elog "Please find the JARs from files installed by submodule packages"
+ elog "antlr-runtime-${SLOT} and antlr-tool-${SLOT}."
+}
next reply other threads:[~2022-01-25 9:30 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-25 9:30 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-16 7:22 [gentoo-commits] repo/gentoo:master commit in: dev-java/antlr/ Ulrich Müller
2024-11-25 8:04 Miroslav Šulc
2024-04-15 7:45 Miroslav Šulc
2022-05-13 17:09 Miroslav Šulc
2022-05-13 14:15 Jakov Smolić
2022-05-12 8:24 Jakov Smolić
2022-05-12 8:24 Jakov Smolić
2022-05-11 14:50 Agostino Sarubbo
2022-04-11 6:19 Miroslav Šulc
2022-03-17 8:56 Miroslav Šulc
2022-03-17 2:09 Sam James
2022-03-17 1:36 Sam James
2022-03-17 0:57 Sam James
2022-03-17 0:21 Sam James
2022-03-09 9:19 Agostino Sarubbo
2022-03-08 13:04 Agostino Sarubbo
2022-02-25 21:31 Sam James
2022-02-24 8:46 Jakov Smolić
2022-02-24 8:46 Jakov Smolić
2022-02-04 8:17 Miroslav Šulc
2021-11-23 21:36 Sam James
2021-11-23 21:36 Sam James
2021-07-18 6:33 Agostino Sarubbo
2021-06-19 11:54 Miroslav Šulc
2021-06-19 10:01 Agostino Sarubbo
2021-06-19 7:53 Miroslav Šulc
2021-06-19 7:53 Miroslav Šulc
2021-06-18 22:28 Sam James
2021-06-18 15:46 Sam James
2021-05-27 8:04 Miroslav Šulc
2021-05-16 19:06 Miroslav Šulc
2021-05-16 19:06 Miroslav Šulc
2021-05-16 19:06 Miroslav Šulc
2021-04-28 9:23 Miroslav Šulc
2020-12-14 11:27 Miroslav Šulc
2020-07-25 2:21 Sam James
2020-07-20 1:10 Sam James
2019-04-20 1:29 Aaron Bauman
2018-03-01 8:39 Michał Górny
2017-07-13 12:13 Alexis Ballier
2017-03-20 11:06 Patrice Clement
2017-01-29 15:41 Fabian Groffen
2016-10-07 20:55 James Le Cuirot
2016-10-07 20:55 James Le Cuirot
2016-10-07 20:55 James Le Cuirot
2016-01-14 21:44 James Le Cuirot
2016-01-14 21:44 James Le Cuirot
2015-12-06 13:46 James Le Cuirot
2015-10-14 15:22 James Le Cuirot
2015-10-14 15:22 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1643103003.eb9234c26f9dd6984276ee8c499835a4318152ec.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox