dev-python/pygls: add 2.1.0

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-03-21 13:46:34 +03:00
parent 26fd2ece9f
commit f70de1876b
2 changed files with 46 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pygls-2.0.1.gh.tar.gz 382510 BLAKE2B 7205ecdaa5a27aa6c931668fb16d9aed2a5c8ecfe34750c839df20b73ed07ae86398686fb763e8ec2461c5d55dc4548ed5368c1d3fd9ee1558dc4d2ac64d9660 SHA512 381fa5443d4098dec20c1c91469877d4e8e60f37e04f234708d401eed0664c59179ac0bfb347f897c9b9af72bf0bfc81a5bcd3bb2e64c19c2864fa64dabf34f7
DIST pygls-2.1.0.gh.tar.gz 404891 BLAKE2B ad9818993c5ebafd4f6f0293a2e86db53799d92cdad41bf5e85314dfc30f00463999dc48011d5f22c47dc582331cc11ac29f5b6604a0cf2eb06913019c49a39d SHA512 3035381ab1efe44f7c075b656fade4d61e3af8f5944c08296b420740524e2c1111ecc1a3e79b3326e1128973f06c810e6d9b91d2f89c099f344e790139e26299

View File

@@ -0,0 +1,45 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..14} )
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? (
${RDEPEND}
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/websockets[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_install() {
distutils-r1_src_install
dodoc LICENSE.txt
}
pkg_postinst() {
optfeature "websockets support" dev-python/websockets
}