dev-lang/deno-bin: add 2.6.0

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-12-10 17:51:32 -05:00
parent 3bac5d602c
commit 423e0627d9
2 changed files with 63 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
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
DIST deno-bin-2.6.0-amd64.zip 46636175 BLAKE2B bf7c4283035382c9bd644c2e7df53bde82af71daf21dc0e0f3ee4e49552a0a7df52b895bb0e7c50918bea000dfff3fefd89c9c33f90c8c9945ac6f10c4c16b4c SHA512 942772290d54625f8add6f71e7224c21cd4810da8b840982c77b2a8894f3c240bc69ec0aab442c75a7a64c367bc52370d55d452d56532e46ae555b8b23065316
DIST deno-bin-2.6.0-arm64.zip 44728511 BLAKE2B 1b128d61f3917244bb7ce441954696f2b583330ec804b8b17e2a678af39d7991cb61a2fdc1c178a317920a5505b3f72ec754477acfd6757cee702a04a920a178 SHA512 deb8d9f93d114637d2b073a5342d74a62d2f1a2096dd4c5d05d0177529798456a9154c370d17c36b744776b7d330b26379d089fc0e53876587e81981d74be738

View File

@@ -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
}