diff --git a/dev-js/core-js/core-js-3.17.3.ebuild b/dev-js/core-js/core-js-3.17.3.ebuild index 936f8f9c8a..3807b011cc 100644 --- a/dev-js/core-js/core-js-3.17.3.ebuild +++ b/dev-js/core-js/core-js-3.17.3.ebuild @@ -1,38 +1,15 @@ -# Copyright 2021 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +EAPI=7 -DESCRIPTION="A modular standard library for JavaScript" -HOMEPAGE="https://github.com/zloirock/core-js" -SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz" +inherit node + +DESCRIPTION="Standard library" +HOMEPAGE=" + https://github.com/zloirock/core-js + https://www.npmjs.com/package/core-js +" LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="net-libs/nodejs" -BDEPEND="net-libs/nodejs[npm]" - -src_compile() { - # nothing to compile here - : -} - -S="${WORKDIR}/package" - -src_install() { - npm \ - --audit false \ - --color false \ - --foreground-scripts \ - --global \ - --offline \ - --omit dev \ - --prefix "${ED}"/usr \ - --progress false \ - --verbose \ - install "${DISTDIR}/${P}".tgz || die "npm install failed" - - einstalldocs -} +KEYWORDS="~amd64" diff --git a/dev-js/core-js/metadata.xml b/dev-js/core-js/metadata.xml index 115e9d64a6..57e7985405 100644 --- a/dev-js/core-js/metadata.xml +++ b/dev-js/core-js/metadata.xml @@ -2,4 +2,8 @@ + + https://github.com/zloirock/core-js/issues + zloirock/core-js +