commit:     a5e4fcb09cc2cad6646e67e18b094d35d0f42ebc
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 28 20:47:25 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 21:17:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5e4fcb0

dev-lang/deno-bin: add 2.5.5

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

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

diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest
index 2536cc79f865..4eebd26b9f38 100644
--- a/dev-lang/deno-bin/Manifest
+++ b/dev-lang/deno-bin/Manifest
@@ -1,2 +1,4 @@
 DIST deno-bin-2.5.4-amd64.zip 45663234 BLAKE2B 
a50492f33245a3f3dca71a6c56beaf5664d960908f48ee5b0456f7cd0a470ef31e34da26a26c701cb6d4e67ec556592d6dd28eef2af9298b8cd8c252b6233526
 SHA512 
be39278813e37f2d2403e1a5b3ee6ea524e94ed6aa4da9f777a2a10ad1d3821e7f9367ef10619feae870addad2a5ff5fd0d149a5b4d4b7bf5a7bc22ced5e3ab8
 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

diff --git a/dev-lang/deno-bin/deno-bin-2.5.5.ebuild 
b/dev-lang/deno-bin/deno-bin-2.5.5.ebuild
new file mode 100644
index 000000000000..0b12f20f50f4
--- /dev/null
+++ b/dev-lang/deno-bin/deno-bin-2.5.5.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