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 AD11915800F for ; Sun, 29 Jan 2023 10:40:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0E75E0863; Sun, 29 Jan 2023 10:40:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 B6BA5E0863 for ; Sun, 29 Jan 2023 10:40:21 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE6A6340E83 for ; Sun, 29 Jan 2023 10:40:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C88E7F8 for ; Sun, 29 Jan 2023 10:40:19 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1674863824.b85153cfd91504931a3bc2b1e8424b154d2c5e79.ceamac@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/typescript-language-server/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/typescript-language-server/Manifest dev-util/typescript-language-server/typescript-language-server-3.0.3.ebuild X-VCS-Directories: dev-util/typescript-language-server/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: b85153cfd91504931a3bc2b1e8424b154d2c5e79 X-VCS-Branch: master Date: Sun, 29 Jan 2023 10:40:19 +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: eab95a6a-a600-4c3a-a500-f1612937257f X-Archives-Hash: 7d6ce9fa77e3bf2dcee6c386aa979c5e commit: b85153cfd91504931a3bc2b1e8424b154d2c5e79 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Fri Jan 27 17:53:11 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Fri Jan 27 23:57:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b85153cf dev-util/typescript-language-server: add 3.0.3 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> dev-util/typescript-language-server/Manifest | 1 + .../typescript-language-server-3.0.3.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-util/typescript-language-server/Manifest b/dev-util/typescript-language-server/Manifest index 66fe7a18c..fc691d626 100644 --- a/dev-util/typescript-language-server/Manifest +++ b/dev-util/typescript-language-server/Manifest @@ -1,3 +1,4 @@ DIST typescript-language-server-3.0.1-deps.tar.xz 1567568 BLAKE2B 4f51e7d6a82755033cb92fb6eb7a1609ab28889afeb754ab3cf42fcd334705f506dd54b1f1b30afd55ec10de8b0fda92388c9383f67e88da41f38a10eee5c4a0 SHA512 3b5c209dcb2461d86dca7cf4e363a58319a21a15f13ef25d92a2ddfd7a138a61f8cd3f63f806ad9818f608d04ddaf95f8a48517d3b35012eb2607262db9fd2c8 DIST typescript-language-server-3.0.1.tgz 148890 BLAKE2B d0452f7887b55581ad9376fd6e03f7f6318f4aec44c20c2c8a46af5f835d0465d67c25c15153a17e2ab07cb6a9d2227c53488d383c29747189d12d330c17654b SHA512 1637542c79fd0bcc898cd17ae8612949e061c32172492b93c65c3964009650883b8edc5b8ab0c1f7366796a00d79e92bdb60054d573ebec531f190959725f5af DIST typescript-language-server-3.0.2.tgz 426294 BLAKE2B b62ed2a4cdf3410bf92bff5724b250b01cefaeebda889824aaf29b6bb09fc8b47306c621acc2cbf28b05254e8d3c19272c4be4f175d5fa91c102a231f2111ba9 SHA512 289e6474acdd94d3b499f1db9dbf670ca88bdb8e1f11dfdfa96f9bf2dad572168b702168d5a01dd2c197fef3f9eb7b5db2d05ec3f3f54f328b4e761ad7bfdbf0 +DIST typescript-language-server-3.0.3.tgz 426741 BLAKE2B f7d811684f14ab9d13f6c444a8fab573b3fb897bff0a51c1b028781507aa87ab77232be691a932c950c2bb40cb9ec4f51da9246c3caa84320d7f2427be3b16c5 SHA512 ec540e5dbc9640e9d198eba35ff4dddbf9812022ee0da55d79c00bcf0c79c7b0ab795e7f18bf3ea3528b20cbd2ec3dff392855d028911a690d985dd8e4bfe976 diff --git a/dev-util/typescript-language-server/typescript-language-server-3.0.3.ebuild b/dev-util/typescript-language-server/typescript-language-server-3.0.3.ebuild new file mode 100644 index 000000000..adf4ae092 --- /dev/null +++ b/dev-util/typescript-language-server/typescript-language-server-3.0.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="TypeScript & JavaScript Language Server" +HOMEPAGE="https://www.npmjs.com/package/typescript-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="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + net-libs/nodejs +" +BDEPEND=" + net-libs/nodejs[npm] + >=dev-lang/typescript-4.9.4 +" + +src_unpack() { + cd "${T}" || die "Could not cd to temporary directory" +} + +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 +}