commit:     310faee219f44ab5f1c2eb2a003285f067e7326d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 30 06:36:08 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Oct 30 06:36:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=310faee2

dev-lang/deno-bin: add 2.5.6

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-lang/deno-bin/Manifest              |  2 ++
 dev-lang/deno-bin/deno-bin-2.5.6.ebuild | 61 +++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest
index 4eebd26b9f38..7055177542d0 100644
--- a/dev-lang/deno-bin/Manifest
+++ b/dev-lang/deno-bin/Manifest
@@ -2,3 +2,5 @@ DIST deno-bin-2.5.4-amd64.zip 45663234 BLAKE2B 
a50492f33245a3f3dca71a6c56beaf566
 DIST deno-bin-2.5.4-arm64.zip 43820162 BLAKE2B 
ddc22393ea01155403d578523b67397a0ccba127275d252cd55a2fa00c5e243d9e29381d5503d4204b470341f74ca7dd5cb7965bfe88c049f112930ae9fb90a0
 SHA512 
ee928b71580eb5ef482b36852156bab6c23ead164da19a8a7779487d23bb934efa6f3aaa7f0b954621b1dabe5ebbc87274637457b3b0be838da5ca405fbb8f2d
 DIST deno-bin-2.5.5-amd64.zip 45859537 BLAKE2B 
d02919ca5b97b0b9c17073974c4bae039c6c3fc0835cb25443b1763f6949a1fe68332fbb3bbf4dada3f63bfac471394008a50195e15033968b83bc2563476230
 SHA512 
c634acd0b3a216f052c73af640d083b22e78f70d9689d6c101a98378b67125ad6ff07fd5bcf7c9d378e2935123a89b072ad0fc65d2deca2bc8ea8a4114462a81
 DIST deno-bin-2.5.5-arm64.zip 44002126 BLAKE2B 
efa1d137d46574f61f9c4bcf69056554c8682690ae6c3201f9ba28c10370b07ce8c30e98e38b53c44e8bb62e58fdff259470b18482e909147cbdf85ecdf33c95
 SHA512 
08fe1ee09962d7effaa2e8cc5e90e9417775e11b25fc6ef7cf18ff30805d400ebc4c16e78b2badfaa19ee01fcabcede4ed8bd7ab251b49250a16e079e6e43b42
+DIST deno-bin-2.5.6-amd64.zip 45849694 BLAKE2B 
14ef415242185f2c62887bdb6017562ec68f1e0b63efad8622d5a1805a3464294c4b21f30438d9e5687decd0abfb07a1ce6bd90f8ab98d0537e66af8d62453c5
 SHA512 
e0e6a0e88773bf95e9381cdbac7386d14d58fe464c837e98f2f873e45725be63e6869c64a4851a7ab9898f85421c60dd888af55b434f30cf2a3b203117658f0c
+DIST deno-bin-2.5.6-arm64.zip 44002968 BLAKE2B 
70432e00964444123c9b17120dbecc01c314ec6d6e000c18b2368488b88c27d310e3c7cc2f378a29dc2fb248c14549bab9cc95a49ade691be1d2953260e06751
 SHA512 
9ae8bbcff1580f66a766a27ff20444e7b2591b431b474cfb178b6ed369cbd7f24814b48e52378d8b7370f65488a9708692bf3af32a8b79622f83ea19fef45b7e

diff --git a/dev-lang/deno-bin/deno-bin-2.5.6.ebuild 
b/dev-lang/deno-bin/deno-bin-2.5.6.ebuild
new file mode 100644
index 000000000000..0b12f20f50f4
--- /dev/null
+++ b/dev-lang/deno-bin/deno-bin-2.5.6.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit shell-completion toolchain-funcs
+
+DESCRIPTION="Modern runtime for JavaScript and TypeScript"
+HOMEPAGE="https://deno.com/";
+SRC_URI="
+       amd64? (
+               
https://github.com/denoland/deno/releases/download/v${PV}/deno-x86_64-unknown-linux-gnu.zip
+                       -> ${P}-amd64.zip
+       )
+       arm64? (
+               
https://github.com/denoland/deno/releases/download/v${PV}/deno-aarch64-unknown-linux-gnu.zip
+                       -> ${P}-arm64.zip
+       )
+"
+S=${WORKDIR}
+
+LICENSE="MIT"
+LICENSE+="
+       Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC MIT
+       MPL-2.0 openssl Unicode-3.0 Unicode-DFS-2016 ZLIB
+" # crates
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+
+RDEPEND="
+       || (
+               llvm-runtimes/libgcc
+               sys-devel/gcc:*
+       )
+       sys-libs/glibc
+"
+BDEPEND="
+       app-arch/unzip
+"
+
+QA_PREBUILT="usr/bin/deno"
+
+src_compile() {
+       if ! tc-is-cross-compiler; then
+               ./deno completions bash > "${T}"/deno || die
+               ./deno completions fish > "${T}"/deno.fish || die
+               ./deno completions zsh > "${T}"/_deno || die
+       else
+               ewarn "shell completion files were skipped due to 
cross-compilation"
+       fi
+}
+
+src_install() {
+       dobin deno
+
+       if ! tc-is-cross-compiler; then
+               dobashcomp "${T}"/deno
+               dofishcomp "${T}"/deno.fish
+               dozshcomp "${T}"/_deno
+       fi
+}

Reply via email to