commit: 7e4e8dbabd44ae33f295b84aeab089ce9a862581
parent c68cfa62f065b09b431a125fb450bfa88b799d50
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 7 Oct 2023 00:06:48 +0200
Revert "dev-nodejs/glob: treeclean"
This reverts commit f0858caad17a0e7f0c1dc01719236e1c70679ef6.
Diffstat:
2 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/dev-nodejs/glob/Manifest b/dev-nodejs/glob/Manifest
@@ -0,0 +1 @@
+DIST glob-8.0.3.tar.gz 990367 BLAKE2B a36e2743ec6e7789e759f738907364ca2809102f727e45013f8d9235dbbb7be63caadefd7df0cc83337f838a449d3db9575e842356f524926e8562c5d8c3e0e3 SHA512 f32409a97d73ed5664aed558715494c96ea3e255e5181e8e23a1d19f493e1cf1a4ce040f8f3c582f8635097ded9074264317f8ccbb87d4d258fdbd85c52ca9ab
diff --git a/dev-nodejs/glob/glob-8.0.3.ebuild b/dev-nodejs/glob/glob-8.0.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit nodejs
+
+DESCRIPTION="little globber"
+HOMEPAGE="https://github.com/isaacs/node-glob"
+SRC_URI="https://github.com/isaacs/node-glob/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/node-${P}"
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+#IUSE="test"
+#RESTRICT="!test? ( test )"
+#DEPEND="test? (
+# dev-nodejs/memfs
+# dev-nodejs/mkdirp
+# dev-nodejs/rimraf
+# dev-nodejs/tap
+# dev-nodejs/tick
+#)"
+
+RDEPEND="
+ dev-nodejs/fs-realpath
+ dev-nodejs/inflight
+ dev-nodejs/inherits
+ dev-nodejs/minimatch
+ dev-nodejs/once
+"
+
+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
+}