logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: a72b973102f0a77a610b044fecf2d4b7096d6863
parent 3487777a51d99a255d3985846a2066b2a9c2fa2f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  2 Aug 2023 23:24:18 +0200

dev-nodejs/nopt: add 7.2.0, drop 6.0.0

Diffstat:

Mdev-nodejs/nopt/Manifest2+-
Ddev-nodejs/nopt/nopt-6.0.0.ebuild31-------------------------------
Adev-nodejs/nopt/nopt-7.2.0.ebuild31+++++++++++++++++++++++++++++++
3 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/dev-nodejs/nopt/Manifest b/dev-nodejs/nopt/Manifest @@ -1 +1 @@ -DIST nopt-6.0.0.tar.gz 16408 BLAKE2B 9397daafb23c917beda3cbcef3ffd6123fc374b93856e89e7cff73dc7336646a12d23552ce46bd6656e75716400b108c9b5ac908edb6447402237da44f1d549d SHA512 b558c02a3862102ea59bab8afdf20a88371f453f5ea9ba5b0969cf76d64a2f35883aa0085ba99ff70fccc033dff4e258ab5c1d9dd0a2e5f0d3a531a9bef18500 +DIST nopt-7.2.0.tar.gz 25484 BLAKE2B ad1d13135585f515f0305e4ef5580f4bc8a79c03dc625376c401d12f9574a1776b9aaf274df2b5225fd05188dd16061331b3179ce0474fec8d21cc6a22ff4c0a SHA512 cc18a6566879e83e7aa14954cd54ec0f8df5dc647d144f26e485109432a50b1f06fb0fc236999aef587e73dc26269f3fff6837d9ae88223e5f126648859539d0 diff --git a/dev-nodejs/nopt/nopt-6.0.0.ebuild b/dev-nodejs/nopt/nopt-6.0.0.ebuild @@ -1,31 +0,0 @@ -# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit nodejs - -DESCRIPTION="ion parsing for Node, supporting types, shorthands, etc" -HOMEPAGE="https://github.com/npm/nopt" -SRC_URI="https://github.com/npm/nopt/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/abbrev" - -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 -} diff --git a/dev-nodejs/nopt/nopt-7.2.0.ebuild b/dev-nodejs/nopt/nopt-7.2.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="ion parsing for Node, supporting types, shorthands, etc" +HOMEPAGE="https://github.com/npm/nopt" +SRC_URI="https://github.com/npm/nopt/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/abbrev-2.0.0" + +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 +}