logo

overlay

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

dev-nodejs/fs-realpath: Fix name at installation

Diffstat:

Adev-nodejs/fs-realpath/fs-realpath-1.0.0-r1.ebuild32++++++++++++++++++++++++++++++++
Ddev-nodejs/fs-realpath/fs-realpath-1.0.0.ebuild32--------------------------------
2 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/dev-nodejs/fs-realpath/fs-realpath-1.0.0-r1.ebuild b/dev-nodejs/fs-realpath/fs-realpath-1.0.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +MY_P=fs.realpath-${PV} + +DESCRIPTION="Use node's fs.realpath, but fall back to the JS implementation if the native one fails" +HOMEPAGE="https://github.com/isaacs/fs.realpath" +SRC_URI="https://github.com/isaacs/fs.realpath/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +#RESTRICT="!test? ( test )" +#DEPEND="test? ( dev-nodejs/tap )" + +RESTRICT="test" + +src_install() { + insinto "${NODEJS_SITELIB}fs.realpath" + doins package.json + + cat package.json | jq -r .files[] | while read pkg + do + doins -r "$pkg" + done +} diff --git a/dev-nodejs/fs-realpath/fs-realpath-1.0.0.ebuild b/dev-nodejs/fs-realpath/fs-realpath-1.0.0.ebuild @@ -1,32 +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 - -MY_P=fs.realpath-${PV} - -DESCRIPTION="Use node's fs.realpath, but fall back to the JS implementation if the native one fails" -HOMEPAGE="https://github.com/isaacs/fs.realpath" -SRC_URI="https://github.com/isaacs/fs.realpath/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" -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 -}