logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: c48cea61f5f02ebc2c53e568e690bc1f09e648f9
parent 1da1236259bbe7968c3901704aa224291c0ad17b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  3 Aug 2023 05:48:24 +0200

dev-nodejs/rimraf: treeclean

Diffstat:

Ddev-nodejs/rimraf/Manifest1-
Ddev-nodejs/rimraf/rimraf-5.0.1.ebuild37-------------------------------------
2 files changed, 0 insertions(+), 38 deletions(-)

diff --git a/dev-nodejs/rimraf/Manifest b/dev-nodejs/rimraf/Manifest @@ -1 +0,0 @@ -DIST rimraf-5.0.1.tar.gz 83389 BLAKE2B 2acb2ea7c30ac853a5ac8d4ffe5c2707eb7731ca2939c55edbfd8b71f4be6ee8811ae95a2f84b627303b2720061d15c23631fbf1d8bc7308fd9d329fb3d12273 SHA512 8b9f7bb92c6db8935cf5feb5bd112d11eab6831e15e1065ac4d91569a9a41bfb38f119f9c6123fe747856a48cf5a9e7ff5af782e94779c6a442e605f79b6e896 diff --git a/dev-nodejs/rimraf/rimraf-5.0.1.ebuild b/dev-nodejs/rimraf/rimraf-5.0.1.ebuild @@ -1,37 +0,0 @@ -# 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 -}