public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/typescript-language-server/
Date: Thu, 12 Jan 2023 10:38:08 +0000 (UTC)	[thread overview]
Message-ID: <1673477946.ee2b7b95ee9712e9a01fab87339f4943acb34b08.flow@gentoo> (raw)

commit:     ee2b7b95ee9712e9a01fab87339f4943acb34b08
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Wed Jan 11 22:38:36 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 22:59:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ee2b7b95

dev-util/typescript-language-server: add 3.0.1

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

 dev-util/typescript-language-server/Manifest       |  2 +
 .../typescript-language-server-3.0.1.ebuild        | 46 ++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-util/typescript-language-server/Manifest b/dev-util/typescript-language-server/Manifest
index dbdc714c1..812d025c6 100644
--- a/dev-util/typescript-language-server/Manifest
+++ b/dev-util/typescript-language-server/Manifest
@@ -2,3 +2,5 @@ DIST typescript-language-server-2.2.0-deps.tar.xz 1566108 BLAKE2B 132cfb7989d983
 DIST typescript-language-server-2.2.0.tgz 153396 BLAKE2B 03b65a7c6fc5458fbad3b485033c19865ce8ecb23c5ecd99e27573aa19c269e6c63af417086e424f6c9853901dd842e768bbda06154bee209ee80c653c8fca05 SHA512 5473015f35d98b2ca99faad4b480bed54f28c2626ef5b8d521c78e4550d994977e9052d9e399a4e0e14814a1cdf1364de95adc3f27351289785876fb0aa1d686
 DIST typescript-language-server-2.3.0-deps.tar.xz 3054276 BLAKE2B 55d2471f67585844e82df0ca6fa2b59396507fc1491dcd7074d616c54fb4d1ad89bf57b421974532265ef2c4f1c97295270cade15fadc332f39aa401109bddf3 SHA512 a08bb64bf1ea765dcae617684e9571ff35817f8f80898d31ce797b46efeba8db0ecc370f1e88630fa5c8a051ce5e332c21e7fac8a0c0581e3bb7632cbc7501b7
 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

diff --git a/dev-util/typescript-language-server/typescript-language-server-3.0.1.ebuild b/dev-util/typescript-language-server/typescript-language-server-3.0.1.ebuild
new file mode 100644
index 000000000..a6a000e3e
--- /dev/null
+++ b/dev-util/typescript-language-server/typescript-language-server-3.0.1.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
+	https://tastytea.de/files/gentoo/${P}-deps.tar.xz
+"
+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 ISC MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	net-libs/nodejs
+	>=dev-lang/typescript-4.9.4
+"
+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"
+
+	cd "${ED}"/usr/$(get_libdir)/node_modules/${PN} || die "cd failed"
+	einstalldocs
+}


             reply	other threads:[~2023-01-12 10:38 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-12 10:38 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-11 17:50 [gentoo-commits] repo/proj/guru:master commit in: dev-util/typescript-language-server/ David Roman
2024-02-11 17:50 David Roman
2023-11-16 10:05 David Roman
2023-11-16 10:05 David Roman
2023-03-31 10:16 Florian Schmaus
2023-03-31 10:16 Florian Schmaus
2023-02-23  9:24 Viorel Munteanu
2023-02-23  9:24 Viorel Munteanu
2023-02-08 12:09 Florian Schmaus
2023-02-08 12:09 Florian Schmaus
2023-01-29 10:53 Haelwenn Monnier
2023-01-29 10:40 Viorel Munteanu
2023-01-29 10:40 Viorel Munteanu
2023-01-12 10:38 Florian Schmaus
2022-12-29 11:33 Florian Schmaus
2022-12-29 11:33 Florian Schmaus
2022-12-16 16:39 Florian Schmaus
2022-12-16 16:39 Florian Schmaus
2022-09-30  2:12 Haelwenn Monnier
2022-09-30  2:12 Haelwenn Monnier
2022-09-13 10:53 Andrew Ammerlaan

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=1673477946.ee2b7b95ee9712e9a01fab87339f4943acb34b08.flow@gentoo \
    --to=flow@gentoo.org \
    --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