Сравнение ammonite-repl-bin-2.5.8 с ammonite-repl-bin-2.5.9

/usr/portage/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.9.ebuild 2023-10-09 14:52:29.448368349 +0300
10 10
	scala2-13? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/2.13-${PV} -> ${P}-2.13 )
11 11
	scala3-0? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/3.0-${PV} -> ${P}-3.0 )
12 12
	scala3-1? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/3.1-${PV} -> ${P}-3.1 )
13
	scala3-2? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/3.2-${PV} -> ${P}-3.2 )
13 14
"
14 15

  
15
KEYWORDS="amd64 x86"
16
KEYWORDS="amd64 ~x86"
16 17
LICENSE="MIT"
17 18
SLOT="0"
18 19

  
......
20 21

  
21 22
RDEPEND=">=virtual/jre-1.8:*"
22 23

  
23
IUSE="+scala2-13 scala3-0 +scala3-1"
24
REQUIRED_USE="|| ( scala2-13 scala3-0 scala3-1 )"
24
IUSE="+scala2-13 scala3-0 scala3-1 +scala3-2"
25 25

  
26 26
src_unpack() {
27 27
	:
......
29 29

  
30 30
src_install() {
31 31
	local last_amm
32
	if use scala3-1; then
33
		newbin "${DISTDIR}"/${P}-3.1 amm-3.1
34
		last_amm=amm-3.1
35
	fi
36
	if use scala3-0; then
37
		newbin "${DISTDIR}"/${P}-3.0 amm-3.0
38
		last_amm=amm-3.0
39
	fi
40
	if use scala2-13; then
41
		newbin "${DISTDIR}"/${P}-2.13 amm-2.13
42
		last_amm=amm-2.13
43
	fi
32
	local scala_versions=(2.13 3.{0,1,2})
33
	local scala_version
34
	for scala_version in ${scala_versions[@]}; do
35
		local use_flag=scala${scala_version/./-}
36

  
37
		if ! use ${use_flag}; then
38
			continue
39
		fi
40

  
41
		local amm_bin
42
		amm_bin="amm-${scala_version}"
43

  
44
		newbin "${DISTDIR}/${P}-${scala_version}" ${amm_bin}
45
		last_amm=${amm_bin}
46
	done
47

  
44 48
	dosym $last_amm /usr/bin/amm
45 49
}
Спасибо!