summaryrefslogtreecommitdiff
path: root/dev-java/scala-cli-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-14 15:13:45 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-14 15:13:45 +0100
commitb9e8f3cc44aed3b6da71c7510c6287bf7bbbc66b (patch)
tree4b47f3026f10252cff69e7a4346215a4da4f0f1c /dev-java/scala-cli-bin
parent3d952d0bfe7b386699eb32d1431deb0c538f044d (diff)
gentoo auto-resync : 14:06:2023 - 15:13:45
Diffstat (limited to 'dev-java/scala-cli-bin')
-rw-r--r--dev-java/scala-cli-bin/Manifest4
-rw-r--r--dev-java/scala-cli-bin/scala-cli-bin-1.0.1.ebuild78
2 files changed, 82 insertions, 0 deletions
diff --git a/dev-java/scala-cli-bin/Manifest b/dev-java/scala-cli-bin/Manifest
index ed4bc40eb898..807a27f8f5b5 100644
--- a/dev-java/scala-cli-bin/Manifest
+++ b/dev-java/scala-cli-bin/Manifest
@@ -2,16 +2,20 @@ DIST scala-cli-amd64-0.2.1.gz 32642273 BLAKE2B f30dde2a5408032942e5676b0274473fe
DIST scala-cli-amd64-1.0.0-RC1.gz 32431480 BLAKE2B 3ac9aa93a109493288397ca595c7364a79530a601baa2fdd11f6f0e618f9c1fb07068eb05a8242a5fcc00efc213b8225a60b8e2e75ef5dec782280665cad0cc8 SHA512 559fb6caa346e370b93778da5266b8d009cd4335e3a7baeee090c14110dcdf87fb45bee7c00eab50f3df875d88378dcfc0f6ef4a61cf8522918f9d49337e0767
DIST scala-cli-amd64-1.0.0-RC2.gz 32605320 BLAKE2B bff2336256336676df72dbce8353dbc28028d55345ab5c22dc8129d020beb2f1f8e3ef4ea0cf60843ff5868c8bd701a839a235ea5211612ba21d160e8e99ad50 SHA512 c576443cf0ecf8ff048f3ade35fec0a6c6de417d0c86030e46fe0decc20d3c1a0dbd1e8377b39866c4eed3d4b4cb762d6d8de174831a011a2553d8d204a6f80c
DIST scala-cli-amd64-1.0.0.gz 33061895 BLAKE2B 9261617e7f9ed15ce8294eedcec2c81ad60d72b83663fb97559fa68b3578706637316e0e58966d690e64147743dcdf81e3e1f41d6bb9ebf55414e316370d7ec1 SHA512 6a37fae85faa2965ea816f2a72e89300e66bdd3ef741ba5bff575a8127255866822575b3708d2bd63d89f4a812d368bc7796494c90def8c2498f956e4b229264
+DIST scala-cli-amd64-1.0.1.gz 33066567 BLAKE2B 6f03e9f825b901344de61ddda2df5b899f99ce5c5b7ce64e5db3aa81b5c35808e50f3cae453554dc567fb4e1801ff6accc186480a4a9813005b8564558315ac6 SHA512 a9a51320e160692b49cb41637a89aa1adef89eab6c4cebe19cb7600b9b7fae963f9b9522b6d77a9b2d845ec652ba7533b6090a42b3383725ce56c6e7f32512e7
DIST scala-cli-arm64-0.2.1.gz 32498301 BLAKE2B 6ffd39f37bbcd33a59855e7226435dfea6ae99bc5cf30d182cd6920636e6b2e9ff627bd028b90f7cfbff4ed1829545697fe839290990d2938a24c64784f7e549 SHA512 b6609cb52bdfd4dffe4060343c652b477b5730c1f3f5f7267a39577c13e894b23982bfe80ae065472103bcbd1573675434e91128d31cbf3c83242f9aa60243b1
DIST scala-cli-arm64-1.0.0-RC1.gz 32263782 BLAKE2B 4131187460fb9f4236d35ebe2e63913812eba85eb8a862f2f02b681a6914b1a21f1f426e6411cff14f6309d0a7e91e2ff7f61b0336245d178f38747d953473dc SHA512 c43ecaf1638c4aa092d2a823a931ceea77cebd940907a8c781caa7c526411a5c2c50a7468ef6efab816d9d26d6769c0df421abc60f099992b489478e804ec52e
DIST scala-cli-arm64-1.0.0-RC2.gz 32420806 BLAKE2B 689edebc42c6483d2167b7231018dadb07cd93838451aecea5405884a7e07625b373c3aafdb4618d1398038363f812720e7a88b117f6bc70c48273fe1446c5d9 SHA512 d4cff7f9e85f0b0f5205d7a3ceb383fd44e348eb6cd593c7a5ffd44d073653ecc63d607ff23010ffb8ddc51c4977074d6ad0aad6282d9c564b9f478f3ba61479
DIST scala-cli-arm64-1.0.0.gz 32902399 BLAKE2B deff1fad9204572aafa8da88cb368d85e0ec39a51d71b00eed0a1933ea713cbeafd1cff3ec882eb32283770f1eb741e32969fa1e75aa46a6b6aab542a5d23447 SHA512 e6020c305d8ed06f8531994483079ee095f0d2bd9a0095ec417929620ee3e6a45507214a6f68756b70518af20d53e64b531793bb940872921302ad4f6566972c
+DIST scala-cli-arm64-1.0.1.gz 32915001 BLAKE2B db6e34f3534c3ffb873000893c0b07df26d91710b6de0075669fbf51a0f238303c77e7953a890eb50eac54087cf2ac77e916d3e1765b7e2b7de1145e0b1d605e SHA512 90a1c550e898b429ab8bc3722a40cb90752d7ee9c41fd61018f58d761704b5cd8b8b6b3381e3f7c3a9b3e7fffabf9b46bfa8cb4336604392b6443c1554f6482f
DIST scala-cli-non-native-0.2.1 9468051 BLAKE2B 9a9b5694261b769fafa3f3747f5e83869324e341f264dbfa463382e217acd5a2c994fb6e67e9e36175d97520938a40add424f5e9a77c62056eec6a828d4ea61a SHA512 547e9786527b7e7d34f4f912a6b9ae0c8f15eca3aa90f11f704283c63e5105363464f1e81f6dbb363fa71fb17e3e48b4db86e70f3b37b5059c40c02cd47382f5
DIST scala-cli-non-native-1.0.0 9540019 BLAKE2B fd7c920216fbba76be116cac2a2439ee0f983dbb1811e60a7095611b75bd1af86e8597f74dab4e994f3dd73694e2c93b910f9162e0fe8d4c8ada3f0012fb8b35 SHA512 6e09be3adf75f957a787b5cb5031824892d0606742ae12988b008d0fab1c743f2dff7169a547d77795af78679bde051a8f457284f339990bb343807e47005499
DIST scala-cli-non-native-1.0.0-RC1 9560878 BLAKE2B a0e8a86f61c5d9baa9dd36fdd2abd974063bab40644cfafd6f93f917c10f3cae2b665a19058641f61f75f11b614415db5d624d1397c061fed299b32059919faf SHA512 9b8c2b0868ed38601c5f992fae425d486ca5ac026fa664a404ba0ef4813ea9351f196a694e111fe2bbf2ccaa17257982feee91a85444d778f6a3d20f6347a438
DIST scala-cli-non-native-1.0.0-RC2 9405006 BLAKE2B e44e973a446601aa0f81a3df52769a60cd0c159f4bc903896e6f3352ef098a49ffa00a836fcd16a42d801b04a8bf9b2392144997bf4bd787a8bd913702a4a6d0 SHA512 11e7ab68b4321cb7feb4e51eb3fda4f4066a392d1aeddcfe32c942033f5d807fcd80793f4f0d4573684e3028cd5ea65ca790ca72b19e23834a8f8da2941e206b
+DIST scala-cli-non-native-1.0.1 9554667 BLAKE2B bac0d8b61cf2a14386791dd27cf3ebfbafccfaec5e13aa223d41bfd6ee30c3f1252ba903e2cc0434920633dcfa3c35e67f647f10713956f8fd372899b301562d SHA512 54029ad8ade9fffc8334ffedeaddd604ac75027447b0d7835db318909dc44946dfb039e0dcae4c3da8349922ee9af65d0d7cef389fdae2d11d5cac7d900e7504
EBUILD scala-cli-bin-0.2.1.ebuild 1641 BLAKE2B 8f094e68df52f08f595062921dd6c9af50016b3600dec044967edeb4243d454d0584b7ff38becfb746a80155b1e927b934671a72f336cc7eed1e91bf49c4a144 SHA512 f548739c257c342a93ced58358781d809dfa3ddc759a511a01ef17c3a26a658e3863425f59922a7f4636b07b3b7a490bd5d7b66a6fae4fb693f4a2e3ac52e1cf
EBUILD scala-cli-bin-1.0.0.ebuild 1819 BLAKE2B 14ca153e13b5c9d2f35f2dd4d01a9247e94969b5532b399abe55de9ec9f7a347f50a8a3dc5ff672cdb2c3ba8a03e716b38f9ed92e0a8d5649e555316e2b1f523 SHA512 ebe443f3b7d520ff4fefa7760437196239a3538aceba4f887ef51eeb65e6f903fa20ef5d0fd42d70a6f33cb9a50c81c86d7e0f542bcc9b78b4669badcffc54ce
EBUILD scala-cli-bin-1.0.0_rc1.ebuild 1819 BLAKE2B 14ca153e13b5c9d2f35f2dd4d01a9247e94969b5532b399abe55de9ec9f7a347f50a8a3dc5ff672cdb2c3ba8a03e716b38f9ed92e0a8d5649e555316e2b1f523 SHA512 ebe443f3b7d520ff4fefa7760437196239a3538aceba4f887ef51eeb65e6f903fa20ef5d0fd42d70a6f33cb9a50c81c86d7e0f542bcc9b78b4669badcffc54ce
EBUILD scala-cli-bin-1.0.0_rc2.ebuild 1819 BLAKE2B 14ca153e13b5c9d2f35f2dd4d01a9247e94969b5532b399abe55de9ec9f7a347f50a8a3dc5ff672cdb2c3ba8a03e716b38f9ed92e0a8d5649e555316e2b1f523 SHA512 ebe443f3b7d520ff4fefa7760437196239a3538aceba4f887ef51eeb65e6f903fa20ef5d0fd42d70a6f33cb9a50c81c86d7e0f542bcc9b78b4669badcffc54ce
+EBUILD scala-cli-bin-1.0.1.ebuild 1819 BLAKE2B 14ca153e13b5c9d2f35f2dd4d01a9247e94969b5532b399abe55de9ec9f7a347f50a8a3dc5ff672cdb2c3ba8a03e716b38f9ed92e0a8d5649e555316e2b1f523 SHA512 ebe443f3b7d520ff4fefa7760437196239a3538aceba4f887ef51eeb65e6f903fa20ef5d0fd42d70a6f33cb9a50c81c86d7e0f542bcc9b78b4669badcffc54ce
MISC metadata.xml 398 BLAKE2B b9b93abb74284cfbf4adfdf5d78a62dc6d21fa9e33c36d65842aa225b499f2220fed94648e4422eed5ae9f3c93123aeb68965783f3980a6c046168b3cde3657c SHA512 94e42c3c3b2b4d0b0092dce77a564f5e96617ab74aff3fa1ec89344c4d787f06ea8ff3ab6245440c228aa9c7018c96e2e740417dafc1699124f72b0235aed11c
diff --git a/dev-java/scala-cli-bin/scala-cli-bin-1.0.1.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-1.0.1.ebuild
new file mode 100644
index 000000000000..10fc71222c73
--- /dev/null
+++ b/dev-java/scala-cli-bin/scala-cli-bin-1.0.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 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
+ )
+"
+
+KEYWORDS="~amd64 ~arm64"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+S="${WORKDIR}"
+
+# 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
+}