commit: b16ee141cb2c380b7c8564f56629ccf9a74a1ec0 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Thu Oct 20 11:00:17 2022 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Thu Oct 20 11:11:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b16ee141
dev-lang/ammonite-repl-bin: add 2.5.5 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-lang/ammonite-repl-bin/Manifest | 3 ++ .../ammonite-repl-bin-2.5.5.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-lang/ammonite-repl-bin/Manifest b/dev-lang/ammonite-repl-bin/Manifest index 1ac27e741ee0..6306cf35348c 100644 --- a/dev-lang/ammonite-repl-bin/Manifest +++ b/dev-lang/ammonite-repl-bin/Manifest @@ -1,3 +1,6 @@ DIST ammonite-repl-bin-2.5.4-2.13 48438500 BLAKE2B 386ab32fc122267d17d377201a73e001ca40eb9c3254527e0819ae399cdcda90c5ada8d4773e16a1a930ba839e374dfd0d9848ccf1da75e5f6e385bf870f27a1 SHA512 cd1b382e2a5eb2ca93ad0640d9806e5770516f8fbd1c2a468e2bb333ab648916ed7b86efdf5d5e674176eee09532cf0a9b5af57021695c37b4862abb546966db DIST ammonite-repl-bin-2.5.4-3.0 53445165 BLAKE2B 94791b9b616d6a1253fbb99455b2eb71ecb9768918b0e8c829f600c84e801dd53574b827fe32f606d4cf310f3f2655444d1979438ee459fa419d39820522f19d SHA512 498a858bc30c4a1479cc627559d066630cd0fd6ba9ae9e64607ce07246a216fd57de433e87a8b3b7511f4db143d227d9a0433166e5ba720ed38ae6dbd587f162 DIST ammonite-repl-bin-2.5.4-3.1 54220925 BLAKE2B 104190bae8ae6d8efe3b3d43932ecf5f5075516b706dffca04a1fc3710edc476b2042b8b50036fd7719207dabd0771e3239030e866b48adad14a901d155c15c0 SHA512 5490d6bdc73bb6e48626e81acf3e8232697205252712505a31b5a3376d171c065854a5d552c910ac8c77f74e76eb84d34b5db5bb00b13fb53b5ba6394c22e920 +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 diff --git a/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.5.ebuild b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.5.ebuild new file mode 100644 index 000000000000..4e946c7bdb4c --- /dev/null +++ b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 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 +}