diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-23 02:57:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-23 02:57:53 +0100 |
commit | 24c53d42e0294f4f6e36fbb051891af86c9ae503 (patch) | |
tree | b0af743b9df96807807fc6a16e77af239820b0c3 /dev-java/scala-cli-bin | |
parent | 351b26cfd42c558fa0f8eef51960c87bb0674026 (diff) |
gentoo auto-resync : 23:05:2023 - 02:57:53
Diffstat (limited to 'dev-java/scala-cli-bin')
-rw-r--r-- | dev-java/scala-cli-bin/Manifest | 4 | ||||
-rw-r--r-- | dev-java/scala-cli-bin/scala-cli-bin-1.0.0_rc2.ebuild | 78 |
2 files changed, 82 insertions, 0 deletions
diff --git a/dev-java/scala-cli-bin/Manifest b/dev-java/scala-cli-bin/Manifest index 10097e0124cd..fb9c03958603 100644 --- a/dev-java/scala-cli-bin/Manifest +++ b/dev-java/scala-cli-bin/Manifest @@ -1,9 +1,13 @@ DIST scala-cli-amd64-0.2.1.gz 32642273 BLAKE2B f30dde2a5408032942e5676b0274473fe0db6ccab9e74830c33fa37a8283438cc848fda15d79f076be1eeb45f0463769acc4f82b2e0fc4a1c0e141c9df40d502 SHA512 773206656b35dea9312f8c8a2db6cd98e1a7c0d03840f661185f276b69dcc1dafe699e1db3cdfb9fd2891fec56cc6ad1cf03e7e53761afd9a1f3596fae31e05c 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-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-non-native-0.2.1 9468051 BLAKE2B 9a9b5694261b769fafa3f3747f5e83869324e341f264dbfa463382e217acd5a2c994fb6e67e9e36175d97520938a40add424f5e9a77c62056eec6a828d4ea61a SHA512 547e9786527b7e7d34f4f912a6b9ae0c8f15eca3aa90f11f704283c63e5105363464f1e81f6dbb363fa71fb17e3e48b4db86e70f3b37b5059c40c02cd47382f5 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 EBUILD scala-cli-bin-0.2.1.ebuild 1641 BLAKE2B 8f094e68df52f08f595062921dd6c9af50016b3600dec044967edeb4243d454d0584b7ff38becfb746a80155b1e927b934671a72f336cc7eed1e91bf49c4a144 SHA512 f548739c257c342a93ced58358781d809dfa3ddc759a511a01ef17c3a26a658e3863425f59922a7f4636b07b3b7a490bd5d7b66a6fae4fb693f4a2e3ac52e1cf 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 MISC metadata.xml 398 BLAKE2B b9b93abb74284cfbf4adfdf5d78a62dc6d21fa9e33c36d65842aa225b499f2220fed94648e4422eed5ae9f3c93123aeb68965783f3980a6c046168b3cde3657c SHA512 94e42c3c3b2b4d0b0092dce77a564f5e96617ab74aff3fa1ec89344c4d787f06ea8ff3ab6245440c228aa9c7018c96e2e740417dafc1699124f72b0235aed11c diff --git a/dev-java/scala-cli-bin/scala-cli-bin-1.0.0_rc2.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-1.0.0_rc2.ebuild new file mode 100644 index 000000000000..10fc71222c73 --- /dev/null +++ b/dev-java/scala-cli-bin/scala-cli-bin-1.0.0_rc2.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 +} |