From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/typescript-language-server/
Date: Fri, 30 Sep 2022 02:12:29 +0000 (UTC) [thread overview]
Message-ID: <1664459081.18a7f163fd6c34b462adf476b024bbe4ad5a5558.lanodan@gentoo> (raw)
commit: 18a7f163fd6c34b462adf476b024bbe4ad5a5558
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Sep 29 13:44:41 2022 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Sep 29 13:44:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18a7f163
dev-util/typescript-language-server: add 2.0.0
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
dev-util/typescript-language-server/Manifest | 2 +
.../typescript-language-server-2.0.0.ebuild | 46 ++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/dev-util/typescript-language-server/Manifest b/dev-util/typescript-language-server/Manifest
index a065aba24..c88e3e658 100644
--- a/dev-util/typescript-language-server/Manifest
+++ b/dev-util/typescript-language-server/Manifest
@@ -2,3 +2,5 @@ DIST typescript-language-server-1.1.2-deps.tar.xz 1496552 BLAKE2B 0edf2dd42d218c
DIST typescript-language-server-1.1.2.tgz 122199 BLAKE2B bc7e22de39627df7d7b88113c7639170e809b875b7105e1e8b3ff17f7c871d78b4ab0bc344187c991e193700dd81583d895e4c8a9a378a465f4c139b8841e87b SHA512 8107f8a7716f28aa52842c19725221edbdd5b669ae304b6eaf5c4fcfaa531fe8a56b0de35029ab72f2d4e73cf9f7ff511c11e474fe97ad1ea9f51750f0afbc29
DIST typescript-language-server-1.2.0-deps.tar.xz 1517048 BLAKE2B c50f025be2fa5ec5c3b792e05da21f6c785e6e25b6f6aac72c6d3da511f176f6aed780da1d457cfbc0570f7f68ca90ea515ec2df155cfee4c953f5257daa67bd SHA512 4ff12fa5f6f0cb4bf15b9e51218579660997b122c38cfa80a895d44cd7c16aa12e9cb7ec2562d8285e941150886b6396934f562ea9e6e2e9f11bb2c8a35839c5
DIST typescript-language-server-1.2.0.tgz 141254 BLAKE2B bed5d6f8098daee226ac92f10c334a8ddacaaff20cee43c3ca922b3df29b99795c46fb767ba018d1495c0c1ed26ccc711bce40efdda8a43e6d9df136a15183ce SHA512 021c64a3874a80e63fa464cc773795c3f3532190b8cf7dcea84b3bc65477544577e88657d7639f27cbb05d26e64c9942875410d76769420c14b8dbd27db581e3
+DIST typescript-language-server-2.0.0-deps.tar.xz 1530024 BLAKE2B e595d969daddf565cf2d3da556a19db2a08f43acc9db6bdeb419928181e777448bfcba6e04bcd9c6291c86adefe4196db82a44f2cce9c4bfe962e8817480890b SHA512 f16f2cb7fedf185255109bfa3556e86c4c7997423fbed09501003c7d448b49980e5296707febbae2af7595e40de40e7771387a1666e0f0276f6861de2e0ddc64
+DIST typescript-language-server-2.0.0.tgz 148251 BLAKE2B c7fcdc11b552e0d2850d4f8fff429fb2257a926a9e03e467cc9a67ad1d01f6d331f02dd2811d511719282f9356d53dcdc78989c8433acdf1474b4ef6cd96c008 SHA512 c01577892b76e3df1697ac0ca330910f23eb2f42ac16db61bd8a95677245472ade04697111eddb7cad9b9cb4b0b51c18019b8ef67d6ba22fcd367f78ad3e58fb
diff --git a/dev-util/typescript-language-server/typescript-language-server-2.0.0.ebuild b/dev-util/typescript-language-server/typescript-language-server-2.0.0.ebuild
new file mode 100644
index 000000000..b00361849
--- /dev/null
+++ b/dev-util/typescript-language-server/typescript-language-server-2.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022 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 "$(realpath ./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
+"
+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
+}
next reply other threads:[~2022-09-30 2:12 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-30 2:12 Haelwenn Monnier [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
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-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=1664459081.18a7f163fd6c34b462adf476b024bbe4ad5a5558.lanodan@gentoo \
--to=contact@hacktivis.me \
--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