Gentoo Archives: gentoo-commits

From: "Wolfgang E. Sanyer" <ezzieyguywuf@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: profiles/, dev-js/core-js/
Date: Fri, 10 Sep 2021 13:58:30
Message-Id: 1631282281.ecd330604a188990d63817cb0d5535955e0afb94.ezzieyguywuf@gentoo
1 commit: ecd330604a188990d63817cb0d5535955e0afb94
2 Author: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 10 13:58:01 2021 +0000
4 Commit: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
5 CommitDate: Fri Sep 10 13:58:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ecd33060
7
8 dev-js/core-js: new package, a standard library for JavaScript
9
10 Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>
11
12 dev-js/core-js/Manifest | 1 +
13 dev-js/core-js/core-js-3.17.3.ebuild | 38 ++++++++++++++++++++++++++++++++++++
14 profiles/categories | 1 +
15 3 files changed, 40 insertions(+)
16
17 diff --git a/dev-js/core-js/Manifest b/dev-js/core-js/Manifest
18 new file mode 100644
19 index 000000000..4809740e4
20 --- /dev/null
21 +++ b/dev-js/core-js/Manifest
22 @@ -0,0 +1 @@
23 +DIST core-js-3.17.3.tgz 186125 BLAKE2B 120110a35ce153df3a8844a0e475f11c7239d6c19043370d5addc67de6c5eb74f0b369bee6835ecc05638c7ba5932f3398bc9505395842a5f8760150eb8089e9 SHA512 972bda8ecfb077c3758577f3a1bd4b74e0821c55386c631baaa98b9f54384250a90ea58fa467fea749e3f8b36bbc30c6df78f48595f0da7b2fbd5a47cacc7237
24
25 diff --git a/dev-js/core-js/core-js-3.17.3.ebuild b/dev-js/core-js/core-js-3.17.3.ebuild
26 new file mode 100644
27 index 000000000..936f8f9c8
28 --- /dev/null
29 +++ b/dev-js/core-js/core-js-3.17.3.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DESCRIPTION="A modular standard library for JavaScript"
37 +HOMEPAGE="https://github.com/zloirock/core-js"
38 +SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz"
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +
44 +RDEPEND="net-libs/nodejs"
45 +BDEPEND="net-libs/nodejs[npm]"
46 +
47 +src_compile() {
48 + # nothing to compile here
49 + :
50 +}
51 +
52 +S="${WORKDIR}/package"
53 +
54 +src_install() {
55 + npm \
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 + install "${DISTDIR}/${P}".tgz || die "npm install failed"
66 +
67 + einstalldocs
68 +}
69
70 diff --git a/profiles/categories b/profiles/categories
71 index 99896f75a..f52870fe6 100644
72 --- a/profiles/categories
73 +++ b/profiles/categories
74 @@ -1,2 +1,3 @@
75 dev-dotnet
76 +dev-js
77 dev-R