public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Thu,  3 Oct 2024 15:57:23 +0000 (UTC)	[thread overview]
Message-ID: <1727971013.0e7c276322b94eb904178a0e1b8dbe1699fe7efb.flow@gentoo> (raw)

commit:     0e7c276322b94eb904178a0e1b8dbe1699fe7efb
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 15:55:46 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 15:56:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e7c2763

dev-java/scala-cli-bin: add 1.5.1

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.5.1.ebuild | 78 +++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/dev-java/scala-cli-bin/Manifest b/dev-java/scala-cli-bin/Manifest
index 4c6584dcde5b..129c168ba886 100644
--- a/dev-java/scala-cli-bin/Manifest
+++ b/dev-java/scala-cli-bin/Manifest
@@ -1,9 +1,12 @@
 DIST scala-cli-amd64-1.2.2.gz 33871512 BLAKE2B ef9328b26afb52ada07739539d560239d6ce2ffd72d1e353ce94d45c7358b6789aa0019804e249584ca497d5d15c96caab12eb31fab5b84a14162c00ca30c181 SHA512 02da0915ee140a129f622f973291c98c7dd7b7f16f5a2a5250ac825e09876b616a315fe5e6af43691f43870fa68234efeff73eadd4f6060d2d90fe937302eae7
 DIST scala-cli-amd64-1.4.3.gz 34238734 BLAKE2B ac40427ebd664c147f3134d067143207a024f2fa96be06f452d3b037a5f9866f6d6624c31a5a6045e5d1b6d087c87a14d2a376e050e6d23a10ce66de544b5969 SHA512 09b2ca1615a3c090a195f41237aa448d3535555c976ff4abdade1b8569126794009fcab11bde2087fcfe72c5a7a72b7b74bea647eef3a941bd1af4fb584b5f9b
 DIST scala-cli-amd64-1.5.0.gz 34334438 BLAKE2B 2369f8e4a27975e3bc3a646e9637f885016a7df08c1cbfd1874b2f07037b1452df5eda16fd64bc9182611aaa37e903392764a3cff19439e864cc3ee510e1c163 SHA512 53ec0a5a9079b40189391a7e2e6ef3d8bcf40ebe05af807fbe4bb3b8116975c21266d88eff87b5fc841dfd8584bb6fe8320583f19dbe1e24d0c550bdc086aea5
+DIST scala-cli-amd64-1.5.1.gz 34375992 BLAKE2B 4af5f420df9ef15e4252bc65dc17b3c9df516e784cf5d5e48cc93686c6a068e13b5098c552d8c9155739eb56cecb7e410289025f3281135b9d7d4cfc5e0d5cd5 SHA512 0adcc503fd7de00d0df97c5c31c7fca18e6ce4e6f91b8a07ae4f94107b289f7301513d22ab6ab06f74a956b0ceb648cd487105ab5289c477c52287466e1d6e45
 DIST scala-cli-arm64-1.2.2.gz 33766128 BLAKE2B d5b2d7ab8157f3874b1cfe0b0647ab30f5dd191337e575056eb758d52eda30871c54b20a08a1cda3e28c51afd744b4b8320aee6aef056b39b98f2534184739ba SHA512 004ca188e4ddd01c0e46277fa514b1c9bd061ea26d4318b8daff3ffaae5bb7cc9f4746509401da19774537c7e56f8a5a7da846cd4b5f90c61a3ab1f8d3ed0493
 DIST scala-cli-arm64-1.4.3.gz 34137841 BLAKE2B 0e8ed1f1777ac507315b7e8136b85fa1486c5817f8ae49205a7e53eebc15be0f3c90123418890ce1c96110534a962ead961aad0c6fd9230df0a5a6a70147cca3 SHA512 c81a3be8fdb2b396252f5c31b5fd9182864e6bfda14ab3a119d9922ef1e1834521781eaf935ba91d74ba24388e9bf9617e82ad2d61dfe88f845426a16b7b4e7f
 DIST scala-cli-arm64-1.5.0.gz 34240198 BLAKE2B aadb5203d2b2e93e27b4408724c5ebfbfa3a1e14b9bd3f78ccefbd961063451dc16fc0374430088d981208614de82ddf538c0e04975adba46f997fbf71c0d915 SHA512 d5025e91057ba72e9a2aed177356c04c08cc10745c8614db44e7843e6825ec14c619d7c8e24154c168e485bb98ebfb234179fa4a50989c162bcf92d096413379
+DIST scala-cli-arm64-1.5.1.gz 34284162 BLAKE2B 1db3c49d52a47ab276600d6e29179a920256ba56262cac0368dd8e8ddfd6f1b570a5124b64bc4005a7212801ad8615997a3f91f807e878a989e1359d053ea10e SHA512 026cfde5c108df8d91acf3394a53dfb49a962cd6ac1a1be78c4601afa4823d410205ad147bb8830b17923d209a0333d75b50dede1a00208081f64928e4198364
 DIST scala-cli-non-native-1.2.2 7837019 BLAKE2B 799ed83805ba767b687cf9a041a3e23f008e20e3ca55b8c52a9361c0b2465141abb7c17ca7dca59c9307af5a5a07a0cfe0d8035eea14a2adf2580913d67d6a10 SHA512 40aa43ee601c52238989a81884b6acc7a023599abb561bed1c9d31dff6053eff0f3477097a228bc30aab4df22d81b10fbbb64b5557d3067b4715c821c4eacb3e
 DIST scala-cli-non-native-1.4.3 8004147 BLAKE2B 79b37e21b4aa1335a766ff7a735cf6fd0ae47b054c246371cfe57dca601de9309abc92df60ccba9873bf112f03d61081397eb859754b3287d2f6712946988ab5 SHA512 6c032330c01b2f2730390ea83fbcd9259e498b65cb182c2cf20cec2674f3dac2262d746a8addbe8b856c34bded0805c23b9a6a59e345037ea0b546681ddc7596
 DIST scala-cli-non-native-1.5.0 8117168 BLAKE2B 9b55dec1e329c7242ff5cdcad65a77686498c6c5bf5b872473d18609e4fed59353121fc4e3df4d8c7466daa1590bb09b4c6fdbf5bddd80bcaeab541e31d426a1 SHA512 badf719bdd3d9a289ca1436ca83433ecd49ab9908158188b68682e2c8bcee9e69c0bf73d1791656ecc2d01fe560cc754ef0f5e965ea25a520d73c7f98db266b0
+DIST scala-cli-non-native-1.5.1 8105280 BLAKE2B 2957eeda0c27f6c91de9cb36f103d5f9bfdcff5110e8c5b51c6067c756c1592f6e5e94f59b9471260bcd50369f50874ca6901466e4bc2e654e51c3666763620e SHA512 600b66c8db534f6e04c8a3ada969b998bb5923e9ec2322dc1919032c4221bfb3c259dda7abdf7f862d9693d4658fedef607d6a85094d1e6c6ed7f4655d9a8146

diff --git a/dev-java/scala-cli-bin/scala-cli-bin-1.5.1.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-1.5.1.ebuild
new file mode 100644
index 000000000000..e89ddb52ce30
--- /dev/null
+++ b/dev-java/scala-cli-bin/scala-cli-bin-1.5.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 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
+}


             reply	other threads:[~2024-10-03 15:57 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-03 15:57 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-25  8:54 [gentoo-commits] repo/gentoo:master commit in: dev-java/scala-cli-bin/ 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=1727971013.0e7c276322b94eb904178a0e1b8dbe1699fe7efb.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