summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-01-11 10:17:36 +0100
committerFlorian Schmaus <flow@gentoo.org>2023-01-11 10:17:36 +0100
commitfd822ab312a0c695baebbd6656044e123c090c60 (patch)
tree15848ddea0e3ec35b6afa71dd69469861909c10e /dev-lang/ammonite-repl-bin
parentnet-im/zoom: drop 5.12.9.367, 5.13.0.599 (diff)
downloadgentoo-fd822ab312a0c695baebbd6656044e123c090c60.tar.gz
gentoo-fd822ab312a0c695baebbd6656044e123c090c60.tar.bz2
gentoo-fd822ab312a0c695baebbd6656044e123c090c60.zip
dev-lang/ammonite-repl-bin: add 2.5.6
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-lang/ammonite-repl-bin')
-rw-r--r--dev-lang/ammonite-repl-bin/Manifest3
-rw-r--r--dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.6.ebuild45
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-lang/ammonite-repl-bin/Manifest b/dev-lang/ammonite-repl-bin/Manifest
index 6306cf35348c..fe08541758a3 100644
--- a/dev-lang/ammonite-repl-bin/Manifest
+++ b/dev-lang/ammonite-repl-bin/Manifest
@@ -4,3 +4,6 @@ DIST ammonite-repl-bin-2.5.4-3.1 54220925 BLAKE2B 104190bae8ae6d8efe3b3d43932ecf
DIST ammonite-repl-bin-2.5.5-2.13 48455620 BLAKE2B 7cd2701a5bc26f49dac4ac9ff924d92c96ab2fde3a29ed4728ce4fbf97572fb22b627391882bf78e5ee9f767886bb101129d2bbb5ca8f3f206c10a68733d9318 SHA512 5cc9c263d75b11afa0c5a4700b2790268453f7497101a14a00a6107eee026394f45411b81d87a85f2949bffbfe0a64bc4c0392ee80bd0b60e3fbedbcedb193e6
DIST ammonite-repl-bin-2.5.5-3.0 53685162 BLAKE2B 7ab579bb3738a938e5ad4da105794add287704dae151c77092469864b124aad8c214ae94e42efd43b069bf4c849864e04fe9e826d8cb553f778a318ccc835697 SHA512 8f6230341ca2288218166a9ebb8a74b8abede0b0a37e89e7ced6b17cc034458cf03109af6676bb3a34df969e86c8550270e7a446d4aa7e3684d89a288df2436c
DIST ammonite-repl-bin-2.5.5-3.1 54766874 BLAKE2B 5bcf183eedad202b34c971253f73cf480baca35c122dfde5ed1fe2617332241d30b31912263d619155cbbc9d7126802d40fc4f0fba73cd1d59cc52c4cf670293 SHA512 02b7c84e91c67f1e9d0ff82fbef6dc7dcc2ff2fe3ab36db5fc4181a5f7529a4997501d7420d5ddb2404e00965f1f12a17128c1ba3f990ff92d9ff18620a3cb02
+DIST ammonite-repl-bin-2.5.6-2.13 54860357 BLAKE2B 9a3cdbfb0c9ed228214353f5e25a22b7c3cb7480024de680185e8399564012c895e6f73d20555a11e1724fc8b36c9f597af5a67e5d7e951b104f8089eacb06f9 SHA512 97ff31819cbf45384175df899fe7b72bbc8fa97ff97de62c70d2d20f536a4066fb1a4e262364ef9c49865f57062d50fdd87338034fcc108b688fb3b424d7e2c0
+DIST ammonite-repl-bin-2.5.6-3.0 60096793 BLAKE2B 4f4218ea1e09f879be72eb67c8c3538004ba221369a172ff7b3da3c6b0d5538c3499f620fb7e9af9a7b23011456452a94fcd2cde04e1b666693e1f1ff5a7f3b0 SHA512 e1968fc2b838e08bd2f7c2dabdeb5f612088549dbc4091b169eab26bcdc16c4c9f2e1d37857a4c161efdff8f05dd5579eff185683ecc758b86f9702d5932d592
+DIST ammonite-repl-bin-2.5.6-3.1 61179318 BLAKE2B 84be1ee7d862ff05bab8bd9f168f77ade35235778fb09c9cd46c02fa8c22b648103615dc04bef517737b41f0799c69ac801a094752736903839d724163fa1c40 SHA512 709d721797c6aeeb1cd72c8ec75b1fa37cdefcc9ddde4de2e9231e7a3745958788128dc4a3d39e289bd35132051d77b06a73f3de8a9a34d157b68330b30437a8
diff --git a/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.6.ebuild b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.6.ebuild
new file mode 100644
index 000000000000..83bb645f7adb
--- /dev/null
+++ b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Scala language-based scripting and REPL"
+HOMEPAGE="https://ammonite.io/"
+
+SRC_URI="
+ scala2-13? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/2.13-${PV} -> ${P}-2.13 )
+ scala3-0? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/3.0-${PV} -> ${P}-3.0 )
+ scala3-1? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/3.1-${PV} -> ${P}-3.1 )
+"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+
+S="${WORKDIR}"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+IUSE="+scala2-13 scala3-0 +scala3-1"
+REQUIRED_USE="|| ( scala2-13 scala3-0 scala3-1 )"
+
+src_unpack() {
+ :
+}
+
+src_install() {
+ local last_amm
+ if use scala3-1; then
+ newbin "${DISTDIR}"/${P}-3.1 amm-3.1
+ last_amm=amm-3.1
+ fi
+ if use scala3-0; then
+ newbin "${DISTDIR}"/${P}-3.0 amm-3.0
+ last_amm=amm-3.0
+ fi
+ if use scala2-13; then
+ newbin "${DISTDIR}"/${P}-2.13 amm-2.13
+ last_amm=amm-2.13
+ fi
+ dosym $last_amm /usr/bin/amm
+}