diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-06-25 17:58:06 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-06-25 17:58:50 +0200 |
commit | 40a1389e09e54f073ddba73f60cdc322eedad2ea (patch) | |
tree | 198c34cbe51ad8a6325cfd200920afc31d781da2 /dev-lang/ammonite-repl-bin | |
parent | dev-java/mill-bin: add 0.11.1 (diff) | |
download | gentoo-40a1389e09e54f073ddba73f60cdc322eedad2ea.tar.gz gentoo-40a1389e09e54f073ddba73f60cdc322eedad2ea.tar.bz2 gentoo-40a1389e09e54f073ddba73f60cdc322eedad2ea.zip |
dev-lang/ammonite-repl-bin: add 2.5.9
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-lang/ammonite-repl-bin')
-rw-r--r-- | dev-lang/ammonite-repl-bin/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.9.ebuild | 49 | ||||
-rw-r--r-- | dev-lang/ammonite-repl-bin/metadata.xml | 1 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-lang/ammonite-repl-bin/Manifest b/dev-lang/ammonite-repl-bin/Manifest index e1abd1c4939b..9c84fc3db72c 100644 --- a/dev-lang/ammonite-repl-bin/Manifest +++ b/dev-lang/ammonite-repl-bin/Manifest @@ -7,3 +7,7 @@ DIST ammonite-repl-bin-2.5.6-3.1 61179318 BLAKE2B 84be1ee7d862ff05bab8bd9f168f77 DIST ammonite-repl-bin-2.5.8-2.13 54860380 BLAKE2B 0cd77d60a540591ea8ad1fa5d85e318120c3605d486a29d631e7a68081f680bc8fe3e28b9dd569bfa478d10b69505416f425368ef9b976ece0f6f1362523f872 SHA512 111a5c1de707fab79b46ce78c31bd66d1370ce1c7f61bd53a4cb5be941426389f5c1bafec09555c39922dff4a221e3b9f2c72175c32e3fb0c47336080cb8a5e2 DIST ammonite-repl-bin-2.5.8-3.0 60096866 BLAKE2B 3b48b6beb3000d16c8e5564435a38003dabf168b3ec28e54c50e5220b55a73b7b7aafd9995d3a17f16646366374938b67d528b4351125a66113fe0befcb3057f SHA512 90c87cf9c5525f8a5810a9cb10b0001883df9980b861ae5e60e80792cdd7481b8d15615c006a032a8bd7bd6d365c2270379d9fc525f9a87eade67273a3145d15 DIST ammonite-repl-bin-2.5.8-3.1 61179360 BLAKE2B d6c538bd88146024ef83e3aa651e2b1759aaa148758a3ccdbc47c071826b7f38fb6f013b9a49f2e0eb9d997e2cafcd28ea9f00d5d3120a9ad2eea86aa2d05862 SHA512 70aef39a7ef0f7a5022192474bde19d13591b5c4d069c91a8e63b2649fc744c02718b231faba8ec91779fde602b930b3e50926c6efa6532996ee5afb6358d74c +DIST ammonite-repl-bin-2.5.9-2.13 56786192 BLAKE2B e63264b1735132cdb22626d35a0a8c484a26676618cf2369a56bc46d789009b27fd68b475b363959bbfd937388918a310c61ed5188885fdb18d6c7c011f21ec4 SHA512 5ba118d5ff96bf9a50ddff3420d47dc14ab14a4f53ef715c63ab002e5487d698871afbea0392e7b8c036c48a33833faa2eecc86919a1b42bb2dfd6b70fb44bb9 +DIST ammonite-repl-bin-2.5.9-3.0 61696887 BLAKE2B fc7afabf3fc6129ea8da03cfb03da7cee10889ed4ceffe08e965b6f27649af6daf1db5e6bfb12871ac2fd5fe5b74cc27e1e467c25f3b5a4a7b9662943c4ef7fa SHA512 b33aebc31b5b54739389212533780b99145aaf74905532c1de55ee8e79dc1e12e217968f6f0a5f39fb6ffeb87f70792dcef98c0f75f3fe81a96f2c4adbc9f066 +DIST ammonite-repl-bin-2.5.9-3.1 62779382 BLAKE2B 0136efb63727ba47ddac62671a510b0742a1b3f888ced421518b052fd95dabc15cf20626e0b4692a936df468cc6c96b16a486ea847973ed9ab5d7c8dce52481c SHA512 3e422d9402a4a8a71c77b4c8bdcc980f19274938a122a57ce712709961fd3d6c7417b3e85fff414863c84f412c183b7a5bd92882348161d55be8c48a98ea2e3b +DIST ammonite-repl-bin-2.5.9-3.2 63805907 BLAKE2B cc9329f0f7e91675838b2735a38dda16e934ec3c7c3be827af4ae56d7f67e632e6a26866cffa6f4bf4e08b955fe608dbfed540f8ea34901cdab6acef41ee2e8e SHA512 f57fa352fc4d074e5f482c1b4e0593154943e81e722d0b5f9c4a9059c07bf2774d5c03bca192e5d66cd6c078c7978d323059606d41268f9f56903550fce9e2f8 diff --git a/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.9.ebuild b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.9.ebuild new file mode 100644 index 000000000000..103d0f16b926 --- /dev/null +++ b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.9.ebuild @@ -0,0 +1,49 @@ +# 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 ) + scala3-2? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/3.2-${PV} -> ${P}-3.2 ) +" + +KEYWORDS="~amd64 ~x86" +LICENSE="MIT" +SLOT="0" + +S="${WORKDIR}" + +RDEPEND=">=virtual/jre-1.8:*" + +IUSE="+scala2-13 scala3-0 scala3-1 +scala3-2" + +src_unpack() { + : +} + +src_install() { + local last_amm + local scala_versions=(2.13 3.{0,1,2}) + local scala_version + for scala_version in ${scala_versions[@]}; do + local use_flag=scala${scala_version/./-} + + if ! use ${use_flag}; then + continue + fi + + local amm_bin + amm_bin="amm-${scala_version}" + + newbin "${DISTDIR}/${P}-${scala_version}" ${amm_bin} + last_amm=${amm_bin} + done + + dosym $last_amm /usr/bin/amm +} diff --git a/dev-lang/ammonite-repl-bin/metadata.xml b/dev-lang/ammonite-repl-bin/metadata.xml index a6816afd69b6..e745765d8d2b 100644 --- a/dev-lang/ammonite-repl-bin/metadata.xml +++ b/dev-lang/ammonite-repl-bin/metadata.xml @@ -18,5 +18,6 @@ <flag name="scala2-13">Install Ammonite for Scala 2.13</flag> <flag name="scala3-0">Install Ammonite for Scala 3.0</flag> <flag name="scala3-1">Install Ammonite for Scala 3.1</flag> + <flag name="scala3-2">Install Ammonite for Scala 3.2</flag> </use> </pkgmetadata> |