logo

overlay

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

dev-nodejs/inherits: new package, add 2.0.4

Diffstat:

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

diff --git a/dev-nodejs/inherits/Manifest b/dev-nodejs/inherits/Manifest @@ -0,0 +1 @@ +DIST inherits-2.0.4.tar.gz 31453 BLAKE2B b4305aac5beeee804fda4b474750ab001a57085b88964ccf658176363b2f39492108ccdd992f8316d9914c0b3b5851f3f902924ae95f22afcf78677f365950ec SHA512 3c3cd7666f9f60d01c2e07d5ba19852787334126b7bfcd6e9aa6beef52d18e3838fb8423c44599d582eb38d836e427f8ccb2d61a0b8615ae799ffa2ae2ee7c76 diff --git a/dev-nodejs/inherits/inherits-2.0.4.ebuild b/dev-nodejs/inherits/inherits-2.0.4.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="Browser-friendly inheritance fully compatible with standard node.js inherits()" +HOMEPAGE="https://github.com/isaacs/inherits" +SRC_URI="https://github.com/isaacs/inherits/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 +}