1 |
commit: 4f4766b32ec927da4f8db950752224e7efdaac7e |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 02:01:36 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 02:09:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f4766b3 |
7 |
|
8 |
dev-lang/typescript: bump to 4.8.4 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
dev-lang/typescript/Manifest | 1 + |
13 |
dev-lang/typescript/typescript-4.8.4.ebuild | 39 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest |
17 |
index bb0c67d1561b..852758139dea 100644 |
18 |
--- a/dev-lang/typescript/Manifest |
19 |
+++ b/dev-lang/typescript/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST typescript-4.5.4.tgz 11280056 BLAKE2B 0fce858e7b1ec2120de9e2cd0356cb6553a1730f7db58a001920928351c58186124e63b7189e37ce12ea6158744c1203ebed6e20234e1b32e47b07b3f48bcd24 SHA512 56062cd80d90211b86a61b73155eda40976e2768327d39639e02f38e97d6f45a18645eb1bb0d56d2f5bd82108a2df716ac21712bcd42486440bd2d699f87c852 |
22 |
DIST typescript-4.8.3.tgz 11942311 BLAKE2B a97b8e507eb880bcf21dd6a530f0f84f4f63055860bd453d6b22261c5422b26974c88b248303e6f3ed8102a0529d93360c46ac7dfb616d67ff0dcb7134c75e47 SHA512 8283077e6d349d63daf14bd1fc23d2bf292a7fa75557cc7f769d1ce6615331322ed2ed059465918a8cb2ecd9f43c601d1f1a49667b8efeeb7e3e943c5221c08a |
23 |
+DIST typescript-4.8.4.tgz 11944158 BLAKE2B aa3d97ba50209dd7e313e28d3dcb81e17a93d33ce4a1401186a34bb05e23e972232245df1c8832f44ba418883eb1aa88ee4fbba2a581ee533f99c48823bb59f5 SHA512 40287ef39982cbe8742067dff2be575b339549b04ef8a7de62b31087b349e7c42e8f0704db6bbe3544a6531a85fae9fbd0ff465cac5ad8708d8934cc2649f28d |
24 |
|
25 |
diff --git a/dev-lang/typescript/typescript-4.8.4.ebuild b/dev-lang/typescript/typescript-4.8.4.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..02196457057b |
28 |
--- /dev/null |
29 |
+++ b/dev-lang/typescript/typescript-4.8.4.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 2021-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces" |
37 |
+HOMEPAGE="https://www.typescriptlang.org/ |
38 |
+ https://github.com/microsoft/TypeScript/" |
39 |
+SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz" |
40 |
+S="${WORKDIR}"/package |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm64 ~ppc64" |
45 |
+ |
46 |
+RDEPEND="net-libs/nodejs" |
47 |
+BDEPEND=">=net-libs/nodejs-16[npm]" |
48 |
+ |
49 |
+src_compile() { |
50 |
+ # Skip, nothing to compile here. |
51 |
+ : |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ local myopts=( |
56 |
+ --audit false |
57 |
+ --color false |
58 |
+ --foreground-scripts |
59 |
+ --global |
60 |
+ --offline |
61 |
+ --omit dev |
62 |
+ --prefix "${ED}"/usr |
63 |
+ --progress false |
64 |
+ --verbose |
65 |
+ ) |
66 |
+ npm ${myopts[@]} install "${DISTDIR}"/${P}.tgz || die "npm install failed" |
67 |
+ |
68 |
+ dodoc *.md *.txt |
69 |
+} |