aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortastytea <gentoo@tastytea.de>2023-06-29 13:21:17 +0200
committertastytea <gentoo@tastytea.de>2023-06-30 14:12:40 +0200
commit5fbc8bba6fda523064b0fefadb6606c803b25e47 (patch)
treefeb92d5c725e9fbbdbb6f7b6ef16b1ab4c950014 /dev-util
parentgames-util/legendary: drop 0.20.31 (diff)
downloadguru-5fbc8bba6fda523064b0fefadb6606c803b25e47.tar.gz
guru-5fbc8bba6fda523064b0fefadb6606c803b25e47.tar.bz2
guru-5fbc8bba6fda523064b0fefadb6606c803b25e47.zip
dev-util/bash-language-server: add 4.10.1
Signed-off-by: tastytea <gentoo@tastytea.de>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/bash-language-server/Manifest2
-rw-r--r--dev-util/bash-language-server/bash-language-server-4.10.1.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/bash-language-server/Manifest b/dev-util/bash-language-server/Manifest
index 50c07b4bd..48c5cafa6 100644
--- a/dev-util/bash-language-server/Manifest
+++ b/dev-util/bash-language-server/Manifest
@@ -1,4 +1,6 @@
DIST bash-language-server-4.10.0-deps.tar.xz 2218344 BLAKE2B 59b62cc8323befee2fa06cc00242c34d90c191a4655ff2e3c0d7563772b65cd340fb9e65c887d894030819f8d18eb317317387fc197e421c280a2a0e07051d9a SHA512 eb7f476ee64169eb155477de5f0182b904b4bed69866b54c3d44f9dc3245ac4a75c777df21f77367b8e6e771bd75fedaffee5bd50c981ffcabe0d7614492569b
DIST bash-language-server-4.10.0.tgz 192648 BLAKE2B 865ed6ebb23ac9974de295dd10c664caf25d2f58b1e180a3f343673e4de7e7d9de9254ecb1ecf4b184b442120de7d45465b7f80717f6e4c3de3c359073bb6385 SHA512 306adffaf6eed4741adadf01450435463b6bc9638ec73ba6a72bafd1018da4c1871a61e3e25bf68888ad35ab1ea3672e53243f7152d9923e8b327019979901c9
+DIST bash-language-server-4.10.1-deps.tar.xz 2219720 BLAKE2B ad855946c2ce535bc49a0ac889be82b83953304d1dea91637bcb68d11b5845f2761795be23af3406e10f2271ddf12c5664c3a9066218c5325d61aaa01f422a32 SHA512 905a91219e38dbda0bbb032f8ee04240517573a8b12f118777ec0e6a1a55fb972f1c679dd999132024d6289f3b73db837fdd17d3e9373a334928996c6a7bf9f6
+DIST bash-language-server-4.10.1.tgz 192886 BLAKE2B e1594531dcd0db241416aa25475b5fa5db11a66eca40fbe5f8f7efb1ca0eb8009ec719a03b8e782c80faf2a048b0974e8d5749854d0653e63b427a4b0f012b30 SHA512 c8d1c0a4d6549deb510bcc3a1a2a06752fc7acdaf7a5e70c4d35dbdb461934bc6a03bd077d4c13dfb1adb3e90267a5cb1047df9302f98fa3edde7cc00816556b
DIST bash-language-server-4.9.2-deps.tar.xz 2215872 BLAKE2B d0c5e67941d3637f34e1fd8492d53fd5142a439a859142cb111d6c205ce95f28ed96de9f09c32db3aa366740d214cb8641e6c67ad761e1562cdefb8805f53137 SHA512 bc51225d5f0ff0256fa62f228488b2c8410440c094d29869c62f28975e6b55d59257526cd0d0162ef19b7db9a8a9cbb83e5410c68256ff20d3965bcbccfb1793
DIST bash-language-server-4.9.2.tgz 191049 BLAKE2B 8a528d75da1f5bf64b1e4c6f2ad09a91129bb1e8837f6311522c4c2d3f02f9c3c24d36c325467127f45b78b6f2622deda0c845786dcc978006cdfcf95fee5f94 SHA512 59c85403759d51b82870b48975d6e61026e47c7c69ee13456c587bacb68f6ea56c2fde74e87658ba694e42ad5f70f1acb35893b2126d418c8fccdb0f5775d96a
diff --git a/dev-util/bash-language-server/bash-language-server-4.10.1.ebuild b/dev-util/bash-language-server/bash-language-server-4.10.1.ebuild
new file mode 100644
index 000000000..792e8acc6
--- /dev/null
+++ b/dev-util/bash-language-server/bash-language-server-4.10.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature
+
+DESCRIPTION="A language server for Bash"
+HOMEPAGE="https://github.com/bash-lsp/bash-language-server"
+SRC_URI="
+ mirror://npm/${PN}/-/${P}.tgz
+ https://tastytea.de/files/gentoo/${P}-deps.tar.xz
+"
+S="${WORKDIR}"
+
+# NOTE: to generate the dependency tarball:
+# npm --cache ./npm-cache install $(portageq envvar DISTDIR)/${P}.tgz
+# tar -caf ${P}-deps.tar.xz npm-cache
+
+LICENSE="
+ Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT-with-advertising
+ || ( public-domain Unlicense )
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=net-libs/nodejs-18.16.18"
+BDEPEND=">=net-libs/nodejs-18.16.18[npm]"
+
+src_unpack() {
+ cd "${T}" || die "Could not cd to temporary directory"
+ unpack ${P}-deps.tar.xz
+}
+
+src_install() {
+ npm \
+ --offline \
+ --verbose \
+ --progress false \
+ --foreground-scripts \
+ --global \
+ --prefix "${ED}"/usr \
+ --cache "${T}"/npm-cache \
+ install "${DISTDIR}"/${P}.tgz || die "npm install failed"
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature "linting support" dev-util/shellcheck dev-util/shellcheck-bin
+}