From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/scala-cli-bin/
Date: Fri, 30 May 2025 12:26:09 +0000 (UTC) [thread overview]
Message-ID: <1748607882.c01e69eca9e44492af9df37b2c5b8f7c06a95427.flow@gentoo> (raw)
commit: c01e69eca9e44492af9df37b2c5b8f7c06a95427
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri May 30 12:05:26 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri May 30 12:24:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01e69ec
dev-java/scala-cli-bin: add 1.8.0
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-java/scala-cli-bin/Manifest | 3 +
dev-java/scala-cli-bin/scala-cli-bin-1.8.0.ebuild | 78 +++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/dev-java/scala-cli-bin/Manifest b/dev-java/scala-cli-bin/Manifest
index 60a471f2f2ab..90b9804cda4a 100644
--- a/dev-java/scala-cli-bin/Manifest
+++ b/dev-java/scala-cli-bin/Manifest
@@ -1,6 +1,9 @@
DIST scala-cli-amd64-1.5.4.gz 34280702 BLAKE2B 9bbfa286a66bfb41dce3222496a302b30f45c021cf2c82a3657c4de786f91ce79b4c551213bbaa4cc3ca34b289c9c440203aeb65093633f79df538881c5cb08e SHA512 bc905499117e24b78c5beca91fb4cf34063c2bb48000b920c085346ae11db15b9c0905ec6846794ac706bd06874130e8981a2f5ff4a47f5f93a1238e530e3709
DIST scala-cli-amd64-1.6.1.gz 35539155 BLAKE2B 1d14e282f15cebc9c06de5ea5f0921b1d447bf1a04c68c95c85be722c7e9f58317c9d3853720535f1870908acb31adaf02052c25bb87f8d1c9bb4120b8f49dfb SHA512 2fa202fa026db619e454e863b4e9a3d32cffc0d6c2921892bcfdb3c05a5dab7821778f9472e9163149d7180c0e032761a05fcf8cabe0af28bd887c3af9d256e8
+DIST scala-cli-amd64-1.8.0.gz 39614178 BLAKE2B 0852c405983eba7956f56b7ad2cbdd7225fc4a303d5f7e53ab836625a34df57d479095bd1035f98ad4afe6c5258dc78c314fe18657696e429927fb2d59a92ce8 SHA512 39914696e08e7faed3c0dc170d641305422e243a21b1c3de3f31de38bc0845cd46c6ccce830a8e28e3d62e0e7c7080d15f5bad9afa3b9e4004d34bba68cdcd1d
DIST scala-cli-arm64-1.5.4.gz 34215069 BLAKE2B 0e54f4580a5c28c8992ca48ed96e5d31104016320060c2e56c1687267211b03401ed3f5486138f80abe5349bd218bf86966c9f57d44240aa6a2416e7af52f797 SHA512 ad90eb6436f1d82d9625cce250fc5c8d614dab9d9918dd8243993a5df6648f91f4969df96ead50774cf9712d22f161a5852ba47746f89b27f8225850f3f3395d
DIST scala-cli-arm64-1.6.1.gz 35436163 BLAKE2B 25a51bdbf394ec54230180c27e7835b2855d7694ca05e630464da442bfe0c25bf54afce96ff7bfc59dbb11d3e6e74d83cb79582cb76596eaf23e3acd6804cf18 SHA512 91eec12f9347517da2f3bc4d971cbd36f3edb03148cb815f5140df17069e3ecdc9879b10497e9e77a607b4f0a7530384c5aab82bdaef0c25f2d1e49190b1e2c2
+DIST scala-cli-arm64-1.8.0.gz 39476082 BLAKE2B 712147c329e10c553975f844fb3654efca7d4bd41a3556e8afa6b02ad310600a1f3ec398fbb6de6078e118c3b47ee7f0a2885c1dc32585ceb467df9412b2b18f SHA512 4798b7628f3c93e6ffa44be440767f7c7ddeb429cc0a8d46e0f30b7259f13618d7034a2110ae6a11acb0fd19ac8045ce80bf5b0f9284d48c36f896586ea96450
DIST scala-cli-non-native-1.5.4 8122943 BLAKE2B 10e3ef02dcdc72e3d3ca0de693242d82ea18fc6358c955a71be77a0086bd6f67ec7ceddabb1746a00f125a55a0bad2800d54dfc0d94fc53cbd6ffb8ae185f604 SHA512 f0068a4b7f338b5fd59020270a2fb7bc15773bee3fb12a52311ef3b587e2ceb7f3cbe81480d2198e68f3bb1997f2861ddd90f89a7c7bc0c153d4f541075fa6c3
DIST scala-cli-non-native-1.6.1 8213824 BLAKE2B 9c9ab64d9d92b4d0a8a1d4c61c2c5e467506becc39a3108a0adb374ae1efe437e6ea9e081c9dd52b7b9b26536bea44baccda7cf0f92853f58803de48246e4ea4 SHA512 8ef63305a15a2f34cb7c331c4fa3f8741d4086c7f2a9149460883027d4f98d13de802a6b2da236a2a5eb928e97c4ef7d3fc2d45fb33e2a982bcf7ece568f791a
+DIST scala-cli-non-native-1.8.0 8396336 BLAKE2B 7fe35daf8bd44ac2b2c6ac2995a130bd21962ea8b4319de21988331ff7bd2179648181a27389cd98a61a68dd9b360b7c5e29af44b3d49c3819485ff25756a839 SHA512 ab6814602a1615f5c8e9789050949278e140c2f474745800cd3aa6f191178fe906662c63cd39612a571995063239de4e6ba7cd6113a3b58af6fdcf1b9a60620f
diff --git a/dev-java/scala-cli-bin/scala-cli-bin-1.8.0.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-1.8.0.ebuild
new file mode 100644
index 000000000000..8265419c2174
--- /dev/null
+++ b/dev-java/scala-cli-bin/scala-cli-bin-1.8.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1
+
+UPSTREAM_PV=${PV/_/-}
+UPSTREAM_PV=${UPSTREAM_PV/rc/RC}
+
+DESCRIPTION="CLI to interact with Scala and Java"
+HOMEPAGE="https://scala-cli.virtuslab.org/"
+SRC_URI="
+ !amd64? ( !arm64? (
+ https://github.com/VirtusLab/scala-cli/releases/download/v${UPSTREAM_PV}/scala-cli
+ -> scala-cli-non-native-${UPSTREAM_PV}
+ ) )
+ amd64? (
+ https://github.com/VirtusLab/scala-cli/releases/download/v${UPSTREAM_PV}/scala-cli-x86_64-pc-linux.gz
+ -> scala-cli-amd64-${UPSTREAM_PV}.gz
+ )
+ arm64? (
+ https://github.com/VirtusLab/scala-cli/releases/download/v${UPSTREAM_PV}/scala-cli-aarch64-pc-linux.gz
+ -> scala-cli-arm64-${UPSTREAM_PV}.gz
+ )
+"
+
+S="${WORKDIR}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+# A JRE is not strictly required if native images of scala-cli are used
+# (amd64, arm64). However we may want a system JRE anyway, and having JRE
+# in RDEPEND reduces the chances that scala-cli needs to install one
+# for the user.
+RDEPEND="
+ >=virtual/jre-11
+ sys-libs/zlib
+"
+BDEPEND="!amd64? ( !arm64? ( >=virtual/jre-11 ) )"
+
+QA_TEXTRELS="*"
+QA_FLAGS_IGNORED="/usr/bin/scala-cli"
+
+src_prepare() {
+ default
+
+ if use amd64; then
+ mv scala-cli-amd64-${UPSTREAM_PV} scala-cli || die
+ elif use arm64; then
+ mv scala-cli-arm64-${UPSTREAM_PV} scala-cli || die
+ else
+ mv scala-cli-non-native-${UPSTREAM_PV} scala-cli || die
+ fi
+
+ chmod +x scala-cli || die
+}
+
+src_compile() {
+ for shell in bash zsh; do
+ ./scala-cli install-completions \
+ --shell ${shell} \
+ --env \
+ --output "${S}" \
+ > ${shell}-completion || die
+ done
+}
+
+src_install() {
+ dobin scala-cli
+
+ newbashcomp bash-completion scala-cli
+
+ insinto /usr/share/zsh/site-functions
+ doins zsh/_scala-cli
+}
next reply other threads:[~2025-05-30 12:26 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-30 12:26 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-24 13:18 [gentoo-commits] repo/gentoo:master commit in: dev-java/scala-cli-bin/ Florian Schmaus
2025-09-21 12:21 Florian Schmaus
2025-09-21 12:21 Florian Schmaus
2025-09-21 12:21 Florian Schmaus
2025-05-22 21:48 Sam James
2025-02-04 17:33 Florian Schmaus
2025-02-04 17:33 Florian Schmaus
2025-01-28 13:47 Florian Schmaus
2025-01-02 14:35 Florian Schmaus
2024-10-17 8:32 Florian Schmaus
2024-10-17 8:32 Florian Schmaus
2024-10-03 15:57 Florian Schmaus
2024-08-25 8:54 Florian Schmaus
2024-08-25 8:54 Florian Schmaus
2024-08-22 9:51 Florian Schmaus
2024-08-02 15:33 Florian Schmaus
2024-08-02 15:33 Florian Schmaus
2024-08-02 15:33 Florian Schmaus
2024-04-12 14:09 Florian Schmaus
2024-03-31 18:20 Florian Schmaus
2024-01-11 10:44 Florian Schmaus
2024-01-11 10:44 Florian Schmaus
2024-01-09 15:52 Florian Schmaus
2024-01-09 15:52 Florian Schmaus
2023-12-02 9:35 Florian Schmaus
2023-10-22 10:28 Florian Schmaus
2023-10-22 10:28 Florian Schmaus
2023-09-11 8:32 Florian Schmaus
2023-09-11 8:32 Florian Schmaus
2023-07-29 14:05 Florian Schmaus
2023-07-29 14:05 Florian Schmaus
2023-07-17 20:05 Florian Schmaus
2023-06-25 15:23 Florian Schmaus
2023-06-25 15:23 Florian Schmaus
2023-06-13 9:18 Florian Schmaus
2023-05-27 11:01 Florian Schmaus
2023-05-22 19:06 Florian Schmaus
2023-05-03 11:08 Florian Schmaus
2023-05-03 11:08 Florian Schmaus
2023-04-26 9:41 Florian Schmaus
2023-04-26 9:40 Florian Schmaus
2023-04-26 9:40 Florian Schmaus
2023-04-26 9:40 Florian Schmaus
2023-03-31 10:28 Florian Schmaus
2023-03-21 10:00 Florian Schmaus
2023-02-23 15:29 Florian Schmaus
2023-02-23 15:09 Florian Schmaus
2023-02-23 15:09 Florian Schmaus
2023-02-10 13:03 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=1748607882.c01e69eca9e44492af9df37b2c5b8f7c06a95427.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