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 B301115800F for ; Tue, 17 Jan 2023 01:02:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8CFEE088C; Tue, 17 Jan 2023 01:02:56 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD94DE088C for ; Tue, 17 Jan 2023 01:02:56 +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 6D057340BC9 for ; Tue, 17 Jan 2023 01:02:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAA62858 for ; Tue, 17 Jan 2023 01:02:53 +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: <1673917251.cdb93794ceec655b4b4714e00f5c99ca47d53262.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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.2.ebuild X-VCS-Directories: dev-util/typescript-language-server/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: cdb93794ceec655b4b4714e00f5c99ca47d53262 X-VCS-Branch: dev Date: Tue, 17 Jan 2023 01:02:53 +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: 8dab58ce-ca49-4878-9d05-d530454bd813 X-Archives-Hash: 95a63888109558693958c81825f0c64a commit: cdb93794ceec655b4b4714e00f5c99ca47d53262 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Tue Jan 17 00:29:07 2023 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Tue Jan 17 01:00:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cdb93794 dev-util/typescript-language-server: add 3.0.2 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> dev-util/typescript-language-server/Manifest | 1 + .../typescript-language-server-3.0.2.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-util/typescript-language-server/Manifest b/dev-util/typescript-language-server/Manifest index 43b034eaf..67155e3fb 100644 --- a/dev-util/typescript-language-server/Manifest +++ b/dev-util/typescript-language-server/Manifest @@ -2,3 +2,4 @@ DIST typescript-language-server-2.3.0-deps.tar.xz 3054276 BLAKE2B 55d2471f675858 DIST typescript-language-server-2.3.0.tgz 154055 BLAKE2B ebe0078c370e6b6ccf802804aebab0b85cb81e9df0a084440541fc8d141f32f2710c532bd34e305ab6a858d2386240f5afe3b7bbf37cfac93f06e380309c606f SHA512 efdf36d3f2c4659c73cc42cae900ec816cf9f4be8718528eed6f421424d0030c5732291d1b0b85e2ef7fba8119d147a4621ef99554041f8c151594e446d6adf8 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 diff --git a/dev-util/typescript-language-server/typescript-language-server-3.0.2.ebuild b/dev-util/typescript-language-server/typescript-language-server-3.0.2.ebuild new file mode 100644 index 000000000..adf4ae092 --- /dev/null +++ b/dev-util/typescript-language-server/typescript-language-server-3.0.2.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 +}