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

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2023-01-17 01:17:38 +01:00
parent f89245d5a1
commit b252ec1ae1
2 changed files with 53 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST bash-language-server-4.0.1-deps.tar.xz 2160812 BLAKE2B bbf8f1d88c4be377c650
DIST bash-language-server-4.0.1.tgz 151418 BLAKE2B 93989871476092a7e7fd244fb9237811f84c1eb80dbd25138292006c160991a85c49df1f91d85460b5ec78ee689a58c87956b3c1f8c61e77a6fda1404ed1d7ad SHA512 c40b384edaa55e7395e81aa33397c64761601524a32f218bbf3dc51095deddddaf11a336a4e8022dfa07ca843720852d64a6442f4d9d367f26aff21f8698fbe2
DIST bash-language-server-4.1.3-deps.tar.xz 2189212 BLAKE2B dc0b9bd2f38f382e6f80f9fa7cbce40d7bf71a539be84b37fe0bbe977fcb2fdffc7f19b37c1c34535145cfd392cd0f6f601c2e0219d91b9d453486f7fe3912b0 SHA512 d84a252b220537a20177979502024b013c2218e5a52b81a9dd5a521d45d8092170abc7c4a47e8de8a4f3bd3029b9c3fc4ff5b4627719f7f561c8f4984298d60f
DIST bash-language-server-4.1.3.tgz 162303 BLAKE2B a42851ac516c935e15ee8c2891c9637b0d0f87341455c53e69a217bb327d653100fc5dd9397e5456601f6f03539c8bd39a13d00f79d887d0eaaa5f5fb9f59684 SHA512 43c867bd9a088ad2a99ff41c1ec7f08b705d6842f73f79a53121e89f1fdbdb35ea0de6458783b47cc5013d09ae9eaf791f0333e462bb92fecc9cd086af5ac14f
DIST bash-language-server-4.4.0-deps.tar.xz 2211456 BLAKE2B d41cb504abf7f3c71fd1a91809c66638e7afb86a5e4026851dd2a408c6406c7bc5d8afaa1835afe49682c5cc8f32a9acff1917e409968ce6f74a94bbb4105e49 SHA512 e5802211b03a9aeabe449530522bf80e841c72a87a8fef61429a1e7dcd4cb4b306643b1aaf305fada54beaf2c92053e4cc9e7224a71f448f4dfe6fb348a6e168
DIST bash-language-server-4.4.0.tgz 175078 BLAKE2B 124cb84b77a64cfba069a08ab54023ca487f248581509e8853879557102355fb00ccbcce0a500d4595f6824a02392d100216569ac26b218934b41c8a3758f3c1 SHA512 3e9d3539e489fdec7e5ef33f528905e7803533ebbc628198ba0554de13221353ec7ce164299a855ca045854005a6b5b129ca79c8725d5398df0337f699e67d5d

View File

@@ -0,0 +1,51 @@
# Copyright 2022 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"
BDEPEND="net-libs/nodejs[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
}