mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
dev-util/bash-language-server: drop 3.3.1
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST bash-language-server-3.3.1-deps.tar.xz 3557556 BLAKE2B 4c231bcb7d21951d5244e883fce825c955f81dba6711a4ddc372d0d457165d659fcf5bd04d723256335e33dca9635abbf20a0a2fdc9094307c20d1c35c987d08 SHA512 d0e9369f5f6eef94897859ce78811bf4b1b80a857ee73e6e75a367bea0aff485a68a4c39cb731e8650fa47081beab159e883e6646bbdd39b31e4b4a8a5c6808f
|
||||
DIST bash-language-server-3.3.1.tgz 142732 BLAKE2B 40d60cf875c0c60c49a3600c6b3488c95c16cb1088f07d3a35c46ab78fd077db5de71ddd321b7b8cb2d03867fb2a8ffa8f4e2179f0dd1d1d469cfebf979b3e4e SHA512 f774eceab41310ff2bbc66775cf4b2d74e4633842ceb2bc8b8252f4620c8c7480c2c57a6b1c0a4bf2aeb8a10c43249a36f44f74da459c855e0a1993911af1b97
|
||||
DIST bash-language-server-4.0.1-deps.tar.xz 2160812 BLAKE2B bbf8f1d88c4be377c650bd379d557a67fdfcf560149b639f402c7682152c12ea00fa19f127574d26f6cf72ceee160894ccc35ca119fe9c8fde7cafe4725d5e9c SHA512 f87219c7df50d0062e8babbef100ce4a547c9b3d390daedbc37571e06ca0d8586d6c2e67f4cd369f4eb20932d641ffa78365742ba5cda628213b67832f8214c4
|
||||
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
|
||||
|
||||
@@ -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 ./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