commit:     ac63f6f30765c598e271008f4ac0b1465975a549
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 25 13:36:35 2026 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Feb 25 14:07:21 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac63f6f3

dev-lang/deno-bin: add 2.7.0

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-lang/deno-bin/Manifest              |  2 ++
 dev-lang/deno-bin/deno-bin-2.7.0.ebuild | 61 +++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest
index 7843e80e5a0f..a691d322df53 100644
--- a/dev-lang/deno-bin/Manifest
+++ b/dev-lang/deno-bin/Manifest
@@ -1,2 +1,4 @@
 DIST deno-bin-2.6.10-amd64.zip 47750650 BLAKE2B 
a7f6165dc7ae3ce754a42586860ce48049d4a7dd970853492511258c56f18ac26f7847a27ff9b31705a472616ca6a3cef932d23ff3599219d480b308f334b35e
 SHA512 
a27ab27fc61468dc6d27250ef1f9cd2e359a539e362a7d7b1c39e2dd8ce4b63a03aa7d07f403a2580db0a09760aed0cb062584ef60c410752bf858aedefa54d5
 DIST deno-bin-2.6.10-arm64.zip 45787623 BLAKE2B 
dfa91e5a835f6eabeef9a77500626df219552370c14881d23f57e7675ee3a4a3e11c45501d37214912decabda40826ec26e16181f18101d57e2895326310e023
 SHA512 
4d666a4f73c528a994160cd2c81730227d258799fc6660f8f14c12259f6a242749d7036a89bb1bfbd7458960ce57547086c58d09d477e6feb7e31f503317f93d
+DIST deno-bin-2.7.0-amd64.zip 47860822 BLAKE2B 
e71e64f7603997732a6ba46dad947cee67ffb18f84005e5d9e2ff926616cf313fa028c5c3efc93268ac8ac83df3eb6603400d2b9ddfa2b07e309fae7c56f3718
 SHA512 
951a21aac8b03746c72bf45a27bc0197890b12923ac8c70346ea5d976ef9ddbf947c2ccde2cc315057c7c97d832db33ab3cca98d91867e04c875ed1869f152ea
+DIST deno-bin-2.7.0-arm64.zip 45905871 BLAKE2B 
1537c5748a7f01f53eda29c3962228aa991bc3164957c07a9fb1d45c64c2801341d6f1fbddd56ef007832ad55001e113852df64ce2eec471a8a032621ac87478
 SHA512 
89b54be5d2869b5fd7bdaa0f41079cdfe1c27b80783bcbfed602f64b4bf1ff456e33d7e07e3c3bd71d1486dfe475b2bd6a1d36107d6247f14ad46c4acd08bb4c

diff --git a/dev-lang/deno-bin/deno-bin-2.7.0.ebuild 
b/dev-lang/deno-bin/deno-bin-2.7.0.ebuild
new file mode 100644
index 000000000000..83926dd4e460
--- /dev/null
+++ b/dev-lang/deno-bin/deno-bin-2.7.0.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
+}

Reply via email to