mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/deno-bin: add 2.9.4
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST deno-bin-2.9.2-amd64.zip 43926976 BLAKE2B 2dcffa3cb8822cc15f87b8aba72d1bf30
|
||||
DIST deno-bin-2.9.2-arm64.zip 42088401 BLAKE2B fb0dcfafb0aa08970a8508f1a010da2c47d1e8cab141be995937c16caf64c489fb7eea84b91ca269a84304ec7005e940f2b18ba42b7da50b4f5eded1fe21bc9f SHA512 dc80ccd5b8a7918d2adf40acb7cd850543cc13eabc363f0d2ece96aa4d2e211cc8060a1a2b6bc5e92c905ff52bca03da36cfa98ad8ec62745287582ec9e0a6f6
|
||||
DIST deno-bin-2.9.3-amd64.zip 43946833 BLAKE2B 218260d553cb48d307fe966d094a473ad7228cb5063225920f671272f73fe2f60ca9e6cb4b0dcdf3010c6f8645db549cb6cb3818666ed675a82d405e67684a4f SHA512 9f69882b7172186ff33039c6f90a63a8a7d514046806f3b2f055dfaa5a0e3c7162dade3b5884bfd3fe5f0fd83e1ecd853862b313d0f5734e9c55ff1d519797c9
|
||||
DIST deno-bin-2.9.3-arm64.zip 42101188 BLAKE2B bce9b2b85fd45542a9979d27adf1aaded853496df9afe12e52b28a831118ab5309acc95a368be941103879cd5dc9d749fd5d28732f3f94efa21ba469dddf0ad0 SHA512 a6c2b94c5806a6e8904a9c123566855e5c8937492c0b836de8106aa18a4e23bea953da654987ea7a976765b40921779cf3cfcedd42e0c362cc3d6533875aaa8d
|
||||
DIST deno-bin-2.9.4-amd64.zip 43834754 BLAKE2B 4bab6c54af143a8e11e1851eb1c7e03b738e9890f0de601a974217c5f11dc8b4d32b346eba7b9d8129a426717dfe8df3db71277c0577ccc9bc427a14e26ecc55 SHA512 b56aa469c0f5cdce2d1e007cfaaee71a652993bb6e0e1570b744ba1b22676b6f6d487e50725f1f70ac4c3ac2ab689b74b613b249ab3a47e48e694a6a18fc0eb0
|
||||
DIST deno-bin-2.9.4-arm64.zip 41975714 BLAKE2B ec05892504c54cc1134978289aac740174ea96654f23dd7b3d5bfba57b5b67a62d73c6912389725434fac1c170129e80e888ad65b93a27f7fcc0d1e21ae3bd79 SHA512 730b1e0d11e597c0546e85a680181c886a94cebc4ccecbf61c5745fb33e5427b8d653e26e0f22a36a13349a66e83a2934fff9ab4cd0f3c7123d18f1efc82d888
|
||||
|
||||
63
dev-lang/deno-bin/deno-bin-2.9.4.ebuild
Normal file
63
dev-lang/deno-bin/deno-bin-2.9.4.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