commit: a02f3a7134e7c7970d90d943fd60da83a37ac677 Author: Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de> AuthorDate: Sun Dec 31 11:59:09 2023 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Sun Dec 31 12:01:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a02f3a71
dev-python/python-lsp-mypy: new package, add 0.6.8 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 <AT> posteo.de> dev-python/python-lsp-mypy/Manifest | 1 + dev-python/python-lsp-mypy/metadata.xml | 13 +++++++++ .../python-lsp-mypy/python-lsp-mypy-0.6.8.ebuild | 34 ++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/dev-python/python-lsp-mypy/Manifest b/dev-python/python-lsp-mypy/Manifest new file mode 100644 index 0000000000..a8e291f181 --- /dev/null +++ b/dev-python/python-lsp-mypy/Manifest @@ -0,0 +1 @@ +DIST python-lsp-mypy-0.6.8.gh.tar.gz 13731 BLAKE2B 34bae285bfee66ac4caafab16cf04b63f2d60be825e083b7e8d26444bd7d11cc799e96a4cb33dff1c68dc4bc4ba7e361c097f402c096ab8d1b5708b930ee59df SHA512 dca528c04cbe09dac34a666541cd9a3739e9d27842191224aaba37593e672766860fccd48d6f7e81a2435e9c862b86bedbe6f1357831eef3ccf1282e478e3a98 diff --git a/dev-python/python-lsp-mypy/metadata.xml b/dev-python/python-lsp-mypy/metadata.xml new file mode 100644 index 0000000000..c751919497 --- /dev/null +++ b/dev-python/python-lsp-mypy/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Moritz Brunner</name> + <email>[email protected]</email> + </maintainer> + <stabilize-allarches /> + <upstream> + <remote-id type="pypi">pylsp-mypy</remote-id> + <remote-id type="github">python-lsp/pylsp-mypy</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-lsp-mypy/python-lsp-mypy-0.6.8.ebuild b/dev-python/python-lsp-mypy/python-lsp-mypy-0.6.8.ebuild new file mode 100644 index 0000000000..9c22423d83 --- /dev/null +++ b/dev-python/python-lsp-mypy/python-lsp-mypy-0.6.8.ebuild @@ -0,0 +1,34 @@ +# 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
