diff --git a/.github/workflows/overlay.toml b/.github/workflows/overlay.toml index e6e5e31995..677a646f1c 100644 --- a/.github/workflows/overlay.toml +++ b/.github/workflows/overlay.toml @@ -1128,6 +1128,13 @@ github = "ContinuumIO/pycosat" use_latest_tag = true github_account = "OriPoin" +["dev-python/pygls"] +source = "github" +github = "openlawlibrary/pygls" +use_latest_tag = true +prefix = "v" +github_account = "Freed-Wu" + ["dev-python/pypinyin"] source = "github" github = "mozillazg/python-pinyin" diff --git a/dev-python/pygls/Manifest b/dev-python/pygls/Manifest new file mode 100644 index 0000000000..71275b2f3f --- /dev/null +++ b/dev-python/pygls/Manifest @@ -0,0 +1 @@ +DIST pygls-2.1.1.gh.tar.gz 405281 BLAKE2B a7e14cb9dc53fbd1ad4d7938f5a94e573e51bcae96fceac5aabf7ebd997fbe91a45d31744fd098702f9437e79d4eefe6598926deb9da3d2d50421bb6e0bd25c1 SHA512 7d7582cfb5d15b523643a2ba662d3e6b083fd8f9f51b405f74e6491e7bdb6ebf6959b62b689d1368f0934542ccd9d6e7feb29ce28ac6c29f2c254a493e63bb0d diff --git a/dev-python/pygls/metadata.xml b/dev-python/pygls/metadata.xml new file mode 100644 index 0000000000..b93d5df5e5 --- /dev/null +++ b/dev-python/pygls/metadata.xml @@ -0,0 +1,13 @@ + + + + + Wu, Zhenyu + wuzhenyu@ustc.edu + + + https://github.com/openlawlibrary/pygls/issues + openlawlibrary/pygls + pygls + + diff --git a/dev-python/pygls/pygls-2.1.1.ebuild b/dev-python/pygls/pygls-2.1.1.ebuild new file mode 100644 index 0000000000..f128516d86 --- /dev/null +++ b/dev-python/pygls/pygls-2.1.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry-core +PYTHON_COMPAT=( python3_{12..15} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A pythonic generic language server" +HOMEPAGE=" + https://github.com/openlawlibrary/pygls + https://pypi.org/project/pygls +" +SRC_URI="https://github.com/openlawlibrary/pygls/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cattrs[${PYTHON_USEDEP}] + dev-python/lsprotocol[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/websockets[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "websockets support" dev-python/websockets +}