Install this version:
emerge -a =dev-python/pyright-1.1.409
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/pyright-1.1.409
Or alternatively:
emerge --autounmask-write -a =dev-python/pyright-1.1.409
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.1.409 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Static type checker for Python"
HOMEPAGE="https://github.com/microsoft/pyright"
SRC_URI="https://github.com/microsoft/pyright/releases/download/${PV}/${PN}.tgz -> ${P}.tgz"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="net-libs/nodejs"
BDEPEND="net-libs/nodejs[npm]"
src_install() {
local mynpmargs=(
--audit false
--color false
--foreground-scripts
--global
--offline
--omit dev
--prefix "${ED}/usr"
--progress false
--save false
--verbose
)
npm "${mynpmargs[@]}" install "${DISTDIR}/${P}.tgz" || die "npm install failed"
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | pyright-1.1.409.tgz | 4454240 bytes | https://github.com/microsoft/pyright/releases/download/1.1.409/pyright.tgz |