commit: 90f99a70663960784c57013051d2953660f35754 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Wed Mar 11 16:30:51 2026 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Thu Mar 12 01:24:20 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90f99a70
dev-lang/deno-bin: add 2.7.5 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> dev-lang/deno-bin/Manifest | 2 ++ dev-lang/deno-bin/deno-bin-2.7.5.ebuild | 63 +++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest index 3583eaeca71b..bd5f3a132ea5 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.4-amd64.zip 49035673 BLAKE2B c54f5e08c3574f6b928512bd1d09adae7974a7309e511c8371105ae08a35ec3603af6c6e092b9f100152fff298b6fbf65760d0204a87ab73929eba595db98e55 SHA512 a3871064f20c9d96d84d062676df794e11c7c96d3b19ae1fd389a4688bfd94c352f0fbc426ca36ea34f7bb959d9d20a4b28d1ca3b9a853e30ed1f50889ded469 DIST deno-bin-2.7.4-arm64.zip 47046368 BLAKE2B 0410b80227b3513aba878592edfd1c0fe3705ffa896b7ab1ccd5a377ef04c92d606f826ee7e98cb7fa51d39820004b96edfe4532cd3f3d772ac727415e2be852 SHA512 96396e4bcb63bdc91f3dcd00698566e395d8f17af4f926fbbb59b25f8267e3d82e80b9eb820364216f16210b51ddb0f3c13f84b45b171dbb7903a8558fe3534a +DIST deno-bin-2.7.5-amd64.zip 49274332 BLAKE2B 897641f65792c4df2a6bb3908a20e4abd1dd87653eb138b954f00428dc20aacca4be6e0c950e2bbc44e71a49e437761a4f170ee7592879ebd0ea1e996de42d0a SHA512 37df7f47f5cc45acfcec9c712aeca5f4e5eb0a5474b9678b43570e0061061ab120051d40f16f084682b38e42a14d30ea39a99d87b9eb10cd35dd793cccd97751 +DIST deno-bin-2.7.5-arm64.zip 47269849 BLAKE2B f0fb85eb55347496264ed4c503e98f193b6d7c97e9e1c3606fa699cc25f3ee0affd4c7c5147ad13bce32fe4e8ec0d9b4532674eaa8d0375668863df23cbb35a2 SHA512 0df6dd7e04c6fc91c340077cba909ae799826be939c8cfd481092e534747a14c4ccf821ea4774f4cda1234772e8232279c79725413f9cfba4392cbf5881ff1b7 diff --git a/dev-lang/deno-bin/deno-bin-2.7.5.ebuild b/dev-lang/deno-bin/deno-bin-2.7.5.ebuild new file mode 100644 index 000000000000..075200c11178 --- /dev/null +++ b/dev-lang/deno-bin/deno-bin-2.7.5.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 +}
