logo

overlay

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

dev-nodejs/inflight: new package, add 1.0.6

Diffstat:

Adev-nodejs/inflight/Manifest1+
Adev-nodejs/inflight/inflight-1.0.6.ebuild29+++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/inflight/Manifest b/dev-nodejs/inflight/Manifest @@ -0,0 +1 @@ +DIST inflight-1.0.6.tar.gz 3019 BLAKE2B 5181cb83b7dab11003e8785cbdbcfb6344571c6baf26b62cb6dcae2773fa685a1dd76680a0228f1d0cdc66f69b49a4ff6f78f26df4b7be784576245a134798e0 SHA512 7252d4f1b452ac107ae1fa26ee9c144b8c519a7d64c8b81d81ba5273eaa78b108f8860048a199168061098a8c2838d21d441a811562301c92ae72b0a517645a7 diff --git a/dev-nodejs/inflight/inflight-1.0.6.ebuild b/dev-nodejs/inflight/inflight-1.0.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="Add callbacks to requests in flight to avoid async duplication" +HOMEPAGE="https://github.com/npm/inflight" +SRC_URI="https://github.com/npm/inflight/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 )" + +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 +}