commit: 69178102c990e5f78a33b8671e7c15cf88397951 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Apr 7 16:05:37 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Apr 7 16:10:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69178102
dev-lang/typescript: bump to 5.8.3 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/typescript/Manifest | 1 + dev-lang/typescript/typescript-5.8.3.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest index 1af6d57b0166..b20cebadb884 100644 --- a/dev-lang/typescript/Manifest +++ b/dev-lang/typescript/Manifest @@ -1 +1,2 @@ DIST typescript-5.8.2.tgz 4250087 BLAKE2B 74bc64289bde0b663e06e66d717225645e420741831db9f721860ea1d5d98c64f9787d9bc6c1637b2deda12d5ed19422732b3a3a3f030fb301949083c3bbd2f2 SHA512 6899fac2ad77fda7d9a7f8d3f50666c048c3aaabd21a9d554f919583e7ffb7afe8572ae05cce8163587d05187f3b9a773e550f01ef96ba21193a66ffe3d46aa1 +DIST typescript-5.8.3.tgz 4250436 BLAKE2B 58d1a1c6e7515bc83375c18e3e25ed6dca93989589c722e7b561bf255f69e133f6aa4a0347eeb5bf6aa29dc5e4cc4a6fa7e6079b792d442ad9f300fd7683212c SHA512 a757625ba4ea2fd2f4ee7371bd130cee130cc387395cea3fd626cbe1a0081a6480b7db254c4d57830e4a5aea1fdae4cebc283d058ed9462f86685fbbb1f80f79 diff --git a/dev-lang/typescript/typescript-5.8.3.ebuild b/dev-lang/typescript/typescript-5.8.3.ebuild new file mode 100644 index 000000000000..145001b5fed2 --- /dev/null +++ b/dev-lang/typescript/typescript-5.8.3.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 +}
