commit: efe8b33ae344c8328ff56937aa267ae257726036 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sat Mar 1 12:59:45 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sat Mar 1 13:16:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe8b33a
dev-lang/typescript: bump to 5.8.2 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/typescript/Manifest | 1 + dev-lang/typescript/typescript-5.8.2.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest index 4843cc12997f..c650940ef5ab 100644 --- a/dev-lang/typescript/Manifest +++ b/dev-lang/typescript/Manifest @@ -1 +1,2 @@ DIST typescript-5.7.3.tgz 4232501 BLAKE2B 12165981b51cd343aac582d05c6d57c94773c9deefaf0b18ddfed404bbdb889fb948c289399275061d897479478ed5df05ab4de9844e6de130435b7f22d83746 SHA512 f383154a33041cff854113f2de95fdb13555fc83487b1ef5b3d4cbd869b9146fd61b54aa5de2b267493bfdb958ff815d3b3235d82072d6f19ce2883f7aeb347f +DIST typescript-5.8.2.tgz 4250087 BLAKE2B 74bc64289bde0b663e06e66d717225645e420741831db9f721860ea1d5d98c64f9787d9bc6c1637b2deda12d5ed19422732b3a3a3f030fb301949083c3bbd2f2 SHA512 6899fac2ad77fda7d9a7f8d3f50666c048c3aaabd21a9d554f919583e7ffb7afe8572ae05cce8163587d05187f3b9a773e550f01ef96ba21193a66ffe3d46aa1 diff --git a/dev-lang/typescript/typescript-5.8.2.ebuild b/dev-lang/typescript/typescript-5.8.2.ebuild new file mode 100644 index 000000000000..145001b5fed2 --- /dev/null +++ b/dev-lang/typescript/typescript-5.8.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 +}