diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 56780 -> 56777 bytes | |||
-rw-r--r-- | dev-java/scala-cli-bin/Manifest | 6 | ||||
-rw-r--r-- | dev-java/scala-cli-bin/scala-cli-bin-0.1.20.ebuild | 2 | ||||
-rw-r--r-- | dev-java/scala-cli-bin/scala-cli-bin-0.2.0.ebuild | 64 |
4 files changed, 70 insertions, 2 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 14a6165ed5d4..cdc6b76fbe15 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/scala-cli-bin/Manifest b/dev-java/scala-cli-bin/Manifest index 310a237eb985..36c2c47192c0 100644 --- a/dev-java/scala-cli-bin/Manifest +++ b/dev-java/scala-cli-bin/Manifest @@ -1,5 +1,9 @@ DIST scala-cli-amd64-0.1.20.gz 32520802 BLAKE2B b032e7ed3c5e340e03bbddde6b00289da7f7a7017266cd6f6b1500540a5c81d453180a88e11b3590a26e2188cf2206ac6fa4089b9f85cfce5745a7b15a5b44ee SHA512 a08632992fb9bf811f88b267ef587de673a5f59b5ba0e1d6b49aaf4057328cd738519afeb7f76a96ef569376b3d34dc11f4891729b5cbd900b0d8b348a0f3566 +DIST scala-cli-amd64-0.2.0.gz 32589377 BLAKE2B 1eebcf83a12d4aa0f981895b8ae8d5bea3d17ac02282410aff9c02a961cf305d81ebe19422f0d96c5e8246c51d0702c352d23900e690b774550a9720246c3c08 SHA512 50617a5006b738612f234e7acc5be9d7012cb525b2548286585c11d9ac9bad6f8711a41cb1210b50089709f5765ebacce27151420fa5922cd58496fccb9bc11e DIST scala-cli-arm64-0.1.20.gz 32342696 BLAKE2B 54189891dce54d09869e5a0800683cf53e5613bb9ac74c137dbbbbdfea4e06f4a35dad07ec97db81e69a9fd704b1f44bda8b7466bdddaf9fdab07ca0a051d91f SHA512 040d287566f06b4d14a58cd9340ac15d8afa124d536053c0ee13db6d64e463162f7f2556004d593381377cc73b3a9075ee688937de4591fe6aa4a5cfe5121808 +DIST scala-cli-arm64-0.2.0.gz 32460836 BLAKE2B 742848e3125886ffc49d3972efcc8087967457e9fe6a1fead0c12a263136da0da654e30d97e8d59ac9aa3b016126a969e4e70e2824aba628a685baaa82369fbb SHA512 61a3b3a45c73041d210ba483bc8eac19d4aa518de7342d7e96c2cb24cc2e9b22a4fb2da2e65b6dcf0dde8dc4cbef565c607ee8339090e4efa2161e6c5b13b35f DIST scala-cli-non-native-0.1.20 9239916 BLAKE2B 15d45ecd9b20cb5184626bd518b373e4ba12948b6fd14c11a55923118aa0e690ec0ffadd64c613a206555c3e2fbb580339c8b3cf3b9e039aea04551d5ce4f238 SHA512 1f7c8d22ae94bf79cd6d139ecbf4d73e2009a3ad727404051716e531271e01c31b252174e9b039bfcffa997d6ab9f18f0e30de7834de8f92ddbb0ad140a572e7 -EBUILD scala-cli-bin-0.1.20.ebuild 1612 BLAKE2B 4ea600f7a807c946782925ba0c0e42f27472eb4b9be844f14611defbf12a051bfc6550f69d17b621d5a195373864a76c93507b955ee1a982900f2d2febe474fd SHA512 9d5e7978e7de708104eceffb0044de24720e5f49487107ff5cd0e7502f7bac75017400c4abc3e17e90132fe30b75806d643fccc58f99c9bb50eb70aacf2acd55 +DIST scala-cli-non-native-0.2.0 9395272 BLAKE2B 02236a18c380037bbf06649d883cc38af2f0bd4c0428838d6f551dd37a937c58e83c1ca6dc41b4052bb4e146b322d59179e2f81fb9261202003bbfdfb1f5de37 SHA512 fada2760148718d52a8b7b196479a4b5baa37275a525c1fbecc3cb039ef7e81952fc73560abd51fda6fc7a82bdb37ae2b502faf7fe43e406ac4cf7010ab617ab +EBUILD scala-cli-bin-0.1.20.ebuild 1611 BLAKE2B 03a936018b30454111c132d9abf8ffcf59763d8c6243fdbf5c6dba6666b9f0f4c36c27683eb6566296d7d75a9d155c15c99aba1005163bf0153729ca6605dbce SHA512 59d929209a7735b90e91d3943aff185b7e62da677bc0739e079b6a75bc1773f526b3d4ba15f22ff8bba5f2b03b6168806e7c4c1ecb9cffee3c11a857f22378ce +EBUILD scala-cli-bin-0.2.0.ebuild 1591 BLAKE2B d80d257a16c998835d352e6f89930d0187ba1c11fbbf2f7f40ad8677a26197ef70ee7d682989f24cff08cd3913c17e2576526019f07419b7ba278817901f63f7 SHA512 0f23b81ba48685446e6595432159d3098f2b492595a75157c99598d58bc331fb93b61375c33490e1d5098cb35037bcf9445561727c37657a0878ddb83734a4a0 MISC metadata.xml 398 BLAKE2B b9b93abb74284cfbf4adfdf5d78a62dc6d21fa9e33c36d65842aa225b499f2220fed94648e4422eed5ae9f3c93123aeb68965783f3980a6c046168b3cde3657c SHA512 94e42c3c3b2b4d0b0092dce77a564f5e96617ab74aff3fa1ec89344c4d787f06ea8ff3ab6245440c228aa9c7018c96e2e740417dafc1699124f72b0235aed11c diff --git a/dev-java/scala-cli-bin/scala-cli-bin-0.1.20.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-0.1.20.ebuild index c2bab1ad0205..07adfc4db021 100644 --- a/dev-java/scala-cli-bin/scala-cli-bin-0.1.20.ebuild +++ b/dev-java/scala-cli-bin/scala-cli-bin-0.1.20.ebuild @@ -13,7 +13,7 @@ SRC_URI=" arm64? ( https://github.com/VirtusLab/scala-cli/releases/download/v${PV}/scala-cli-aarch64-pc-linux.gz -> scala-cli-arm64-${PV}.gz ) " -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" LICENSE="Apache-2.0" SLOT="0" diff --git a/dev-java/scala-cli-bin/scala-cli-bin-0.2.0.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-0.2.0.ebuild new file mode 100644 index 000000000000..b98ba9d709aa --- /dev/null +++ b/dev-java/scala-cli-bin/scala-cli-bin-0.2.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 + +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${PV}/scala-cli -> scala-cli-non-native-${PV} ) ) + amd64? ( https://github.com/VirtusLab/scala-cli/releases/download/v${PV}/scala-cli-x86_64-pc-linux.gz -> scala-cli-amd64-${PV}.gz ) + arm64? ( https://github.com/VirtusLab/scala-cli/releases/download/v${PV}/scala-cli-aarch64-pc-linux.gz -> scala-cli-arm64-${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 anways so that the +# chances are less reduced scala-cli needs to install a local one. +RDEPEND=" + >=virtual/jre-11 + sys-libs/zlib +" + +QA_TEXTRELS="*" +QA_FLAGS_IGNORED="/usr/bin/scala-cli" + +src_prepare() { + default + + if use amd64; then + mv scala-cli-amd64-${PV} scala-cli || die + elif use arm64; then + mv scala-cli-arm64-${PV} scala-cli || die + else + mv scala-cli-non-native-${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 +} |