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/yaml-language-server/
Date: Wed,  7 Sep 2022 02:19:32 +0000 (UTC)	[thread overview]
Message-ID: <1662516854.085b75f75c07bbc4d6f019e88f9c36b9bd73eceb.tastytea@gentoo> (raw)
Message-ID: <20220907021932.OKGusKFkwzx0falOoS_P0-jEtQGg8Ikiy7MYwzTUjuU@z> (raw)

commit:     085b75f75c07bbc4d6f019e88f9c36b9bd73eceb
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Wed Sep  7 02:14:14 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Sep  7 02:14:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=085b75f7

dev-util/yaml-language-server: new package, add 1.10.0

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

 dev-util/yaml-language-server/Manifest             |  2 ++
 dev-util/yaml-language-server/metadata.xml         | 11 ++++++
 .../yaml-language-server-1.10.0.ebuild             | 42 ++++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-util/yaml-language-server/Manifest b/dev-util/yaml-language-server/Manifest
new file mode 100644
index 000000000..5b4e6a560
--- /dev/null
+++ b/dev-util/yaml-language-server/Manifest
@@ -0,0 +1,2 @@
+DIST yaml-language-server-1.10.0-deps.tar.xz 4684544 BLAKE2B e11723488096740fe4de641479c08593e43db9acd6e1fcc7a71ff5d55d02ccf36254edc0916f76526facef9aad2384f09d9521523289771e941f1953cef4ecd6 SHA512 6022c56ed169ec663d6d590b589d60a5b64f2346a17c35b411fae3abae9fa2024a3fed7e72aecd3455b3c09f3b7ceebbcb4dd373540415f9ee604e6b5f62512d
+DIST yaml-language-server-1.10.0.tgz 542896 BLAKE2B 69a44dc4b1778e04847d65ca1d251291935c02e85a6fc2c056145bd726d95b64f5a649ed085a20c059242c7a1f3846c60a1d54b493156552ef71ba2341e01594 SHA512 6c613994e6dcf0f0570d0f10284594545c3ce7f8354774d56ed2cfb30358f985d1d9f2dbd5117a3d6dc228d23482c8574d22a57b2c21032391ad78bb7e3c29ce

diff --git a/dev-util/yaml-language-server/metadata.xml b/dev-util/yaml-language-server/metadata.xml
new file mode 100644
index 000000000..11af82039
--- /dev/null
+++ b/dev-util/yaml-language-server/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+	<upstream>
+		<remote-id type="github">redhat-developer/yaml-language-server</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-util/yaml-language-server/yaml-language-server-1.10.0.ebuild b/dev-util/yaml-language-server/yaml-language-server-1.10.0.ebuild
new file mode 100644
index 000000000..cab3916e4
--- /dev/null
+++ b/dev-util/yaml-language-server/yaml-language-server-1.10.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Language Server for YAML Files"
+HOMEPAGE="https://github.com/redhat-developer/yaml-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-2 ISC MIT-with-advertising"
+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
+}


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

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08  1:46 Ronny Gutbrod [this message]
2022-09-07  2:19 ` [gentoo-commits] repo/proj/guru:dev commit in: dev-util/yaml-language-server/ Ronny Gutbrod
  -- strict thread matches above, loose matches on Subject: below --
2023-01-12 10:38 [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2023-03-10  5:48 Viorel Munteanu
2023-03-10  5:48 Viorel Munteanu
2023-05-25  2:21 Haelwenn Monnier
2023-05-25  2:21 Haelwenn Monnier
2023-07-26  7:43 Viorel Munteanu
2023-07-26  7:43 Viorel Munteanu
2024-05-29  8:35 Florian Schmaus
2024-05-29  8:35 Florian Schmaus
2024-06-28 10:58 David Roman

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=1662516854.085b75f75c07bbc4d6f019e88f9c36b9bd73eceb.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