commit: 646b0193cf93d3af0a81e250e1246c94616f91c1 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Tue Mar 3 17:10:16 2026 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Tue Mar 3 17:11:33 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=646b0193
dev-lang/deno-bin: add 2.7.2 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> dev-lang/deno-bin/Manifest | 2 ++ dev-lang/deno-bin/deno-bin-2.7.2.ebuild | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest index 375f3245ccc7..b12879c60e05 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.1-amd64.zip 47875718 BLAKE2B 64e60b3b8a3442af0fdbf349780e942bf4644558b1e94aa60ea2b403d4b12936bb2b499627b5bedeabe3350df981f68f440dd431be71b849ccfeaf5fd5b01859 SHA512 42d9e9a36a0974489514d8847d2c6d45886653152c6efb09370dc13b1ec58224b14891bdb651f70476fa7c74ae9983a7560ca34d1fa7a7b17f7c4038e66f5047 DIST deno-bin-2.7.1-arm64.zip 45916259 BLAKE2B 0dfb10e8ed4dafd0c3c8c790564c90e7e22eb26c76f8f08d4d5008b1a771b24e96d2bc7f76e910af1935d4d3b8b2021652175a3ccce2b7e2e6fbd2b37fe99943 SHA512 f1e2155fcdcf091642f20b632258a5257df0e6b6cb5c86a8eff0a7fa57ba7596847729a95ae3585de5b080a403a020a434bef25c777f8ef8a157840439e432c3 +DIST deno-bin-2.7.2-amd64.zip 49000602 BLAKE2B 2bbb417a7efc86e8082379b397c8e737d7612f8a8b57cf6b64840d24b30b9f04b5bc0fb0637aa7c771f0640fa2ad0b73e9a9e7b0f20ef3b9ea957f72a1188185 SHA512 79f159ed7c35474f5ce4b7900cfe1f7a5f5db0b0eb65dc041921a36eff36d9de2dc565a49fa684bd6a96e9501e2d8fa9354f4515a6218412ce4a997a25e70a9d +DIST deno-bin-2.7.2-arm64.zip 47030023 BLAKE2B 66cd22acb62c8a2b2f89f1d6fe28500f5fb3151abf254908765f4824cdbbec80340a343dba57c360ee68ea154d886bdda5f5958f6a014a5c9ea8b709f2efa37a SHA512 f76690b99e9b7807f48e209d63cd54aa96bedcde31d6ba1845f5ab83c940586390ef9753ef1dcccdc964918ff7878500575c7130d9d1dd5f6c7fc3328c52f19b diff --git a/dev-lang/deno-bin/deno-bin-2.7.2.ebuild b/dev-lang/deno-bin/deno-bin-2.7.2.ebuild new file mode 100644 index 000000000000..83926dd4e460 --- /dev/null +++ b/dev-lang/deno-bin/deno-bin-2.7.2.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 +}
