commit: 3fd823fa7e3386f79818aab9836d76053fa95e95
parent 17020b0a3811b3d35196d76c4cb1970f85344049
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 14 Aug 2022 13:27:50 +0200
dev-nodejs/brace-expansion: new package, add 2.0.1
Diffstat:
2 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/dev-nodejs/brace-expansion/Manifest b/dev-nodejs/brace-expansion/Manifest
@@ -0,0 +1 @@
+DIST brace-expansion-2.0.1.tar.gz 15979 BLAKE2B b20726b0e8b5cfc921d546427fbd8d648c6c6a046c02f9c8bf50e87e2a1ada2d7fa0c3ffac3c8932e7b5db90eee8114ed932aadf64605f86da6cef0d128b0254 SHA512 7f5c99a910415275676323b36a1b1aabdd6528337d9b441558fc6a2ebfb737e12febb8572eac53d66ce50425dc2092fcdfa38706457264f1f737ddc5e6ceeacf
diff --git a/dev-nodejs/brace-expansion/brace-expansion-2.0.1.ebuild b/dev-nodejs/brace-expansion/brace-expansion-2.0.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit nodejs
+
+DESCRIPTION="Brace expansion, as known from sh/bash, in JavaScript"
+HOMEPAGE="https://github.com/juliangruber/brace-expansion"
+SRC_URI="https://github.com/juliangruber/brace-expansion/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/at-c4312-matcha
+# dev-nodejs/test
+#)"
+
+RDEPEND="dev-nodejs/balanced-match"
+
+RESTRICT="test"
+
+src_install() {
+ insinto "${NODEJS_SITELIB}${PN}"
+ doins package.json
+ doins index.js
+}