From f70de1876bf14d1357e2b241f95d22bcf94d8db7 Mon Sep 17 00:00:00 2001 From: Pavel Sobolev Date: Sat, 21 Mar 2026 13:46:34 +0300 Subject: [PATCH] dev-python/pygls: add 2.1.0 Signed-off-by: Pavel Sobolev --- dev-python/pygls/Manifest | 1 + dev-python/pygls/pygls-2.1.0.ebuild | 45 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-python/pygls/pygls-2.1.0.ebuild diff --git a/dev-python/pygls/Manifest b/dev-python/pygls/Manifest index fdce2308a7..b6e4d3f480 100644 --- a/dev-python/pygls/Manifest +++ b/dev-python/pygls/Manifest @@ -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 diff --git a/dev-python/pygls/pygls-2.1.0.ebuild b/dev-python/pygls/pygls-2.1.0.ebuild new file mode 100644 index 0000000000..5f95f3877b --- /dev/null +++ b/dev-python/pygls/pygls-2.1.0.ebuild @@ -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 +}