logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: fda530904678b0dcadad7e28b603ecb01bfc231d
parent 0a76dbc3e27901262af469162c0071f6ee9b6aff
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 30 Apr 2023 04:39:44 +0200

dev-nodejs/strip-json-comments: new package, add 5.0.0

Diffstat:

Adev-nodejs/strip-json-comments/Manifest1+
Adev-nodejs/strip-json-comments/strip-json-comments-5.0.0.ebuild25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/strip-json-comments/Manifest b/dev-nodejs/strip-json-comments/Manifest @@ -0,0 +1 @@ +DIST strip-json-comments-5.0.0.tar.gz 91361 BLAKE2B af0673d3d70abc4ffb7ec3a48b5f7cb543c51c22ae585e01dae45a03a5bb009abb2803e2a96c0f7b27982d428de0b8a5da0f0cef09b38edc481566aabff16515 SHA512 c2e8edb5c368a76bbacb0e514834004d37b50d3326b94202bd20ba9d1f94bb8e6cbe68e316e3bccee82bbe5f20368d8aa54e8771f35dacf4e0cffa22f578aa06 diff --git a/dev-nodejs/strip-json-comments/strip-json-comments-5.0.0.ebuild b/dev-nodejs/strip-json-comments/strip-json-comments-5.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="Strip comments from JSON" +HOMEPAGE="https://github.com/sindresorhus/strip-json-comments" +SRC_URI="https://github.com/sindresorhus/strip-json-comments/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# test dependencies: ava, tsd, xo +RESTRICT="test" + +DOCS=( readme.md ) + +src_install() { + einstalldocs + insinto "${NODEJS_SITELIB}${PN}" + doins package.json + doins index.js +}