From e5f3817b363d4c0b5f2e7ef8ecb0f116eff4e37c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Tue, 31 Mar 2026 20:20:30 +0200 Subject: [PATCH] dev-lang/typescript: bump to 6.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- dev-lang/typescript/Manifest | 1 + dev-lang/typescript/typescript-6.0.2.ebuild | 44 +++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-lang/typescript/typescript-6.0.2.ebuild diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest index e6eb9a8035f2a..ccf8a67c38dae 100644 --- a/dev-lang/typescript/Manifest +++ b/dev-lang/typescript/Manifest @@ -1 +1,2 @@ DIST typescript-5.9.3.tgz 4377468 BLAKE2B 851466b0e045c7ccd7b53c65c5c0bcb35a9ad89c4cf7afaa0acebcd41ff6580f9b2a8902b1f82ba9b46d833ea90d3e4cf529efebf3a2b139f276ee601023d758 SHA512 8e5d6f6733c38a72ebf5e52ddc9feded5e8580d130f508ef04f772b33f4a7d00c3e357d0ac2d98e2f290762694a454f86d795bd511e12e9a7cc2d9ba3394e04b +DIST typescript-6.0.2.tgz 4515770 BLAKE2B 249d5296c207b1d173b1f041324188d05a53731468514f219e1c3f7dd856667c557d0bad9d3844929b58420503752aea55b198920bcc2a91c1a4596d6c093ead SHA512 6c674022b674c22183a3997c73ef875ad6da3425934b8513bfb45a4c7fd38552208e4bde26df379bbe1b04730992e09bb2563c8b180b05564920e8909504e37d diff --git a/dev-lang/typescript/typescript-6.0.2.ebuild b/dev-lang/typescript/typescript-6.0.2.ebuild new file mode 100644 index 0000000000000..fc0ccd05b192f --- /dev/null +++ b/dev-lang/typescript/typescript-6.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces" +HOMEPAGE="https://www.typescriptlang.org/ + https://github.com/microsoft/TypeScript/" + +SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz" +S="${WORKDIR}/package" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" + +RDEPEND=" + net-libs/nodejs +" +BDEPEND=" + >=net-libs/nodejs-16[npm] +" + +src_compile() { + # Skip, nothing to compile here. + : +} + +src_install() { + local -a myopts=( + --prefix="${ED}/usr" + --audit="false" + --color="false" + --progress="false" + --foreground-scripts + --global + --offline + --omit dev + --verbose + ) + npm "${myopts[@]}" install "${DISTDIR}/${P}.tgz" || die "npm install failed" + + dodoc *.md *.txt +}