commit: 3743c91afa982b569195ae80179116439578f2d7
parent 6f94650ad943108652bd9adaf9c25170a872add5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 14 Aug 2022 10:16:53 +0200
dev-nodejs/isexe: new packge, add 2.0.0
Diffstat:
2 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/dev-nodejs/isexe/Manifest b/dev-nodejs/isexe/Manifest
@@ -0,0 +1 @@
+DIST isexe-2.0.0.tar.gz 3862 BLAKE2B 641d933e1f40a67ad629f9b097b56e7a68900cc3394c2bdab8669dbfc87b4abcacf4c59f2f72e4f2239daff26eb22cc04879cc32f1785a4eb4009083cb962208 SHA512 f158d27b1ad72f4b01fe2b8a22dc4295d0c65303ce2590652e016606dd30b6e0643374afa08372b0e4ff7c22fd33198ede7179e981229bfc3fa0045e99570a15
diff --git a/dev-nodejs/isexe/isexe-2.0.0.ebuild b/dev-nodejs/isexe/isexe-2.0.0.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="Minimal module to check if a file is executable"
+HOMEPAGE="https://github.com/isaacs/isexe"
+SRC_URI="https://github.com/isaacs/isexe/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+#IUSE="test"
+
+#RESTRICT="!test? ( test )"
+#DEPEND="test? (
+# dev-nodejs/tap
+# dev-nodejs/mkdirp
+# dev-nodejs/rimraf
+#)"
+
+RESTRICT="test"
+
+src_install() {
+ insinto "${NODEJS_SITELIB}${PN}"
+ doins package.json
+ doins *.js
+}