From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ammonite-repl-bin/
Date: Sun, 25 Jun 2023 15:58:54 +0000 (UTC) [thread overview]
Message-ID: <1687708730.40a1389e09e54f073ddba73f60cdc322eedad2ea.flow@gentoo> (raw)
commit: 40a1389e09e54f073ddba73f60cdc322eedad2ea
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 25 15:58:06 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Jun 25 15:58:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a1389e
dev-lang/ammonite-repl-bin: add 2.5.9
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-lang/ammonite-repl-bin/Manifest | 4 ++
.../ammonite-repl-bin-2.5.9.ebuild | 49 ++++++++++++++++++++++
dev-lang/ammonite-repl-bin/metadata.xml | 1 +
3 files changed, 54 insertions(+)
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>
next reply other threads:[~2023-06-25 15:58 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-25 15:58 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-15 23:51 [gentoo-commits] repo/gentoo:master commit in: dev-lang/ammonite-repl-bin/ Sam James
2024-01-09 15:52 Florian Schmaus
2024-01-09 15:52 Florian Schmaus
2023-10-22 10:28 Florian Schmaus
2023-07-29 14:05 Florian Schmaus
2023-06-25 15:58 Florian Schmaus
2023-03-21 11:15 Florian Schmaus
2023-02-16 8:12 Florian Schmaus
2023-02-10 13:03 Florian Schmaus
2023-01-11 9:19 Florian Schmaus
2023-01-11 9:19 Florian Schmaus
2022-11-30 9:39 Florian Schmaus
2022-10-20 11:11 Florian Schmaus
2022-07-26 11:20 Florian Schmaus
2022-06-24 20:10 Florian Schmaus
2022-06-24 20:10 Florian Schmaus
2022-05-24 9:15 Florian Schmaus
2022-05-24 7:28 Florian Schmaus
2022-05-24 7:28 Florian Schmaus
2022-05-24 7:28 Florian Schmaus
2022-04-19 7:39 Florian Schmaus
2022-03-16 12:59 Florian Schmaus
2022-03-16 12:59 Florian Schmaus
2022-02-20 9:11 Florian Schmaus
2022-02-08 10:20 Florian Schmaus
2022-02-08 10:20 Florian Schmaus
2022-01-16 8:12 Florian Schmaus
2021-12-14 19:39 Florian Schmaus
2021-12-14 19:37 Florian Schmaus
2021-12-14 19:37 Florian Schmaus
2021-11-16 16:21 Florian Schmaus
2021-10-25 14:31 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1687708730.40a1389e09e54f073ddba73f60cdc322eedad2ea.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox