dev-python/pyright: new package, add 1.1.414

Signed-off-by: Shimon Trolles <shimontrolles@gmail.com>
This commit is contained in:
Shimon Trolles committed 2026-09-21 20:27:02 +03:00
1 parent fe11fe9325
commit d46f495b30
3 files changed
+44

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST pyright-1.1.414.tgz 4226827 BLAKE2B f4413454fffca3b3f40bcf3d3f4c73d0b591493414e83c1e9fe19ddc67aab15c20ad7c536580389caa6b0c3855ef241ebd9853cf74be6a9dc2b4fa4de44a9f73 SHA512 14f6596f9d637a90d7e1e3fb4c460378d16d984dd683092411c269bc7dff426512b23d04032dcb5eefb10784ff1560de8edb179427c5affadb5858f0bb0b97c3
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>shimontrolles@gmail.com</email>
<name>Shimon Trolles</name>
</maintainer>
<upstream>
<remote-id type="github">microsoft/pyright</remote-id>
</upstream>
</pkgmetadata>
+32
View File
@@ -0,0 +1,32 @@
# 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
--foreground-scripts
--global
--offline
--omit dev
--prefix "${ED}/usr"
--progress true
--save false
--verbose
)
npm "${mynpmargs[@]}" install "${DISTDIR}/${P}.tgz" || die "npm install failed"
}