logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 15e1e34b93d1b0afd8c76714bf02f5b060ee1f5f
parent a72b973102f0a77a610b044fecf2d4b7096d6863
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  2 Aug 2023 23:31:36 +0200

dev-nodejs/rimraf: add 5.0.1, drop 3.0.2

Diffstat:

Mdev-nodejs/rimraf/Manifest2+-
Ddev-nodejs/rimraf/rimraf-3.0.2.ebuild37-------------------------------------
Adev-nodejs/rimraf/rimraf-5.0.1.ebuild37+++++++++++++++++++++++++++++++++++++
3 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/dev-nodejs/rimraf/Manifest b/dev-nodejs/rimraf/Manifest @@ -1 +1 @@ -DIST rimraf-3.0.2.tar.gz 26331 BLAKE2B fb8dfd3b5f6ed9ac2bac13c291b81b807e40c8e9ae421650caebb014f2f99f26042c2a025967f467accb331098be4ced2417836daaf6f6bc97694d0b521db049 SHA512 a157a18706d8bc2978546a065b1eaa25c66e520d280765db9f90d1cee4a00d382f80a954094d8d404af268987df3f455ad70934ecf1fe961e96ea061dd8d10a3 +DIST rimraf-5.0.1.tar.gz 83389 BLAKE2B 2acb2ea7c30ac853a5ac8d4ffe5c2707eb7731ca2939c55edbfd8b71f4be6ee8811ae95a2f84b627303b2720061d15c23631fbf1d8bc7308fd9d329fb3d12273 SHA512 8b9f7bb92c6db8935cf5feb5bd112d11eab6831e15e1065ac4d91569a9a41bfb38f119f9c6123fe747856a48cf5a9e7ff5af782e94779c6a442e605f79b6e896 diff --git a/dev-nodejs/rimraf/rimraf-3.0.2.ebuild b/dev-nodejs/rimraf/rimraf-3.0.2.ebuild @@ -1,37 +0,0 @@ -# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit nodejs - -DESCRIPTION="deep deletion module for node (like 'rm -rf')" -HOMEPAGE="https://github.com/isaacs/rimraf" -SRC_URI="https://github.com/isaacs/rimraf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -#RESTRICT="!test? ( test )" -#DEPEND="test? ( dev-nodejs/tap dev-nodejs/mkdirp )" - -RDEPEND="dev-nodejs/glob" - -RESTRICT="test" - -src_prepare() { - default - - sed -i -e '/LICENSE/d' -e '/README.md/d' package.json || die -} - -src_install() { - insinto "${NODEJS_SITELIB}${PN}" - doins package.json - - cat package.json | jq -r .files[] | while read pkg - do - doins -r "$pkg" - done -} diff --git a/dev-nodejs/rimraf/rimraf-5.0.1.ebuild b/dev-nodejs/rimraf/rimraf-5.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022-2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="deep deletion module for node (like 'rm -rf')" +HOMEPAGE="https://github.com/isaacs/rimraf" +SRC_URI="https://github.com/isaacs/rimraf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +#RESTRICT="!test? ( test )" +#DEPEND="test? ( dev-nodejs/tap dev-nodejs/mkdirp )" + +RDEPEND=">=dev-nodejs/glob-10.2.5" + +RESTRICT="test" + +src_prepare() { + default + + sed -i -e '/LICENSE/d' -e '/README.md/d' package.json || die +} + +src_install() { + insinto "${NODEJS_SITELIB}${PN}" + doins package.json + + cat package.json | jq -r .files[] | while read pkg + do + doins -r "$pkg" + done +}