commit:     537b6d9d0a4c70647c9ded970a13b401f247ff23
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 19 17:31:55 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 19 17:52:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=537b6d9d

dev-lang/deno-bin: add 2.6.2

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

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

diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest
index 5c1fea695a3f..c92b65055820 100644
--- a/dev-lang/deno-bin/Manifest
+++ b/dev-lang/deno-bin/Manifest
@@ -4,3 +4,5 @@ DIST deno-bin-2.6.0-amd64.zip 46636175 BLAKE2B 
bf7c4283035382c9bd644c2e7df53bde8
 DIST deno-bin-2.6.0-arm64.zip 44728511 BLAKE2B 
1b128d61f3917244bb7ce441954696f2b583330ec804b8b17e2a678af39d7991cb61a2fdc1c178a317920a5505b3f72ec754477acfd6757cee702a04a920a178
 SHA512 
deb8d9f93d114637d2b073a5342d74a62d2f1a2096dd4c5d05d0177529798456a9154c370d17c36b744776b7d330b26379d089fc0e53876587e81981d74be738
 DIST deno-bin-2.6.1-amd64.zip 46649294 BLAKE2B 
d4238985d0f3bea145ff7e21a8c5066f04fd1d66ea9141a87f381a4173947aa42c6960abc7d85303a8c7b42e8d9f3726582cc1a9d86fdfa51c5f92eeba926b50
 SHA512 
8a179536f8bc6efca0df82505bfb9435d5bd6d636dbb717c12bd2ed43e99180e1cf24627655415a86404b5fbd97b41279ca0afb1e5d6b4cdd4d356c1818be2ff
 DIST deno-bin-2.6.1-arm64.zip 44736082 BLAKE2B 
a9b925b033040be49a6bddd3713a32bb212e3193211c9276e2c4835a65e278fabba80cbbddd71c862da6906e2e0e226683a90bb98a16e6bc28170b98e2f8b3cb
 SHA512 
ba3c8d8187f9f85b8aef06e97762fdeaa6af5c782208478cb438ebc807b3e19a705f8f3b212b664ff9f21e2423e1fd8b55eb70cc8700d1ecde907f3c646fb97f
+DIST deno-bin-2.6.2-amd64.zip 46451063 BLAKE2B 
bfd7ee63d616545f398f5c3299c494176ba0d983d55f18209dbb399d78100b75a1ef85d58b674774540540407c06823ccec909bbb1a2a2fce0c47a2c1ebba1da
 SHA512 
715d6afc42e4e3af6774d45486d2c9b3d2ffebebc41b367f390f6f37b5f310222c432010c4b7fa953f1f5de1eb96fcd3a33bd9f5e0f51aed5e3044682c42ee0d
+DIST deno-bin-2.6.2-arm64.zip 44531004 BLAKE2B 
946d14637db89e3b35573c8f78dc55bfcf0ea426c4401361360c13f9f4f2cf80aa51d36fe586a7eb29d802704ebf2f124167142ed21f53b16ca83871d72bd3c5
 SHA512 
888bae468186de3390811b32558a96c8a536521099898f94eec359d31c0f9325f56ee6799added0db1a158a783c8809fc2fbdd5178ad5bed2aa30462b5f28f2f

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