mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-21 07:52:21 -04:00
The package is named `python-lsp-mypy` instead of its original name, `pylsp-mypy` to be in line with other lsp plugins already available in the Gentoo repository. Signed-off-by: Moritz Brunner <moritz.brunner+gentoo@posteo.de>
35 lines
741 B
Bash
35 lines
741 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{10..12})
|
|
|
|
MY_PN="pylsp-mypy"
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Mypy plugin for the Python LSP Server"
|
|
HOMEPAGE="
|
|
https://github.com/python-lsp/pylsp-mypy
|
|
https://pypi.org/project/pylsp-mypy/
|
|
"
|
|
SRC_URI="
|
|
https://github.com/python-lsp/${MY_PN}/archive/refs/tags/${PV}.tar.gz
|
|
-> ${P}.gh.tar.gz
|
|
"
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
|
|
RDEPEND="
|
|
>=dev-python/python-lsp-server-1.7.0[${PYTHON_USEDEP}]
|
|
>=dev-python/mypy-0.981[${PYTHON_USEDEP}]
|
|
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
distutils_enable_tests pytest
|