From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 076181581E7 for ; Thu, 25 Apr 2024 11:06:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B1ADE29B4; Thu, 25 Apr 2024 11:06:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FD86E29B4 for ; Thu, 25 Apr 2024 11:06:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69C99343131 for ; Thu, 25 Apr 2024 11:06:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 009B61755 for ; Thu, 25 Apr 2024 11:06:36 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1714043135.5de640b578b350bf7731ed27ed0013061516f14e.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bash-language-server/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/bash-language-server/Manifest dev-util/bash-language-server/bash-language-server-5.2.0.ebuild X-VCS-Directories: dev-util/bash-language-server/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 5de640b578b350bf7731ed27ed0013061516f14e X-VCS-Branch: dev Date: Thu, 25 Apr 2024 11:06:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ddb096f5-238b-45c8-8e63-b8c78f7e4090 X-Archives-Hash: 70b320cdd40d8a68f96bfa53f80d652d commit: 5de640b578b350bf7731ed27ed0013061516f14e Author: tastytea tastytea de> AuthorDate: Thu Apr 25 11:05:35 2024 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Thu Apr 25 11:05:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5de640b5 dev-util/bash-language-server: add 5.2.0 Signed-off-by: tastytea tastytea.de> dev-util/bash-language-server/Manifest | 1 + .../bash-language-server-5.2.0.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-util/bash-language-server/Manifest b/dev-util/bash-language-server/Manifest index 481ae69c8a..5aa4630f08 100644 --- a/dev-util/bash-language-server/Manifest +++ b/dev-util/bash-language-server/Manifest @@ -2,3 +2,4 @@ DIST bash-language-server-5.0.0-deps.tar.xz 2215800 BLAKE2B 745abb2362062e5eff4c DIST bash-language-server-5.0.0.tgz 189362 BLAKE2B 088af07ab06106624bbdf25dd414c275cb039a128d80d3cc774d41a1927a12b74dd68676d5d2dec450d70c0ea24d346aa1f879701b59b0e085e0b84a8c39ea89 SHA512 d52e4f3103b83f05c32223c7504e9d61df2f645d4d66a6f78b802cb5ded45c3e254969d2a3bd4ca92993a53b3f75361cbe8dbff73d88ca66cd3cfca7fd5b8cdb DIST bash-language-server-5.1.2-deps.tar.xz 2260220 BLAKE2B ebc5e7995d66e487cdb5bd7055e91d5225f0040dfd9001aa1d0d0da304790d1d9f9e80fa978ebe2df5d2c626d835aea22bb0cc21140fca131e4065965819a0b2 SHA512 109e533d7f644f2f69a8574b4d91062a88ce65cfa8df8073fe76d59cd9050fc2141f601b952d4274b4ca323d3ace0f2992d3c699eac7a3941b75fd51865f9752 DIST bash-language-server-5.1.2.tgz 211254 BLAKE2B 81195bbc88e4a6e5037620c64489cf3d2036cedc11c709120bfa7473b931f0818942e02c8ecdef2f47e483d7ce7fc623d78f76ce48683f5eba7268a133f440e5 SHA512 85780def5556555da74151357a3eec7001d51af440c68621b362b0cef26afa54aaa78550eb433409f7f543324a24cfdc4f22d636369b6fdf1b0c66600cc321da +DIST bash-language-server-5.2.0.tgz 326709 BLAKE2B ce6fe83417363d86ad38e3be71d5321107ffddfb1c4d23fb45a9aebf1c412dfa262b26bb90c31857a9eda84f2b50c94bcdaa45f3ba59a5a6af7e9e5b6427154e SHA512 8442c359ce5691dbcd6adfddbffa676eb79b33173c52d4a68ec635fc44792bbf8b284e817330b51d9419feb31334e78581a1927b290beb79034d4151226c5758 diff --git a/dev-util/bash-language-server/bash-language-server-5.2.0.ebuild b/dev-util/bash-language-server/bash-language-server-5.2.0.ebuild new file mode 100644 index 0000000000..fcb4129d34 --- /dev/null +++ b/dev-util/bash-language-server/bash-language-server-5.2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022-2024 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 +" +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="BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=net-libs/nodejs-18.19.30" +BDEPEND=">=net-libs/nodejs-18.19.30[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" + + cd "${ED}"/usr/$(get_libdir)/node_modules/${PN} || die "cd failed" + einstalldocs +} + +pkg_postinst() { + optfeature "linting support" dev-util/shellcheck dev-util/shellcheck-bin +}