mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/deno-bin: add 2.6.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST deno-bin-2.5.6-amd64.zip 45849694 BLAKE2B 14ef415242185f2c62887bdb6017562ec
|
||||
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
|
||||
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
|
||||
|
||||
61
dev-lang/deno-bin/deno-bin-2.6.1.ebuild
Normal file
61
dev-lang/deno-bin/deno-bin-2.6.1.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user