logo

overlay

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

dev-nodejs/minimatch: new package, add 5.1.0

Diffstat:

Adev-nodejs/minimatch/Manifest1+
Adev-nodejs/minimatch/minimatch-5.1.0.ebuild31+++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/minimatch/Manifest b/dev-nodejs/minimatch/Manifest @@ -0,0 +1 @@ +DIST minimatch-5.1.0.tar.gz 79153 BLAKE2B d1a0a5682429ce7b961497670141d24400e58f7f5eefbc2053d3a49fd0a7d6b7a26179e29e7702a20240a018c5a293fe19d482a2556e856a227f14b7b0acd2a5 SHA512 d3a346923b6bb593b149292dc7a55011126dcd01d7d4f144d1ad747efa97a8e01b7a0bcb633850c64453cd6b7e23a42921b90bb6f064c8db1b917150d367ee63 diff --git a/dev-nodejs/minimatch/minimatch-5.1.0.ebuild b/dev-nodejs/minimatch/minimatch-5.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="glob matcher in javascript" +HOMEPAGE="https://github.com/isaacs/minimatch" +SRC_URI="https://github.com/isaacs/minimatch/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 )" + +RDEPEND="dev-nodejs/brace-expansion" + +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 +}