Install this version:
emerge -a =dev-util/vscode-langservers-extracted-4.8.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/vscode-langservers-extracted-4.8.0
Or alternatively:
emerge --autounmask-write -a =dev-util/vscode-langservers-extracted-4.8.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.8.0 | 8 | ~amd64 | 0 |
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="HTML/CSS/JSON/ESLint/Markdown language servers extracted from vscode."
HOMEPAGE="https://github.com/hrsh7th/vscode-langservers-extracted"
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 BSD-2 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"
cd "${ED}"/usr/$(get_libdir)/node_modules/${PN} || die "cd failed"
einstalldocs
}
| Mirror Name | URLs |
|---|---|
| npm |
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | vscode-langservers-extracted-4.8.0-deps.tar.xz | 15514920 bytes | https://tastytea.de/files/gentoo/vscode-langservers-extracted-4.8.0-deps.tar.xz |
| DIST | vscode-langservers-extracted-4.8.0.tgz | 135564 bytes | mirror://npm/vscode-langservers-extracted/-/vscode-langservers-extracted-4.8.0.tgz |