commit: 9c99a34404bc5a10506ecc39f181c51451477b8b Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Fri Aug 1 13:11:39 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Fri Aug 1 17:14:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c99a344
dev-lang/typescript: bump to 5.9.2 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/typescript/Manifest | 1 + dev-lang/typescript/typescript-5.9.2.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest index d3962897621e..022ef188e5d8 100644 --- a/dev-lang/typescript/Manifest +++ b/dev-lang/typescript/Manifest @@ -1 +1,2 @@ DIST typescript-5.8.3.tgz 4250436 BLAKE2B 58d1a1c6e7515bc83375c18e3e25ed6dca93989589c722e7b561bf255f69e133f6aa4a0347eeb5bf6aa29dc5e4cc4a6fa7e6079b792d442ad9f300fd7683212c SHA512 a757625ba4ea2fd2f4ee7371bd130cee130cc387395cea3fd626cbe1a0081a6480b7db254c4d57830e4a5aea1fdae4cebc283d058ed9462f86685fbbb1f80f79 +DIST typescript-5.9.2.tgz 4376902 BLAKE2B 35db4b391eed81a6407bd23a6494a2f01a6979858ddf3ccd74b2b1f16fcae4e11e1c813340a234af4da852de1ad21e0fa22b0cf04910c22b1c01c77bd798f958 SHA512 0960735d0adcfea3a4862770d4ecc14d0b9845b7f2c435c93152755cdc141c644e566b9a7a2126dceb25a59d5157de9ded228a8d92ab489bb7fadff1970dd1f4 diff --git a/dev-lang/typescript/typescript-5.9.2.ebuild b/dev-lang/typescript/typescript-5.9.2.ebuild new file mode 100644 index 000000000000..145001b5fed2 --- /dev/null +++ b/dev-lang/typescript/typescript-5.9.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +RDEPEND=" + net-libs/nodejs +" +BDEPEND=" + >=net-libs/nodejs-16[npm] +" + +src_compile() { + # Skip, nothing to compile here. + : +} + +src_install() { + local -a myopts=( + --audit false + --color false + --foreground-scripts + --global + --offline + --omit dev + --prefix "${ED}/usr" + --progress false + --verbose + ) + npm "${myopts[@]}" install "${DISTDIR}/${P}.tgz" || die "npm install failed" + + dodoc *.md *.txt +}
