mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-util/bash-language-server: drop 3.1.0
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST bash-language-server-3.1.0-deps.tar.xz 3304768 BLAKE2B daf65f274b96f7e53dedb2fe2c4152d73cf4f78e00ecab516657f1e18265807a430a71d8c8dd4b9be1f0bbad3318977a7ecddce65247d2fae926948f089adc00 SHA512 4a083882aea9c203d887af6f0d4f7912a0bf0706364c72665013a8833d780add18e9cecbb06100a739215ee689c681558fd6bfd282838c6c8cbdc9fd2b28eb28
|
||||
DIST bash-language-server-3.1.0.tgz 140577 BLAKE2B df87268f0e2b381e637396eee6ad0462b6a39ce83bfbd04adc936d06dad1a4769fc840f7aff4b8f6146d790a39383dcef8c040858217d3b5ceece22dd1bd2a37 SHA512 0da4e5643eb44b7665740921721e681f5bf1527f23a1e170ef720e9f03309994a56d072d683ae73fb0dd0cf455aeb437ba151095a68e18f7890ac63f6be57aa6
|
||||
DIST bash-language-server-3.2.1-deps.tar.xz 3465976 BLAKE2B 9b2b2b4e9f4dad02869d7f88ab672111579864025510e4fa23a966495324dd2f5cf7e2861615407d5f4d12f244402fa07c7ba9b68e92fc04a1603dfb75d645e4 SHA512 f7600f229b96c7cf87d80dbc361331a112d1711bd3649440753c276ca63b7d7c65ba381022eb3699c557968f935860d9293c75a20c4d13705639bd58f6f14901
|
||||
DIST bash-language-server-3.2.1.tgz 141222 BLAKE2B f984dd50bc1e8c5643109cb42b635240db671770413db6ce47eacbb716f09a37a147743b15681a7e6cb5af0714e950f99f3b42ebf8735b9890fac2979475337a SHA512 e1ee2ec4956e733567f25bfd8b82ff5ccb66aa44735c583f9acf85a4c58331038c63637a50ecded40b13e72fbe0a73031efbe1dab15c1ce454532f304403cffe
|
||||
DIST bash-language-server-3.3.1-deps.tar.xz 3557556 BLAKE2B 4c231bcb7d21951d5244e883fce825c955f81dba6711a4ddc372d0d457165d659fcf5bd04d723256335e33dca9635abbf20a0a2fdc9094307c20d1c35c987d08 SHA512 d0e9369f5f6eef94897859ce78811bf4b1b80a857ee73e6e75a367bea0aff485a68a4c39cb731e8650fa47081beab159e883e6646bbdd39b31e4b4a8a5c6808f
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# 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 "$(realpath ./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
|
||||
}
|
||||
Reference in New Issue
Block a user