summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-09-30 04:01:36 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-09-30 04:09:05 +0200
commit4f4766b32ec927da4f8db950752224e7efdaac7e (patch)
treed4f12a174222ac76c28db0511ae689f650e79b36 /dev-lang/typescript
parentsys-cluster/k3s: add 1.25.2_p1 (diff)
downloadgentoo-4f4766b32ec927da4f8db950752224e7efdaac7e.tar.gz
gentoo-4f4766b32ec927da4f8db950752224e7efdaac7e.tar.bz2
gentoo-4f4766b32ec927da4f8db950752224e7efdaac7e.zip
dev-lang/typescript: bump to 4.8.4
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/typescript')
-rw-r--r--dev-lang/typescript/Manifest1
-rw-r--r--dev-lang/typescript/typescript-4.8.4.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest
index bb0c67d1561b..852758139dea 100644
--- a/dev-lang/typescript/Manifest
+++ b/dev-lang/typescript/Manifest
@@ -1,2 +1,3 @@
DIST typescript-4.5.4.tgz 11280056 BLAKE2B 0fce858e7b1ec2120de9e2cd0356cb6553a1730f7db58a001920928351c58186124e63b7189e37ce12ea6158744c1203ebed6e20234e1b32e47b07b3f48bcd24 SHA512 56062cd80d90211b86a61b73155eda40976e2768327d39639e02f38e97d6f45a18645eb1bb0d56d2f5bd82108a2df716ac21712bcd42486440bd2d699f87c852
DIST typescript-4.8.3.tgz 11942311 BLAKE2B a97b8e507eb880bcf21dd6a530f0f84f4f63055860bd453d6b22261c5422b26974c88b248303e6f3ed8102a0529d93360c46ac7dfb616d67ff0dcb7134c75e47 SHA512 8283077e6d349d63daf14bd1fc23d2bf292a7fa75557cc7f769d1ce6615331322ed2ed059465918a8cb2ecd9f43c601d1f1a49667b8efeeb7e3e943c5221c08a
+DIST typescript-4.8.4.tgz 11944158 BLAKE2B aa3d97ba50209dd7e313e28d3dcb81e17a93d33ce4a1401186a34bb05e23e972232245df1c8832f44ba418883eb1aa88ee4fbba2a581ee533f99c48823bb59f5 SHA512 40287ef39982cbe8742067dff2be575b339549b04ef8a7de62b31087b349e7c42e8f0704db6bbe3544a6531a85fae9fbd0ff465cac5ad8708d8934cc2649f28d
diff --git a/dev-lang/typescript/typescript-4.8.4.ebuild b/dev-lang/typescript/typescript-4.8.4.ebuild
new file mode 100644
index 000000000000..02196457057b
--- /dev/null
+++ b/dev-lang/typescript/typescript-4.8.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2022 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
+}