diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-16 18:54:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-16 18:54:05 +0000 |
| commit | 165886e7f909438909cedb202ba33f49304be278 (patch) | |
| tree | eda2f0cc72fbb563fae172ec0269f1cc6ac4b06f /dev-java | |
| parent | 1e401b36624460b1739adad325159fef8ae353ce (diff) | |
| download | baldeagleos-repo-165886e7f909438909cedb202ba33f49304be278.tar.gz baldeagleos-repo-165886e7f909438909cedb202ba33f49304be278.tar.xz baldeagleos-repo-165886e7f909438909cedb202ba33f49304be278.zip | |
Adding metadata
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/antlr/antlr-3.5.3.ebuild | 13 | ||||
| -rw-r--r-- | dev-java/antlr/antlr-4.9.3.ebuild | 13 |
2 files changed, 6 insertions, 20 deletions
diff --git a/dev-java/antlr/antlr-3.5.3.ebuild b/dev-java/antlr/antlr-3.5.3.ebuild index d0a32d44e244..062a48415e29 100644 --- a/dev-java/antlr/antlr-3.5.3.ebuild +++ b/dev-java/antlr/antlr-3.5.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit java-pkg-2 +inherit eapi9-ver java-pkg-2 DESCRIPTION="A parser generator for many languages" HOMEPAGE="https://www.antlr3.org/" @@ -49,14 +49,7 @@ 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 + ver_replacing -lt "${changed_ver}" || 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}." diff --git a/dev-java/antlr/antlr-4.9.3.ebuild b/dev-java/antlr/antlr-4.9.3.ebuild index 50b53bbba0b2..3a8b33648053 100644 --- a/dev-java/antlr/antlr-4.9.3.ebuild +++ b/dev-java/antlr/antlr-4.9.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit java-pkg-2 +inherit eapi9-ver java-pkg-2 DESCRIPTION="A parser generator for many languages" HOMEPAGE="https://www.antlr.org/" @@ -49,14 +49,7 @@ pkg_postinst() { # If upgrading from a version of this slot that installs JARs, # display a message about submodule split local changed_ver="4.9.3" - 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 + ver_replacing -lt "${changed_ver}" || 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}." |
