From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1658264-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 34504159C9B for <garchives@archives.gentoo.org>; Fri, 2 Aug 2024 15:33:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E198AE2A8A; Fri, 2 Aug 2024 15:33:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4D98E2A88 for <gentoo-commits@lists.gentoo.org>; Fri, 2 Aug 2024 15:33:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D254E34300B for <gentoo-commits@lists.gentoo.org>; Fri, 2 Aug 2024 15:33:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E5AF1E9A for <gentoo-commits@lists.gentoo.org>; Fri, 2 Aug 2024 15:33:11 +0000 (UTC) From: "Florian Schmaus" <flow@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" <flow@gentoo.org> Message-ID: <1722612752.db35fa2c8e212cf9ab2d5c5596bcc46738c355be.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/scala-cli-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/scala-cli-bin/Manifest dev-java/scala-cli-bin/scala-cli-bin-1.0.4.ebuild dev-java/scala-cli-bin/scala-cli-bin-1.1.0.ebuild dev-java/scala-cli-bin/scala-cli-bin-1.1.1.ebuild dev-java/scala-cli-bin/scala-cli-bin-1.2.1.ebuild X-VCS-Directories: dev-java/scala-cli-bin/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: db35fa2c8e212cf9ab2d5c5596bcc46738c355be X-VCS-Branch: master Date: Fri, 2 Aug 2024 15:33:11 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3d659d4b-78e3-4369-9cec-1bf3fa4a654a X-Archives-Hash: 6d0234ed68258ec6d458b7eeb3c36ae0 commit: db35fa2c8e212cf9ab2d5c5596bcc46738c355be Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Fri Aug 2 15:31:40 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Fri Aug 2 15:32:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db35fa2c dev-java/scala-cli-bin: drop 1.0.4, 1.1.0, 1.1.1, 1.2.1 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-java/scala-cli-bin/Manifest | 12 ---- dev-java/scala-cli-bin/scala-cli-bin-1.0.4.ebuild | 78 ----------------------- dev-java/scala-cli-bin/scala-cli-bin-1.1.0.ebuild | 78 ----------------------- dev-java/scala-cli-bin/scala-cli-bin-1.1.1.ebuild | 78 ----------------------- dev-java/scala-cli-bin/scala-cli-bin-1.2.1.ebuild | 78 ----------------------- 5 files changed, 324 deletions(-) diff --git a/dev-java/scala-cli-bin/Manifest b/dev-java/scala-cli-bin/Manifest index 54a1ae618106..43d2b697dd11 100644 --- a/dev-java/scala-cli-bin/Manifest +++ b/dev-java/scala-cli-bin/Manifest @@ -1,18 +1,6 @@ -DIST scala-cli-amd64-1.0.4.gz 33291617 BLAKE2B bd97626e7e95fb6b2a82fd424673078b89f5f4270087c667193e4de1ceff614076e73b728ba1f0334d5f9d7aa6f52c660487d52bf8fb49a786f7fe4ce18a0428 SHA512 447acafd47041cd173a06b5d113cd30adee76a2c161b2efc98b8ece60082d5b98189fd9b3da1f048061d306343cacb9b67566daa78ce8fe54dc82dd90a1e34bc -DIST scala-cli-amd64-1.1.0.gz 33673708 BLAKE2B 332f5a974949af49914de8fdb3129b0937fbce842616d6fefe16f7aff89baf6be1ba536d0ee6ff9bc1dd2b5ebfa51943bd0c6279ef83b95bd25a337530fa1295 SHA512 ba7ebb321a27e95f786027257c3f50dac1d12e0cc33abde24dc7c5dffb2f57a11c3ea67d92ed487968c49ff9ec3eaf5d1d62065beda5b6fa373d09b9126f4529 -DIST scala-cli-amd64-1.1.1.gz 33754319 BLAKE2B 91fb5e9b828a2c6c6dd984b421bb101ea1ae03c85d94eda14ba79433d29a88cb2850cb376c212f677c1b8167a0a21b320aeb0e4e63a29e6c8502d76babc1543d SHA512 1e0cd5eee280e208090961e4b6d216d472fef360f13e0f4e28412b9a52883d65c97e3fe70c8ce5cf96e6cd866f14b175454175be9df3bdc5c229fb2f121c925a -DIST scala-cli-amd64-1.2.1.gz 33851353 BLAKE2B 31c92901f970ec2c0a74cb45d94b98e6d8f282c175cf8deb1a806db4b6d2e9a8b2150bca9fc9e373948e5092bf4bb7d5d1145a133d3b1c234d3cbe383ff9a270 SHA512 169c81bee582c6144501e8bd5436bae0bd3447ed89856a4d4763d13d3083ad26d948729b71bea864986f2c676e50855b8fb036d3a69ed0a316e2c6af0f98ef5f DIST scala-cli-amd64-1.2.2.gz 33871512 BLAKE2B ef9328b26afb52ada07739539d560239d6ce2ffd72d1e353ce94d45c7358b6789aa0019804e249584ca497d5d15c96caab12eb31fab5b84a14162c00ca30c181 SHA512 02da0915ee140a129f622f973291c98c7dd7b7f16f5a2a5250ac825e09876b616a315fe5e6af43691f43870fa68234efeff73eadd4f6060d2d90fe937302eae7 DIST scala-cli-amd64-1.4.2.gz 34238180 BLAKE2B 90cb8af5561bf5324e4fef3183b301d15839ac188f8ba7154e65306333d765429243591fc17a33f48e4b8a48c43034782643ba4014bfed3719c5037805c58878 SHA512 12ff3eff0117df6d9ae526203724a8261150fbd5436f61beeda33a5f4292b7a71196e2ee762d4e005f827ac2f104d3c5d2a657abc0a63a2b66e526d18ef2887a -DIST scala-cli-arm64-1.0.4.gz 33185346 BLAKE2B 2b0131a56ed3f67fb5d5f25db6c511dc7d9e9128089e6826fa7d859b1457f03a99e290cc63f185820ea849a857f40d667d5db7a378dabcf545cdcdefded6a577 SHA512 3ff1c025a1035aa6a8550de17e85bc5c483007d5f07f03e0d792d6dc9ed1b18eb26909b3c7195fde12056a3b84ffa69dc53c01ec21b34187c1d7188a0a023aaa -DIST scala-cli-arm64-1.1.0.gz 33575885 BLAKE2B ebccbe86044b4708a356060a16f06bb94df01d261ab7dabe8eba8e644c121864cdee99debf95468d936cbff670413ec47e1ef903a9071b267a61c5fe46738c1a SHA512 6a85529be06a8d43d729c5a795bb0dcdb2680bd7ef3de471fee908e91249401262e8322019c640d4eb45d0a15ed0073ff51b24d61846228f46c36bfb48731408 -DIST scala-cli-arm64-1.1.1.gz 33656505 BLAKE2B b943f370c9375fec5cec3c63628ecd9e416b569ec2d692422f217b2506c104a1c3bb415569581d68c9476bf892b4a087e7b95b2310955dd0f9af52edc90af2e9 SHA512 79836261613bafe4710c1d904ec39e88c1862b3021f7b37ac5004c6079c762e68550522fbb7240e48e7408f844f648ab92c12cb568ebc63bb3e01f1992a7eaf3 -DIST scala-cli-arm64-1.2.1.gz 33769006 BLAKE2B 4bc2c830d17e235a3eba7029bfd018ee4cd12f8ee27a3574b1c2195ab8ad22b79c452a0660fb55f1be99a610be1f4ea38f8e2de622f10277be7f5403b540778a SHA512 90a8f6b4ae2fa90dcdd3c88fdbbd1079db1cbbde80f496da8663223ad79dc4b499b6ae43835067d8fde945d4fb5ed079dec850f688b9d1b62602d186d426f7cb DIST scala-cli-arm64-1.2.2.gz 33766128 BLAKE2B d5b2d7ab8157f3874b1cfe0b0647ab30f5dd191337e575056eb758d52eda30871c54b20a08a1cda3e28c51afd744b4b8320aee6aef056b39b98f2534184739ba SHA512 004ca188e4ddd01c0e46277fa514b1c9bd061ea26d4318b8daff3ffaae5bb7cc9f4746509401da19774537c7e56f8a5a7da846cd4b5f90c61a3ab1f8d3ed0493 DIST scala-cli-arm64-1.4.2.gz 34142373 BLAKE2B d7c2d87503e0c8916902e293d5d16e59b7ec80c942b72307667a0e8c16635e4d2e9839bf20a4284a1ffaf2eef001db4801bdc62afe9600babd1abd915783ba09 SHA512 10dcc3991d4e9951d688f907da38683701f8ff4784e86dcd1fd7441c79f70bdfef7d8022d98e247914800312b4eb37670a99059f77c045fd66f6d34e92179e5c -DIST scala-cli-non-native-1.0.4 7553232 BLAKE2B 9299b20dddec80d12e738af4b283e816de5bae23262510146cd33a9b175f2a343f52932fbd3254974bd4219d2903f32772409f234423d3a027b6b0f02268e584 SHA512 4e5281ef7f8a886ad79746477d852f485ccad317568a64ee513e691dcd9a9121c2aed51f6170b959f0226fb81efe9aa1f8ecf1d94a84a0b387c349adfb756762 -DIST scala-cli-non-native-1.1.0 7728727 BLAKE2B 05deb93b91029721a21bac729aa9b370e05909e67bbade921e00d09c3a37e851e519188bff73dc614c3f5768834ae56f94623347735e756a6bcb0c4c81c8713c SHA512 13e426915794df757b6eb029d2545316bd9f4b9ba6f58cf59a546227d6997741cf681ce0c5e721e8e95cb9e420702f2d28f004df1780637dc9b39fd3bc4c884a -DIST scala-cli-non-native-1.1.1 7779964 BLAKE2B 08849ce4a6fbf1e6eb2e4fafd2e29522e535c0795d6f1acbcd25ec4523d14dcae4a746f3729786db8f62a3770e6fdbd78a76477b182b32945454ac19a2f8217c SHA512 61c2a1a325f83e19102cd2f5d6b89d37b9914d64f86da6218258f064a6a8e5ab927d28b278363316446611e2cbdc8e4687616ea2b001da00ecbafb4207eabeb2 -DIST scala-cli-non-native-1.2.1 7836408 BLAKE2B a7c191020a65a4420ef7cc9d8fe5f9c6d1548c1cfb14dea94c0d9a798f608c038083bb678bd1a4fbdc9bd3de58f02a11e970cfebec4ac755f7f12af21eeb4dbc SHA512 d889ad3fa96953423fc1d948b6e260f55ffc4234d6e9da05299afe0a6cbc2b66c42a7a65113f887d1bf41a699679d09e02aed6686150551d1e1171d7c1c7331b DIST scala-cli-non-native-1.2.2 7837019 BLAKE2B 799ed83805ba767b687cf9a041a3e23f008e20e3ca55b8c52a9361c0b2465141abb7c17ca7dca59c9307af5a5a07a0cfe0d8035eea14a2adf2580913d67d6a10 SHA512 40aa43ee601c52238989a81884b6acc7a023599abb561bed1c9d31dff6053eff0f3477097a228bc30aab4df22d81b10fbbb64b5557d3067b4715c821c4eacb3e DIST scala-cli-non-native-1.4.2 8004132 BLAKE2B 5254d25395080a26598bb4445c2200100b1c511e928774d5d52f5174b43d3fd9cd2b58ae97033a25e45495273bbf0717abccccbe84c5d4a8bb70a3c9f42f5b7e SHA512 002d052ec4b2409ede4da6cfda86ff638534d702a934d679aac0d18dab4c6c69ac8d9d8e67a8e9a410af8c8d0c19f1c864247b0d790e6f040976f4fb3dcabfe5 diff --git a/dev-java/scala-cli-bin/scala-cli-bin-1.0.4.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-1.0.4.ebuild deleted file mode 100644 index 67f4eefef2f4..000000000000 --- a/dev-java/scala-cli-bin/scala-cli-bin-1.0.4.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# 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 -} diff --git a/dev-java/scala-cli-bin/scala-cli-bin-1.1.0.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-1.1.0.ebuild deleted file mode 100644 index d73c7e68ad79..000000000000 --- a/dev-java/scala-cli-bin/scala-cli-bin-1.1.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# 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 - ) -" - -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 -} diff --git a/dev-java/scala-cli-bin/scala-cli-bin-1.1.1.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-1.1.1.ebuild deleted file mode 100644 index dc0659cfd5ec..000000000000 --- a/dev-java/scala-cli-bin/scala-cli-bin-1.1.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# 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 - ) -" - -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 -} diff --git a/dev-java/scala-cli-bin/scala-cli-bin-1.2.1.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-1.2.1.ebuild deleted file mode 100644 index dc0659cfd5ec..000000000000 --- a/dev-java/scala-cli-bin/scala-cli-bin-1.2.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# 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 - ) -" - -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 -}