commit:     c12e554f481dc2971d200d190383d42bfcb3059e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 20:21:16 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Nov 20 20:27:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c12e554f

dev-lang/typescript: bump to 5.3.2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/typescript/Manifest                |  1 +
 dev-lang/typescript/typescript-5.3.2.ebuild | 39 +++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest
index 1ec6fc8d92e7..97d66e1bd023 100644
--- a/dev-lang/typescript/Manifest
+++ b/dev-lang/typescript/Manifest
@@ -1 +1,2 @@
 DIST typescript-5.2.2.tgz 7230699 BLAKE2B 
c7e0908ab86f80d0b4863e4ea2ade49101735ea00840407be34afb62ff14156eb00f97504640d08da0687d1aac2a3b666b2f377b68110635f92471f9c1260988
 SHA512 
988e16ae91ec6c221cc13f5c178159bebf3441478abec52c52f283a11f97ffb5c7407f7cc580fc607660ec036dcf61ad66dfc206ad90274b6190624c1dfa9cd7
+DIST typescript-5.3.2.tgz 5761922 BLAKE2B 
e23598be7987fe705e81b24c3cea01dd7af012c2254e97c414a48244bacb155b95cfb81a3b4a25e26374ee2169dee2cbd70e16939a0e08e832ca0abd76711c96
 SHA512 
ea5f91c8dcbba001c37f10b8173489733f6f9e34cac6b2e90c6e4cd95bb8487455360eb1cea669e8b61247dce3a904eef0353f7f9c70c547400ce91bac85f681

diff --git a/dev-lang/typescript/typescript-5.3.2.ebuild 
b/dev-lang/typescript/typescript-5.3.2.ebuild
new file mode 100644
index 000000000000..598301d43b33
--- /dev/null
+++ b/dev-lang/typescript/typescript-5.3.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2023 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 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
+}

Reply via email to