commit: ca060a47eff6fbe58a97d5598a6e275030a00736 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Mon Jan 5 22:41:23 2026 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Mon Jan 5 22:44:14 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca060a47
dev-lang/deno-bin: add 2.6.4 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> dev-lang/deno-bin/Manifest | 2 ++ dev-lang/deno-bin/deno-bin-2.6.4.ebuild | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest index 8673335841b1..9cc4c80a35fb 100644 --- a/dev-lang/deno-bin/Manifest +++ b/dev-lang/deno-bin/Manifest @@ -1,2 +1,4 @@ DIST deno-bin-2.6.3-amd64.zip 46450235 BLAKE2B b54fba8d225391815f2a7397b38cbd868dee61a6ff0d5382642eeec57238eb1f15dbeed7b4287281b672d92231d89f69321ae8d982305b0b27186cb4734d988f SHA512 8038a391b15ce026dc6a03003940ef2dfe37233b2912d912468f930c9c67af60c15baca6f3b86b465818b4f5ab8aeaafcb45e73d6353acf0a8c98edfacd9b91e DIST deno-bin-2.6.3-arm64.zip 44532261 BLAKE2B 6bb167dffbf0a65dba36a66a47c494f3d9131fdf9e254d2f13e978d7887815c88321de3f07e36d45abc035e740ddec1f495c6b7232d0a1e905a998eff46dc328 SHA512 f122cffa2bbb5ab265323a322a2c6a1f735e6a610ffaabc53d7a581e40eb879d1da7e8b9ea9893bd93894789126b8441a96c9c5e73db3318c973c696decb8606 +DIST deno-bin-2.6.4-amd64.zip 46750270 BLAKE2B 0179e217f26b880bf6ff8b170736cdb1508e3473a15328aa52dc0cefcb6863cc90d004b15b771b7f1d38ac43a71ac3b02fa6b8d255de1cabe48fecfa49bb41c2 SHA512 422b49ae542bf6bba2798f62ec463b95639e477cf2d1d4962e9b39662606841d738f2a9f6e0d8cf3e83cf63215d91230b0791e0d871a7a831ab4e37b584be0e7 +DIST deno-bin-2.6.4-arm64.zip 44852233 BLAKE2B 623c3648248f6924c59f9580027a394e4e364fdbdb1b062f31629b6b38ccf9279ea23c4adca98abad2d666931ec45f03176edd0f88c22b2336d55e65242d647d SHA512 01419d16cf38c7f73cf60b3f0d00cc25f6ba58661a1fb6a954ae37603865e31721f0c52a9c4064287c864f67fe8505b9b8468da768c57797f0ee03a8f222d23b diff --git a/dev-lang/deno-bin/deno-bin-2.6.4.ebuild b/dev-lang/deno-bin/deno-bin-2.6.4.ebuild new file mode 100644 index 000000000000..83926dd4e460 --- /dev/null +++ b/dev-lang/deno-bin/deno-bin-2.6.4.ebuild @@ -0,0 +1,61 @@ +# 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 + + if ! tc-is-cross-compiler; then + dobashcomp "${T}"/deno + dofishcomp "${T}"/deno.fish + dozshcomp "${T}"/_deno + fi +}
