mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/deno-bin: add 2.7.13
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST deno-bin-2.7.11-amd64.zip 50430922 BLAKE2B 71da6eee7b2041ee8e1bdb8b39633dff
|
||||
DIST deno-bin-2.7.11-arm64.zip 48399753 BLAKE2B f9570bc4b87f75c7795408026091704f4e0c44db9b7a164b65344c8c38b0bc352175d66b9ed93bf4ab43d9017132a830158cf1737d56fe3c0def5b5208b50961 SHA512 6073d923c72732838d032dd3ac0e60072d95864c3d6962b40e0a99d575217bfc5bcdfe8df912e1e7e77db3f846bc5bf7e5d1b8de3de480331c1e269359cc15da
|
||||
DIST deno-bin-2.7.12-amd64.zip 50266215 BLAKE2B 3444052eab45485ae6ad598662826cdf824267874dee684815c14b886b873509b083c4a293cbada8b50381ddaabd05f46fb212aae1fb38d34087d1fcce10d09e SHA512 24686f4c8ac65941196e757b41e5fd2883a22b35d9c2f10715dcdc9efb44674a5ae3257c60b27a924081028856461959921f33213049d5dcb3bc561212b63329
|
||||
DIST deno-bin-2.7.12-arm64.zip 48245311 BLAKE2B a2205a101bb1433e7901fcc2e8f8632f28a9e5ce0587be86a15d350079a23e0894020ae84fe8d4390ee85b27e34b3eba3ce1f018fabd42e10e59c2d9cdee5b29 SHA512 49a6de72ab85b18ce7003c472968e2ff01b94f5b415d5f3b9f5dd71eeba0c99a0c943f14aa50e41ea8f920b7721d0e844757b1842b712427cd31712a53c315b3
|
||||
DIST deno-bin-2.7.13-amd64.zip 50156222 BLAKE2B 728476ba61580bbb6f1d8006e9eec100a13c5873dc6cb22ae3176bfa229a8cafb802bbf86635f0603f481c6be91acdac497a07d95444d88372fd44108f7224a3 SHA512 e2ff148c0288d5940c382fdccf9bb6ed266a1d675f8b82a3d1c2ed6c0a6d10e72c08fad2f896b17bdfc73954b633ac193c351b46aef119a0c4c802b8e7f2b957
|
||||
DIST deno-bin-2.7.13-arm64.zip 48143972 BLAKE2B 0296d73ef04270a9d7e34a72066a38558f95ebd51b74a936d29d42e471f7b60e8194486cc8a5f255cc07921b7586ca7cae11269cbfb2a53929937816ee614439 SHA512 c03f19df7cc85cf8d510fc86619d812836be4dc43d361c43cb02a0ec7d2e8208be9b7ea22e8d769c2799f846727aa8b2b990cf6185ddfa91bc1bc8567d999c8b
|
||||
|
||||
63
dev-lang/deno-bin/deno-bin-2.7.13.ebuild
Normal file
63
dev-lang/deno-bin/deno-bin-2.7.13.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 2025-2026 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
|
||||
|
||||
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