mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-lang/deno-bin: add 2.7.14
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -6,3 +6,5 @@ DIST deno-bin-2.7.12-amd64.zip 50266215 BLAKE2B 3444052eab45485ae6ad598662826cdf
|
||||
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
|
||||
DIST deno-bin-2.7.14-amd64.zip 50293548 BLAKE2B b54b08e7ee7314419b72b7beed98b9b37634cf989e6fe5663427ac6b12a14c2c945f3d10264b3c3d84c2c5f7394fd5dc7d3e09bcc6d0e7685301d6ecd78ac36b SHA512 a71791569611ac72657ad8179ee0c6ded5494a5bd465a1dcdb52d449404c34806833ee0991348ea9590f9f7bc7e65de1e118bc4b93839b8b7f82cb625c73f26d
|
||||
DIST deno-bin-2.7.14-arm64.zip 48269059 BLAKE2B 9a7970b182a9fbfa88284e9340d7726ffdfd639fd176b23be5c578bd357b8b466dbd933eff225d996ff634d6556ae1d11d5c9ae970d2c9b2b086b67ff6bf7483 SHA512 b0cb37e21172fa7a2c9241d858d09091b970061dfe03dcd3d27c4c30b03f9a96205f0602b086b6be847cac004bde2d723dfd01a83b89074a7e9c3ec0e8a158a0
|
||||
|
||||
@@ -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