public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ronny Gutbrod" <gentoo@tastytea.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bash-language-server/
Date: Wed,  7 Sep 2022 02:09:06 +0000 (UTC)	[thread overview]
Message-ID: <1662515530.e18d1fdb8b8d0ac5027e81d0902c670ca8686080.tastytea@gentoo> (raw)

commit:     e18d1fdb8b8d0ac5027e81d0902c670ca8686080
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Wed Sep  7 01:52:10 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Sep  7 01:52:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e18d1fdb

dev-util/bash-language-server: new package, add 3.1.0

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 dev-util/bash-language-server/Manifest             |  2 +
 .../bash-language-server-3.1.0.ebuild              | 51 ++++++++++++++++++++++
 dev-util/bash-language-server/metadata.xml         | 15 +++++++
 3 files changed, 68 insertions(+)

diff --git a/dev-util/bash-language-server/Manifest b/dev-util/bash-language-server/Manifest
new file mode 100644
index 000000000..fcbe26bd4
--- /dev/null
+++ b/dev-util/bash-language-server/Manifest
@@ -0,0 +1,2 @@
+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

diff --git a/dev-util/bash-language-server/bash-language-server-3.1.0.ebuild b/dev-util/bash-language-server/bash-language-server-3.1.0.ebuild
new file mode 100644
index 000000000..df8291a88
--- /dev/null
+++ b/dev-util/bash-language-server/bash-language-server-3.1.0.ebuild
@@ -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 "$(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
+}

diff --git a/dev-util/bash-language-server/metadata.xml b/dev-util/bash-language-server/metadata.xml
new file mode 100644
index 000000000..3b33b8da2
--- /dev/null
+++ b/dev-util/bash-language-server/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gentoo@tastytea.de</email>
+		<name>Ronny (tastytea) Gutbrod</name>
+	</maintainer>
+	<longdescription lang="en">
+		Bash language server implementation based on Tree Sitter and its grammar
+		for Bash and supports explainshell and shellcheck.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">bash-lsp/bash-language-server</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2022-09-07  2:09 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-07  2:09 Ronny Gutbrod [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-25 11:24 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bash-language-server/ Ronny Gutbrod
2022-11-25 21:46 Ronny Gutbrod
2022-12-03 17:45 Ronny Gutbrod
2022-12-03 17:45 Ronny Gutbrod
2022-12-09  1:26 Ronny Gutbrod
2022-12-09 16:26 [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-12-09  1:26 ` [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-12-29 11:01 Ronny Gutbrod
2022-12-29 11:01 Ronny Gutbrod
2023-01-17  1:02 Ronny Gutbrod
2023-01-17  1:02 Ronny Gutbrod
2023-01-17 12:17 Ronny Gutbrod
2023-01-18 13:37 Ronny Gutbrod
2023-01-27 23:58 Ronny Gutbrod
2023-01-27 23:58 Ronny Gutbrod
2023-02-03  9:17 Ronny Gutbrod
2023-02-03  9:17 Ronny Gutbrod
2023-02-15 11:39 Ronny Gutbrod
2023-02-15 11:39 Ronny Gutbrod
2023-03-09 13:59 Ronny Gutbrod
2023-03-09 13:59 Ronny Gutbrod
2023-03-09 20:09 Ronny Gutbrod
2023-03-30 19:49 Ronny Gutbrod
2023-03-30 19:49 Ronny Gutbrod
2023-04-07 13:06 Ronny Gutbrod
2023-04-07 13:06 Ronny Gutbrod
2023-04-12 18:54 Ronny Gutbrod
2023-04-12 18:54 Ronny Gutbrod
2023-05-23 12:47 Ronny Gutbrod
2023-05-23 12:47 Ronny Gutbrod
2023-06-11 11:14 Ronny Gutbrod
2023-06-11 11:14 Ronny Gutbrod
2023-06-30 12:57 Ronny Gutbrod
2023-06-30 12:57 Ronny Gutbrod
2023-07-13 15:28 Ronny Gutbrod
2023-07-13 15:28 Ronny Gutbrod
2023-07-25 17:37 Ronny Gutbrod
2023-07-25 17:37 Ronny Gutbrod
2024-02-10 18:39 Ronny Gutbrod
2024-02-10 18:39 Ronny Gutbrod
2024-04-25 11:06 Ronny Gutbrod
2024-04-25 11:06 Ronny Gutbrod
2024-04-27  9:40 Ronny Gutbrod
2024-05-18 18:20 Ronny Gutbrod
2024-05-18 18:20 Ronny Gutbrod
2024-06-12 16:43 Ronny Gutbrod
2024-06-12 16:43 Ronny Gutbrod
2024-10-14 19:47 Ronny Gutbrod

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1662515530.e18d1fdb8b8d0ac5027e81d0902c670ca8686080.tastytea@gentoo \
    --to=gentoo@tastytea.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox