commit: e40b598502198298c5052e8e8066a1055715f96f Author: Pavel Sobolev <contact <AT> paveloom <DOT> dev> AuthorDate: Sat May 24 20:00:23 2025 +0000 Commit: Pavel Sobolev <contact <AT> paveloom <DOT> dev> CommitDate: Sun May 25 19:26:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e40b5985
dev-python/pygls: new package, add 1.3.1 Signed-off-by: Pavel Sobolev <contact <AT> paveloom.dev> dev-python/pygls/Manifest | 1 + dev-python/pygls/metadata.xml | 13 +++++++++++++ dev-python/pygls/pygls-1.3.1.ebuild | 38 +++++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/dev-python/pygls/Manifest b/dev-python/pygls/Manifest new file mode 100644 index 0000000000..7f4768ceb3 --- /dev/null +++ b/dev-python/pygls/Manifest @@ -0,0 +1 @@ +DIST pygls-1.3.1.gh.tar.gz 199111 BLAKE2B 8c6a3a371f3c42cf944a42d04b81f4676dd61e641a4746863d31826c7ed050a2e9dc39ff0eda9bd4e754dc0c777e15c1e1baae11cb764a93afd59abd1582fa96 SHA512 ef5d516d2da7e747fafd0a333157a964efcc7bcb424b2171451eb4f4084ada40ea2294cfa2322201b052a10f2958cbf2ea05748fbf7890bc4fbf6d82e154f9d4 diff --git a/dev-python/pygls/metadata.xml b/dev-python/pygls/metadata.xml new file mode 100644 index 0000000000..5240d62d7b --- /dev/null +++ b/dev-python/pygls/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"> + <email>[email protected]</email> + <name>Pavel Sobolev</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/openlawlibrary/pygls/issues</bugs-to> + <remote-id type="github">openlawlibrary/pygls</remote-id> + <remote-id type="pypi">pygls</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pygls/pygls-1.3.1.ebuild b/dev-python/pygls/pygls-1.3.1.ebuild new file mode 100644 index 0000000000..069c349d72 --- /dev/null +++ b/dev-python/pygls/pygls-1.3.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{11..13} ) + +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}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "websockets support" dev-python/websockets +}
