logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: df486a2d9285e6dd1e047a3d771164619d7a9389
parent beb4fe23d47effc198b118f7e2dcea54168631f4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 14 Aug 2022 13:35:03 +0200

dev-nodejs/glob: new package, add 8.0.3

Diffstat:

Adev-nodejs/glob/Manifest1+
Adev-nodejs/glob/glob-8.0.3.ebuild44++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/glob/Manifest b/dev-nodejs/glob/Manifest @@ -0,0 +1 @@ +DIST glob-8.0.3.tar.gz 990367 BLAKE2B a36e2743ec6e7789e759f738907364ca2809102f727e45013f8d9235dbbb7be63caadefd7df0cc83337f838a449d3db9575e842356f524926e8562c5d8c3e0e3 SHA512 f32409a97d73ed5664aed558715494c96ea3e255e5181e8e23a1d19f493e1cf1a4ce040f8f3c582f8635097ded9074264317f8ccbb87d4d258fdbd85c52ca9ab diff --git a/dev-nodejs/glob/glob-8.0.3.ebuild b/dev-nodejs/glob/glob-8.0.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="little globber" +HOMEPAGE="https://github.com/isaacs/node-glob" +SRC_URI="https://github.com/isaacs/node-glob/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/node-${P}" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +#IUSE="test" +#RESTRICT="!test? ( test )" +#DEPEND="test? ( +# dev-nodejs/memfs +# dev-nodejs/mkdirp +# dev-nodejs/rimraf +# dev-nodejs/tap +# dev-nodejs/tick +#)" + +RDEPEND=" + dev-nodejs/fs-realpath + dev-nodejs/inflight + dev-nodejs/inherits + dev-nodejs/minimatch + dev-nodejs/once +" + +RESTRICT="test" + +src_install() { + insinto "${NODEJS_SITELIB}${PN}" + doins package.json + + cat package.json | jq -r .files[] | while read pkg + do + doins -r "$pkg" + done +}