From 189d6e7471ef8945bb6d6853e46b7f5be265b3e7 Mon Sep 17 00:00:00 2001 From: Pavel Sobolev Date: Sun, 29 Mar 2026 16:02:14 +0300 Subject: [PATCH] dev-python/pygls: add 2.1.1 Signed-off-by: Pavel Sobolev --- dev-python/pygls/Manifest | 1 + dev-python/pygls/pygls-2.1.1.ebuild | 44 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-python/pygls/pygls-2.1.1.ebuild diff --git a/dev-python/pygls/Manifest b/dev-python/pygls/Manifest index b6e4d3f480..212f4690b6 100644 --- a/dev-python/pygls/Manifest +++ b/dev-python/pygls/Manifest @@ -1,2 +1,3 @@ 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 +DIST pygls-2.1.1.gh.tar.gz 405281 BLAKE2B a7e14cb9dc53fbd1ad4d7938f5a94e573e51bcae96fceac5aabf7ebd997fbe91a45d31744fd098702f9437e79d4eefe6598926deb9da3d2d50421bb6e0bd25c1 SHA512 7d7582cfb5d15b523643a2ba662d3e6b083fd8f9f51b405f74e6491e7bdb6ebf6959b62b689d1368f0934542ccd9d6e7feb29ce28ac6c29f2c254a493e63bb0d 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..4658185b75 --- /dev/null +++ b/dev-python/pygls/pygls-2.1.1.ebuild @@ -0,0 +1,44 @@ +# 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/websockets[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + + dodoc LICENSE.txt +} + +pkg_postinst() { + optfeature "websockets support" dev-python/websockets +}