dev-util/bash-language-server: add 4.10.2

Signed-off-by: tastytea <gentoo@tastytea.de>
This commit is contained in:
tastytea
2023-07-13 17:25:49 +02:00
parent e31b4a61ce
commit 7aa3b6b6cc
2 changed files with 53 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST bash-language-server-4.10.0-deps.tar.xz 2218344 BLAKE2B 59b62cc8323befee2fa
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.10.2-deps.tar.xz 2222584 BLAKE2B aef78fff4beb736694d7319a23c991364603c34c1c1f32c75eb0e4fa99945175830723497a4fa9d485951bbfd74a4fddf3c1fa68d7e2a6e97af7fb9471d769e9 SHA512 70b140a7d15d0f492627334172e254f91742f7b403c91ecfd4668de28357e8f9607feae53482371efd05ea7098d8c6f1c0a12dd63cd48c2a262ade545c8e6335
DIST bash-language-server-4.10.2.tgz 192887 BLAKE2B 71f3a648ac62e359e6b338d7a587f535c04ec4f77f1b7b2a5a36bfde5960cc3b4e3b0fb34224fdde7a864b0c7f6451fe6ec6a5473cb746ff795bdd32027341f8 SHA512 3672c82c264b23e7858f5a3298145383ee826d9d43d22361ded7acf75cac34513efcb0949a3e6a52dbe45261c881c0b30b8d0a4e5a26f82ae3d9a2b0cd2f4368

View File

@@ -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
}