From 29ad0d9f238df6bb9f68bdaf9cb225ab07b7829d Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Thu, 9 Apr 2026 22:59:15 -0400 Subject: [PATCH] dev-lang/deno-bin: add 2.7.12 Signed-off-by: Ionen Wolkens --- dev-lang/deno-bin/Manifest | 2 + dev-lang/deno-bin/deno-bin-2.7.12.ebuild | 63 ++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 dev-lang/deno-bin/deno-bin-2.7.12.ebuild diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest index b86ac3f98da2a..7fd000b325f7b 100644 --- a/dev-lang/deno-bin/Manifest +++ b/dev-lang/deno-bin/Manifest @@ -2,3 +2,5 @@ DIST deno-bin-2.6.10-amd64.zip 47750650 BLAKE2B a7f6165dc7ae3ce754a42586860ce480 DIST deno-bin-2.6.10-arm64.zip 45787623 BLAKE2B dfa91e5a835f6eabeef9a77500626df219552370c14881d23f57e7675ee3a4a3e11c45501d37214912decabda40826ec26e16181f18101d57e2895326310e023 SHA512 4d666a4f73c528a994160cd2c81730227d258799fc6660f8f14c12259f6a242749d7036a89bb1bfbd7458960ce57547086c58d09d477e6feb7e31f503317f93d DIST deno-bin-2.7.11-amd64.zip 50430922 BLAKE2B 71da6eee7b2041ee8e1bdb8b39633dffa8be28e7a2daea65ad38be4d481bdbb38c46450413604f009622f2ec759b306421f81ce8d84dca48ed06900c504bd7ba SHA512 afce7745a7e05b178f93986d97ad2d0ff5dc6c17946bf754d54395a060fafb850fe44896bfff8bf36d5ad887534ff20ad65cfd5123afac09aba88c0849b4da1c DIST deno-bin-2.7.11-arm64.zip 48399753 BLAKE2B f9570bc4b87f75c7795408026091704f4e0c44db9b7a164b65344c8c38b0bc352175d66b9ed93bf4ab43d9017132a830158cf1737d56fe3c0def5b5208b50961 SHA512 6073d923c72732838d032dd3ac0e60072d95864c3d6962b40e0a99d575217bfc5bcdfe8df912e1e7e77db3f846bc5bf7e5d1b8de3de480331c1e269359cc15da +DIST deno-bin-2.7.12-amd64.zip 50266215 BLAKE2B 3444052eab45485ae6ad598662826cdf824267874dee684815c14b886b873509b083c4a293cbada8b50381ddaabd05f46fb212aae1fb38d34087d1fcce10d09e SHA512 24686f4c8ac65941196e757b41e5fd2883a22b35d9c2f10715dcdc9efb44674a5ae3257c60b27a924081028856461959921f33213049d5dcb3bc561212b63329 +DIST deno-bin-2.7.12-arm64.zip 48245311 BLAKE2B a2205a101bb1433e7901fcc2e8f8632f28a9e5ce0587be86a15d350079a23e0894020ae84fe8d4390ee85b27e34b3eba3ce1f018fabd42e10e59c2d9cdee5b29 SHA512 49a6de72ab85b18ce7003c472968e2ff01b94f5b415d5f3b9f5dd71eeba0c99a0c943f14aa50e41ea8f920b7721d0e844757b1842b712427cd31712a53c315b3 diff --git a/dev-lang/deno-bin/deno-bin-2.7.12.ebuild b/dev-lang/deno-bin/deno-bin-2.7.12.ebuild new file mode 100644 index 0000000000000..075200c11178d --- /dev/null +++ b/dev-lang/deno-bin/deno-bin-2.7.12.ebuild @@ -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 +}