[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: adce6241e5c249ca8f1fc278268df3a56897f05e Author: Miroslav Šulc gentoo org> AuthorDate: Fri May 13 17:09:32 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Fri May 13 17:09:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adce6241 dev-java/antlr-runtime: removed obsolete 3.5.2 Bug: https://bugs.gentoo.org/843767 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/antlr-runtime/Manifest | 1 - dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild | 38 --- 2 files changed, 39 deletions(-) diff --git a/dev-java/antlr-runtime/Manifest b/dev-java/antlr-runtime/Manifest index f03a9fd655f6..bb8fc82c34c3 100644 --- a/dev-java/antlr-runtime/Manifest +++ b/dev-java/antlr-runtime/Manifest @@ -1,3 +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 DIST antlr-runtime-3.5.3-sources.jar 204572 BLAKE2B 8f4493497cbfef613028d4847d1a68a0fdd29f5bf80c3a72b33093aa048409fb740aa95e16e7ceb279b939fabf3a617ccc8046ef6b879eafdb4ae14599951799 SHA512 fbfb656b32aa40ce731996774c9a5df28e2dbf67d097a834b39ef137555ff618c26a881af599191fb75366dc3824e281e93a32dbed65d49cc39e2017d836ae95 diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild deleted file mode 100644 index 036aa905f922.. --- a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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}"
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: 154af80275ea19ab16b42ca5f6e9116fcf26574c Author: Jakov Smolić gentoo org> AuthorDate: Fri May 13 14:15:00 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Fri May 13 14:15:00 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154af802 dev-java/antlr-runtime: Stabilize 3.5.3 x86, #843767 Signed-off-by: Jakov Smolić gentoo.org> dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild index a28985e8f7b6..5a2591a02713 100644 --- a/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild @@ -17,7 +17,7 @@ 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" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" # Common dependencies # POM: ${P}.pom
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: 6f98e184a6029b756677f67e5fa4cb910c16e252 Author: Jakov Smolić gentoo org> AuthorDate: Thu May 12 08:24:26 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu May 12 08:24:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f98e184 dev-java/antlr-runtime: Stabilize 3.5.3 ppc64, #843767 Signed-off-by: Jakov Smolić gentoo.org> dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild index 8317557aa223..a28985e8f7b6 100644 --- a/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild @@ -17,7 +17,7 @@ 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" +KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" # Common dependencies # POM: ${P}.pom
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: 00022916bc7e9cbdaa8a330a9ecbd762b66bc02b Author: Jakov Smolić gentoo org> AuthorDate: Thu May 12 08:24:22 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu May 12 08:24:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00022916 dev-java/antlr-runtime: Stabilize 3.5.3 arm64, #843767 Signed-off-by: Jakov Smolić gentoo.org> dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild index 4b2e48316ae9..8317557aa223 100644 --- a/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild @@ -17,7 +17,7 @@ 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" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86" # Common dependencies # POM: ${P}.pom
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: 6d850f07f470270825433a44f775e1cc6ba84641 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 11 14:50:31 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 11 14:50:31 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d850f07 dev-java/antlr-runtime: amd64 stable wrt bug #843767 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild index 7d9d8d21d52c..4b2e48316ae9 100644 --- a/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild @@ -17,7 +17,7 @@ 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" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" # Common dependencies # POM: ${P}.pom
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: 5cee10a0bf4fa3a45c79ad80b7cd7a22b7aeadfb Author: Yuan Liao gmail com> AuthorDate: Sun Apr 10 05:24:55 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Mon Apr 11 06:14:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cee10a0 dev-java/antlr-runtime: Add 3.5.3 Signed-off-by: Yuan Liao gmail.com> Signed-off-by: Miroslav Šulc gentoo.org> dev-java/antlr-runtime/Manifest | 1 + dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild | 38 +++ 2 files changed, 39 insertions(+) diff --git a/dev-java/antlr-runtime/Manifest b/dev-java/antlr-runtime/Manifest index 9315d8cda071..f03a9fd655f6 100644 --- a/dev-java/antlr-runtime/Manifest +++ b/dev-java/antlr-runtime/Manifest @@ -1,2 +1,3 @@ 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 +DIST antlr-runtime-3.5.3-sources.jar 204572 BLAKE2B 8f4493497cbfef613028d4847d1a68a0fdd29f5bf80c3a72b33093aa048409fb740aa95e16e7ceb279b939fabf3a617ccc8046ef6b879eafdb4ae14599951799 SHA512 fbfb656b32aa40ce731996774c9a5df28e2dbf67d097a834b39ef137555ff618c26a881af599191fb75366dc3824e281e93a32dbed65d49cc39e2017d836ae95 diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.3.ebuild new file mode 100644 index ..7d9d8d21d52c --- /dev/null +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.3.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.3.pom --download-uri https://repo1.maven.org/maven2/org/antlr/antlr-runtime/3.5.3/antlr-runtime-3.5.3-sources.jar --slot 3.5 --keywords "~amd64 ~arm ~arm64~ppc64 ~x86" --ebuild antlr-runtime-3.5.3.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.antlr:antlr-runtime:3.5.3" + +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}"
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/, dev-java/antlr-runtime/files/
commit: 2ccdc1840126b665f4e74d87a13a1c32ef7bbe61 Author: Yuan Liao gmail com> AuthorDate: Tue Apr 5 02:50:47 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Tue Apr 5 04:41:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ccdc184 dev-java/antlr-runtime: Enable tests for 4.9.3 Signed-off-by: Yuan Liao gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24913 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild | 105 +++-- .../antlr-runtime/files/4.9.3-test-fixes.patch | 26 + 2 files changed, 125 insertions(+), 6 deletions(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild index 31d041e6a974..cf26c16eb71e 100644 --- a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild @@ -3,13 +3,9 @@ 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" +JAVA_PKG_IUSE="doc source test" MAVEN_ID="org.antlr:antlr4-runtime:4.9.3" +JAVA_TESTING_FRAMEWORKS="junit-4" inherit java-pkg-2 java-pkg-simple @@ -26,6 +22,10 @@ KEYWORDS="amd64 ~arm arm64 ppc64 x86" DEPEND=" >=virtual/jdk-1.8:* + test? ( + ~dev-java/antlr-tool-${PV}:${SLOT} + dev-java/jol-core:0 + ) " RDEPEND=" @@ -35,3 +35,96 @@ RDEPEND=" S="${WORKDIR}/${MY_PN}4-${PV}" JAVA_SRC_DIR="runtime/Java/src" + +JAVA_TEST_GENTOO_CLASSPATH=" + junit-4 + antlr-tool-${SLOT} + jol-core +" +JAVA_TEST_SRC_DIR=( + runtime-testsuite/test + runtime-testsuite/annotations +) +JAVA_TEST_RESOURCE_DIRS=( + runtime-testsuite/resources +) + +src_prepare() { + java-pkg_clean + eapply "${FILESDIR}/${PV}-test-fixes.patch" + java-pkg-2_src_prepare +} + +src_test() { + # Build classpath for tests + # The JAR created during src_compile must appear in the classpath *before* + # any dependencies to ensure that *it* is the JAR being tested; otherwise, + # because the test suite depends on antlr-tool, which depends on this + # package, the copy of this package's JAR installed on the system would be + # tested instead when it appears earlier in the classpath, which might + # cause test failures when the version being built differs from the version + # already installed on the system, like https://bugs.gentoo.org/834138 + local CP="${S}/${JAVA_JAR_FILENAME}" + local test_dep res_dir + for test_dep in ${JAVA_TEST_GENTOO_CLASSPATH}; do + CP+=":$(java-pkg_getjars --with-dependencies "${test_dep}")" + done + for res_dir in "${JAVA_TEST_RESOURCE_DIRS[@]}"; do + CP+=":${res_dir}" + done + + pushd "${JAVA_TEST_SRC_DIR[0]}" > /dev/null || + die "Failed to enter test source directory for ${PN}" + + einfo "Removing tests for non-Java runtimes ..." + find org/antlr/v4/test/runtime/* -maxdepth 0 -type d \ + -not -name category -not -name descriptors -not -name java \ + -exec einfo " {}" \; -exec rm -r "{}" + || + die "Failed to remove tests for non-Java runtimes" + + einfo "Generating ANTLR 4 parsers for tests ..." + local java_exe="$(java-config -J)" + local g4_files=( $(find * -name "*.g4") ) + local file + for file in "${g4_files[@]}"; do + local java_pkg="${file%/*.g4}" + java_pkg="${java_pkg//\//.}" + "${java_exe}" -cp "${CP}" org.antlr.v4.Tool \ + -visitor -package "${java_pkg}" "${file}" || + die "Failed to generate ANTLR 4 parser from ${file}" + done + + # Create a list of tests to run + # https://github.com/antlr/antlr4/blob/4.9.3/runtime-testsuite/pom.xml#L100 + # Excluding classes with "No runnable methods" + local TESTS=$(find * -type f -name "Test*.java" \ + -not -name "TestContext.java" \ + -not -name "TestOutputReading.java" + ) + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + popd > /dev/null || die "Failed to leave test source directory for ${PN}" + + local classes="target/classes" + + # Compile the annotation processor of @CommentHasStringValue + # before the test sources (requires tools.jar) + ejavac -d "${classes}" -cp "${CP}:$(java-config -t)" \ + $(find runtime-testsuite/{annotations,processors} -name "*.java") + local processor_cp="${classes}:runtime-testsuite/processors/resources"
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: b98fa77a4e187ce9d02507d75b01844c4b16d9a4 Author: Sam James gentoo org> AuthorDate: Thu Mar 17 01:36:29 2022 + Commit: Sam James gentoo org> CommitDate: Thu Mar 17 01:36:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98fa77a dev-java/antlr-runtime: Stabilize 4.9.3 ppc64, #834702 Signed-off-by: Sam James gentoo.org> dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild index eeafd016a099..31d041e6a974 100644 --- a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild @@ -22,7 +22,7 @@ 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" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" DEPEND=" >=virtual/jdk-1.8:*
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: d89d0e4aea34fdb72a54411482279d00585cfb03 Author: Sam James gentoo org> AuthorDate: Thu Mar 17 00:57:25 2022 + Commit: Sam James gentoo org> CommitDate: Thu Mar 17 00:57:25 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89d0e4a dev-java/antlr-runtime: Stabilize 3.5.2 ppc64, #833953 Signed-off-by: Sam James gentoo.org> dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild index 1351d0ef7034..036aa905f922 100644 --- a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild @@ -17,7 +17,7 @@ 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" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" # Common dependencies # POM: ${P}.pom
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: d751e0dc82e2ec4ea67ed4e4d52a0742da807f95 Author: Sam James gentoo org> AuthorDate: Thu Mar 17 00:21:30 2022 + Commit: Sam James gentoo org> CommitDate: Thu Mar 17 00:21:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d751e0dc dev-java/antlr-runtime: Stabilize 4.9.3 arm64, #834702 Signed-off-by: Sam James gentoo.org> dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild index 88f167c5d9d4..eeafd016a099 100644 --- a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild @@ -22,7 +22,7 @@ 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" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" DEPEND=" >=virtual/jdk-1.8:*
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: b4f2af85a914fe1ad2b66a35da8fa27df4e20d0d Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Mar 9 09:19:20 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Mar 9 09:19:20 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4f2af85 dev-java/antlr-runtime: x86 stable wrt bug #834702 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild index 4a900643b2d3..88f167c5d9d4 100644 --- a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild @@ -22,7 +22,7 @@ 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" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" DEPEND=" >=virtual/jdk-1.8:*
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: 2e0c8cad519b3da9a2dfbb6c2b36e41562d0cb0d Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Mar 8 13:04:24 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Mar 8 13:04:24 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e0c8cad dev-java/antlr-runtime: amd64 stable wrt bug #834702 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild index e97dfbd712e3..4a900643b2d3 100644 --- a/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-4.9.3.ebuild @@ -22,7 +22,7 @@ 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" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" DEPEND=" >=virtual/jdk-1.8:*
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: 5e8b9c172ba6f0681c9488dd2323683e44d328b2 Author: Sam James gentoo org> AuthorDate: Fri Feb 25 21:30:45 2022 + Commit: Sam James gentoo org> CommitDate: Fri Feb 25 21:30:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8b9c17 dev-java/antlr-runtime: Stabilize 3.5.2 arm64, #833953 Signed-off-by: Sam James gentoo.org> dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild index 58a46065d925..1351d0ef7034 100644 --- a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild @@ -17,7 +17,7 @@ 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" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" # Common dependencies # POM: ${P}.pom
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: 1118bc697282fb204c54a0388540d904bfa6e4cb Author: Jakov Smolić gentoo org> AuthorDate: Thu Feb 24 08:46:23 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Feb 24 08:46:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1118bc69 dev-java/antlr-runtime: Stabilize 3.5.2 x86, #833953 Signed-off-by: Jakov Smolić gentoo.org> dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild index 96c3a05c583e..58a46065d925 100644 --- a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild @@ -17,7 +17,7 @@ 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" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" # Common dependencies # POM: ${P}.pom
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: e1840095e00f1cd1b60bf6f39be94f18b9defe75 Author: Jakov Smolić gentoo org> AuthorDate: Thu Feb 24 08:46:05 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Feb 24 08:46:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1840095 dev-java/antlr-runtime: Stabilize 3.5.2 amd64, #833953 Signed-off-by: Jakov Smolić gentoo.org> dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild index 27593c24d267..96c3a05c583e 100644 --- a/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild +++ b/dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild @@ -17,7 +17,7 @@ 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" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" # Common dependencies # POM: ${P}.pom
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: a71ad958f9aa2ccbaff300ef57680afe3cb240ae Author: Yuan Liao gmail com> AuthorDate: Fri Jan 28 17:25:35 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Fri Feb 4 08:17:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71ad958 dev-java/antlr-runtime: Add 4.9.3 Signed-off-by: Yuan Liao gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24006/commits/d10efff65c11fc4b7e401bd765721978510bb7ef Signed-off-by: Miroslav Šulc 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 ..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"
[gentoo-commits] repo/gentoo:master commit in: dev-java/antlr-runtime/
commit: 0c0af3c5f3d155e080999d21b352eb5d792d17d0 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sat Aug 14 15:53:19 2021 + Commit: Miroslav Šulc gentoo org> CommitDate: Tue Jan 25 09:30:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0af3c5 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 pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/23841 Signed-off-by: Yuan Liao gmail.com> Signed-off-by: Miroslav Šulc gentoo.org> dev-java/antlr-runtime/Manifest | 1 + dev-java/antlr-runtime/antlr-runtime-3.5.2.ebuild | 38 +++ dev-java/antlr-runtime/metadata.xml | 10 ++ 3 files changed, 49 insertions(+) diff --git a/dev-java/antlr-runtime/Manifest b/dev-java/antlr-runtime/Manifest new file mode 100644 index ..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 ..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 ..e7fbbfd8344f --- /dev/null +++ b/dev-java/antlr-runtime/metadata.xml @@ -0,0 +1,10 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + j...@gentoo.org + + + A framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. + +