commit: 64eda54a7181bbf36c3b8779074d60b77c6da1f6
parent 87c49fe0bce5effcdd4e8ccd8d257f2bfd2563df
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 30 Apr 2023 04:10:15 +0200
dev-nodejs/exit: new package, add 0.1.2
Diffstat:
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/dev-nodejs/exit/Manifest b/dev-nodejs/exit/Manifest
@@ -0,0 +1 @@
+DIST exit-0.1.2.tar.gz 14452 BLAKE2B 124a74f0451bf50a172700cbd68bd61351b2d11627e15390c1671942734649b235c0542a83a2bc67218eb6a3c89b5557bdfef5b79252165f0dcce99a87459b89 SHA512 9e992258cc56d93c3012d46cc262aa293d8139ca45d8f25c07136a92270b28f93b2db0d707793854540140f7e7432e1a97dc97a0ede54ed930356edc597d8a84
diff --git a/dev-nodejs/exit/exit-0.1.2.ebuild b/dev-nodejs/exit/exit-0.1.2.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
+
+DESCRIPTION="replacement for process.exit that ensures stdio are fully drained before exiting"
+HOMEPAGE="https://github.com/cowboy/node-exit"
+SRC_URI="https://github.com/cowboy/node-exit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/node-${P}"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+#IUSE="test"
+#RESTRICT="!test? ( test )"
+#DEPEND="test? (
+# dev-nodejs/grunt-contrib-jshint
+# dev-nodejs/grunt-contrib-nodeunit
+# dev-nodejs/grunt-contrib-watch
+# dev-nodejs/grunt
+# dev-nodejs/which
+#)"
+
+RESTRICT="test"
+
+src_install() {
+ insinto "${NODEJS_SITELIB}${PN}"
+ doins package.json
+ doins -r lib
+}