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 6ECB6158094 for ; Wed, 7 Sep 2022 02:19:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84221E077C; Wed, 7 Sep 2022 02:19:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 68C1DE077C for ; Wed, 7 Sep 2022 02:19:35 +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 4A2073411AF for ; Wed, 7 Sep 2022 02:19:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0EB056D for ; Wed, 7 Sep 2022 02:19:32 +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: <1662516854.085b75f75c07bbc4d6f019e88f9c36b9bd73eceb.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/yaml-language-server/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/yaml-language-server/Manifest dev-util/yaml-language-server/metadata.xml dev-util/yaml-language-server/yaml-language-server-1.10.0.ebuild X-VCS-Directories: dev-util/yaml-language-server/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 085b75f75c07bbc4d6f019e88f9c36b9bd73eceb X-VCS-Branch: dev Date: Wed, 7 Sep 2022 02:19:32 +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: cc638d27-400b-4dd9-a059-0442d24df0db X-Archives-Hash: 107b82cb835cba19ce8616922b088d8a Message-ID: <20220907021932.OKGusKFkwzx0falOoS_P0-jEtQGg8Ikiy7MYwzTUjuU@z> commit: 085b75f75c07bbc4d6f019e88f9c36b9bd73eceb Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Wed Sep 7 02:14:14 2022 +0000 Commit: Ronny Gutbrod tastytea 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 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 @@ + + + + + gentoo@tastytea.de + Ronny (tastytea) Gutbrod + + + redhat-developer/yaml-language-server + + 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 +}