Сравнение antlr-3.5.3 с antlr-4.9.3

/usr/portage/dev-java/antlr/antlr-4.9.3.ebuild 2023-10-09 14:52:29.412368348 +0300
6 6
inherit java-pkg-2
7 7

  
8 8
DESCRIPTION="A parser generator for many languages"
9
HOMEPAGE="https://www.antlr3.org/"
9
HOMEPAGE="https://www.antlr.org/"
10 10
# Reuse tarball for DOCS
11
SRC_URI="https://github.com/${PN}/${PN}3/archive/${PV}.tar.gz -> ${P}.tar.gz"
11
SRC_URI="https://github.com/${PN}/${PN}4/archive/${PV}.tar.gz -> ${P}.tar.gz"
12 12

  
13 13
LICENSE="BSD"
14
SLOT="3.5"
14
SLOT="4"
15 15
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
16 16

  
17 17
CP_DEPEND="
......
29 29
	${CP_DEPEND}
30 30
"
31 31

  
32
S="${WORKDIR}/${PN}3-${PV}"
32
S="${WORKDIR}/${PN}4-${PV}"
33 33

  
34
DOCS=( contributors.txt README.txt )
34
DOCS=( CHANGES.txt CONTRIBUTING.md contributors.txt README.md doc )
35 35

  
36 36
src_compile() {
37 37
	:
......
41 41
	java-pkg_regjar "$(java-pkg_getjar "antlr-runtime-${SLOT}" antlr-runtime.jar)"
42 42
	java-pkg_regjar "$(java-pkg_getjar "antlr-tool-${SLOT}" antlr-tool.jar)"
43 43

  
44
	java-pkg_dolauncher "${PN}${SLOT}" --main org.antlr.Tool
44
	java-pkg_dolauncher "${PN}${SLOT}" --main org.antlr.v4.Tool
45 45
	einstalldocs # https://bugs.gentoo.org/789582
46 46
}
47 47

  
48 48
pkg_postinst() {
49 49
	# If upgrading from a version of this slot that installs JARs,
50 50
	# display a message about submodule split
51
	local changed_ver="3.5.2-r2"
51
	local changed_ver="4.9.3"
52 52
	local should_show_msg
53 53
	for replaced_ver in ${REPLACING_VERSIONS}; do
54 54
		if ver_test "${replaced_ver}" -lt "${changed_ver}"; then
Спасибо!