diff options
author | tastytea <gentoo@tastytea.de> | 2023-05-23 11:56:44 +0200 |
---|---|---|
committer | tastytea <gentoo@tastytea.de> | 2023-05-23 11:56:44 +0200 |
commit | 57775b7977654d32199aaafdee8ce433a5271207 (patch) | |
tree | 1acdac479d6e56805b3caf87f3ff7d0517312e25 /dev-util | |
parent | dev-cpp/dpp: drop 10.0.22-r1 (diff) | |
download | guru-57775b7977654d32199aaafdee8ce433a5271207.tar.gz guru-57775b7977654d32199aaafdee8ce433a5271207.tar.bz2 guru-57775b7977654d32199aaafdee8ce433a5271207.zip |
dev-util/bash-language-server: add 4.9.2
Signed-off-by: tastytea <gentoo@tastytea.de>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/bash-language-server/Manifest | 2 | ||||
-rw-r--r-- | dev-util/bash-language-server/bash-language-server-4.9.2.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/bash-language-server/Manifest b/dev-util/bash-language-server/Manifest index 56309b9d3..dc2814b21 100644 --- a/dev-util/bash-language-server/Manifest +++ b/dev-util/bash-language-server/Manifest @@ -2,3 +2,5 @@ DIST bash-language-server-4.9.0-deps.tar.xz 2203152 BLAKE2B fd0aaa05e6fef5e2951f DIST bash-language-server-4.9.0.tgz 190986 BLAKE2B 09b371d143815fc0b839c8c0d5b0e93592077b8cdd396b2f6e028e0feb133ab22fe59e4fd006324d8fb0b5b26816389528001d4210fc2b37d055cc4d8a24fab3 SHA512 acc6ff77935e156be2333b96e4348949643a7879463e7b7402b7ca3f4032934d1b510cdde469404c9d41510f14002606fe79fba54ebe25688b818030df618bdd DIST bash-language-server-4.9.1-deps.tar.xz 2209120 BLAKE2B 514c8037d075aa7460ccf0332851957ceedb858b83ad677f715579bfb3238eafa472f586aba325f98b0621588ca11fdedc947c7bc2dd1321baedf1e1f733a23f SHA512 9c12990c17571bbccf3271769861fd66c77b15f0158680be2154adf194769de0f2fe1ef576d679723e5c15c4b4d792b403cbae6061b83ee6d079992fe0b100ad DIST bash-language-server-4.9.1.tgz 191025 BLAKE2B b066db5a7358c904143ed1c81f1f93702e6db7b9b11c86f513fd515d3fc5a60c7d984a63321d5aa998326ccc625d89beaf76bbc3e3da686f43ecc74b581bb20f SHA512 d96d3d4225e0b861f98bdcaf5bab58776f039cb94b2297f415e51f37ccab603d0ed030e6eaac2faaeedb7ce9b190ed809d678227f118de5bfa6fe65cec541cd7 +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.9.2.ebuild b/dev-util/bash-language-server/bash-language-server-4.9.2.ebuild new file mode 100644 index 000000000..344c04d3e --- /dev/null +++ b/dev-util/bash-language-server/bash-language-server-4.9.2.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" +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 +} |