mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-lang/deno-bin: add 2.9.6
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST deno-bin-2.9.4-amd64.zip 43834754 BLAKE2B 4bab6c54af143a8e11e1851eb1c7e03b7
|
||||
DIST deno-bin-2.9.4-arm64.zip 41975714 BLAKE2B ec05892504c54cc1134978289aac740174ea96654f23dd7b3d5bfba57b5b67a62d73c6912389725434fac1c170129e80e888ad65b93a27f7fcc0d1e21ae3bd79 SHA512 730b1e0d11e597c0546e85a680181c886a94cebc4ccecbf61c5745fb33e5427b8d653e26e0f22a36a13349a66e83a2934fff9ab4cd0f3c7123d18f1efc82d888
|
||||
DIST deno-bin-2.9.5-amd64.zip 41638854 BLAKE2B 57c6966b86ca2ff12b75fcfba996408108cbf635a483cfe5ca0b49076ea4f608273d71bfd78993bfacf8bce9e226ef9c5fe649fbda5dc2149a9467a57118963d SHA512 5bd8e354ad19410d2a193dd7194f952c62e3e3301bf087395142bad694d55832d856605e36cdb2e25e88a4a55b0bd75bee26c2b880ee685299eb9d52e121a052
|
||||
DIST deno-bin-2.9.5-arm64.zip 39902077 BLAKE2B 30078a61a9231744a75eecd7ab4fcc7ff4214afdec082071629157dd04e55345a4c9fad4799324e997fdd1a5d633ef5a5ae37b266d299714706ad7e6d9012614 SHA512 78fee4584acb1282fea9e426e34d105dfff876fd2d01e8323af96ba39152b16cbdd38e3dd08b067e9b497de2277185e92c6904f8f9e9380e3775607ccedbf6f7
|
||||
DIST deno-bin-2.9.6-amd64.zip 41582794 BLAKE2B 8d7776b1b7a2145898ed92983eb8c227ba4513a7a46cf5b1a6c17d4243300be77d2928a4600a2bd043ebb42b004423cd5c8c5a864c5c5221bb048375a571097c SHA512 318d415a7a04d9c15cc56a9da3f32c2ba7a474171ec5f6fa429e1aceee2aa096656da2e596390bcb80a4d04df179cb3f62980af0798c57839c8d0b4b40eb02af
|
||||
DIST deno-bin-2.9.6-arm64.zip 39818676 BLAKE2B 9d08305fbb15aac849cb10b3d790d070f91fdb719d1bf3ceab81c54ce576653540be06d83b8ec7c97687b5d35ad24cccefb74c7ec14006d974f6e053bbf25586 SHA512 974489f1967e09801b48ae5d7aa89f86ed8c0cc8eb462646e029b8e068487b759b87115934d7f454605409b18084138c5bf55e5a9e9427c0be3fae9acbc5df6a
|
||||
|
||||
63
dev-lang/deno-bin/deno-bin-2.9.6.ebuild
Normal file
63
dev-lang/deno-bin/deno-bin-2.9.6.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
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
|
||||
|
||||
newenvd - 50deno <<<"DENO_NO_UPDATE_CHECK=1"
|
||||
|
||||
if ! tc-is-cross-compiler; then
|
||||
dobashcomp "${T}"/deno
|
||||
dofishcomp "${T}"/deno.fish
|
||||
dozshcomp "${T}"/_deno
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user