logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: bab138fd9813e52d025304dcc8492833f739d1fd
parent 59da2af4cc10631109bb209d41363a4b4a8cf951
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  2 Aug 2023 22:51:06 +0200

dev-nodejs/ansi-escapes: new package, add 6.2.0

Diffstat:

Adev-nodejs/ansi-escapes/Manifest1+
Adev-nodejs/ansi-escapes/ansi-escapes-6.2.0.ebuild40++++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/ansi-escapes/Manifest b/dev-nodejs/ansi-escapes/Manifest @@ -0,0 +1 @@ +DIST ansi-escapes-6.2.0.tar.gz 54290 BLAKE2B 8a3d49f601937091e70fdd4465d40020d800d99511ecd5331a91165f0b497ade5fd75fa12510abb733880f2475043552cd6b3c709ac6d464b39b73e34c1addb0 SHA512 f2696a8280e3b5da2dc7a7a16e90d9d51182e21f503204b790ab293e80504b0562fda5199546a12e31324260763647d2ba7ef0829918fa31fffe5c2757ca9b4b diff --git a/dev-nodejs/ansi-escapes/ansi-escapes-6.2.0.ebuild b/dev-nodejs/ansi-escapes/ansi-escapes-6.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="ANSI escape codes for manipulating the terminal" +HOMEPAGE="https://github.com/sindresorhus/ansi-escapes" +SRC_URI="https://github.com/sindresorhus/ansi-escapes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +#IUSE="test" +#RESTRICT="!test? ( test )" +#DEPEND="test? ( +# dev-nodejs/ava +# dev-nodejs/tsd +# dev-nodejs/xo +#)" + +# Note: type-fest dependency is just for TypeScript +#RDEPEND="" + +RESTRICT="test" + +DOCS=( example.js readme.md ) + +src_install() { + einstalldocs + + insinto "${NODEJS_SITELIB}${PN}" + doins package.json + + cat package.json | jq -r .files[] | while read pkg + do + doins -r "$pkg" + done +}