logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: ab30ff3c0f6d8b33a086fffd26b1ca08eecb02e4
parent c7cd57792ce02f880d849b79a07822dc31f75e69
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  6 Oct 2023 22:51:19 +0200

dev-nodejs/file-uri-to-path: new package, add 2.0.0

Diffstat:

Adev-nodejs/file-uri-to-path/Manifest1+
Adev-nodejs/file-uri-to-path/file-uri-to-path-2.0.0.ebuild23+++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/file-uri-to-path/Manifest b/dev-nodejs/file-uri-to-path/Manifest @@ -0,0 +1 @@ +DIST file-uri-to-path-2.0.0.tar.gz 5245 BLAKE2B 9e0e07c1da1b0688a6d0a019107f37c9fa9f94ea737d08ea33b345875e8fca3870932b2b3e6db8e86d388d3c52b3b79c88adad836c3b4bfe24929345fca5ca8b SHA512 d67cc7619174b231310fe77e80cce7aba847e7577d28484caca87204187f27363fc5ccba66223d25bf6d20eb024f09e02e80ed7718caaedb765873353463d278 diff --git a/dev-nodejs/file-uri-to-path/file-uri-to-path-2.0.0.ebuild b/dev-nodejs/file-uri-to-path/file-uri-to-path-2.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="Convert a file: URI to a file path" +HOMEPAGE="https://github.com/TooTallNate/file-uri-to-path" +SRC_URI="https://github.com/TooTallNate/file-uri-to-path/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="dev-util/esbuild" + +# heavy test deps like mocha +RESTRICT="test" + +src_compile() { + # Default is tsc (TypeScript compiler) which doesn't bootstraps from source + esbuild src/index.ts --outdir=dist/src +}