From 0d2f127bc732857108fe583c44ef5c1ff65ba730 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sat, 20 Dec 2025 09:38:35 -0500 Subject: [PATCH] dev-lang/deno-bin: add 2.6.3 Signed-off-by: Ionen Wolkens --- dev-lang/deno-bin/Manifest | 2 + dev-lang/deno-bin/deno-bin-2.6.3.ebuild | 61 +++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-lang/deno-bin/deno-bin-2.6.3.ebuild diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest index c92b65055820..d76770e841f7 100644 --- a/dev-lang/deno-bin/Manifest +++ b/dev-lang/deno-bin/Manifest @@ -6,3 +6,5 @@ DIST deno-bin-2.6.1-amd64.zip 46649294 BLAKE2B d4238985d0f3bea145ff7e21a8c5066f0 DIST deno-bin-2.6.1-arm64.zip 44736082 BLAKE2B a9b925b033040be49a6bddd3713a32bb212e3193211c9276e2c4835a65e278fabba80cbbddd71c862da6906e2e0e226683a90bb98a16e6bc28170b98e2f8b3cb SHA512 ba3c8d8187f9f85b8aef06e97762fdeaa6af5c782208478cb438ebc807b3e19a705f8f3b212b664ff9f21e2423e1fd8b55eb70cc8700d1ecde907f3c646fb97f DIST deno-bin-2.6.2-amd64.zip 46451063 BLAKE2B bfd7ee63d616545f398f5c3299c494176ba0d983d55f18209dbb399d78100b75a1ef85d58b674774540540407c06823ccec909bbb1a2a2fce0c47a2c1ebba1da SHA512 715d6afc42e4e3af6774d45486d2c9b3d2ffebebc41b367f390f6f37b5f310222c432010c4b7fa953f1f5de1eb96fcd3a33bd9f5e0f51aed5e3044682c42ee0d DIST deno-bin-2.6.2-arm64.zip 44531004 BLAKE2B 946d14637db89e3b35573c8f78dc55bfcf0ea426c4401361360c13f9f4f2cf80aa51d36fe586a7eb29d802704ebf2f124167142ed21f53b16ca83871d72bd3c5 SHA512 888bae468186de3390811b32558a96c8a536521099898f94eec359d31c0f9325f56ee6799added0db1a158a783c8809fc2fbdd5178ad5bed2aa30462b5f28f2f +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 diff --git a/dev-lang/deno-bin/deno-bin-2.6.3.ebuild b/dev-lang/deno-bin/deno-bin-2.6.3.ebuild new file mode 100644 index 000000000000..0b12f20f50f4 --- /dev/null +++ b/dev-lang/deno-bin/deno-bin-2.6.3.ebuild @@ -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 +}