commit: 17020b0a3811b3d35196d76c4cb1970f85344049
parent 063edc201f525100fc14b37e6a4f1ec05625ec5b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 14 Aug 2022 13:21:41 +0200
dev-nodejs/balanced-match: new package, add 2.0.0
Diffstat:
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/dev-nodejs/balanced-match/Manifest b/dev-nodejs/balanced-match/Manifest
@@ -0,0 +1 @@
+DIST balanced-match-2.0.0.tar.gz 152519 BLAKE2B bd31e33fa1564fb2147c3407b43a9d770521450effbc757e89b6c63e9446dced76be905ff394e9dd17bb654f6eb89f72f71c90d85abc3f1fbeccbe6124bac85c SHA512 bd176c2a27357d9d5e616cb3a3ace79f001e156cd1a5ea00eb76ae6adfa529dea616787efd3f6dc4645abd419465a9c0edbeb1e5a1efdf76200ea3a1381d6479
diff --git a/dev-nodejs/balanced-match/balanced-match-2.0.0.ebuild b/dev-nodejs/balanced-match/balanced-match-2.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit nodejs
+
+DESCRIPTION="Match balanced character pairs, like { and }"
+HOMEPAGE="https://github.com/juliangruber/balanced-match"
+SRC_URI="https://github.com/juliangruber/balanced-match/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/np
+# dev-nodejs/prettier-standard
+# dev-nodejs/standard
+# dev-nodejs/tape
+#)"
+
+RESTRICT="test"
+
+src_install() {
+ insinto "${NODEJS_SITELIB}${PN}"
+ doins package.json
+ doins index.js
+}