dev-python/pygls: new package, add 1.3.1

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2025-05-24 23:00:23 +03:00
parent b3fa8b7719
commit e40b598502
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pygls-1.3.1.gh.tar.gz 199111 BLAKE2B 8c6a3a371f3c42cf944a42d04b81f4676dd61e641a4746863d31826c7ed050a2e9dc39ff0eda9bd4e754dc0c777e15c1e1baae11cb764a93afd59abd1582fa96 SHA512 ef5d516d2da7e747fafd0a333157a964efcc7bcb424b2171451eb4f4084ada40ea2294cfa2322201b052a10f2958cbf2ea05748fbf7890bc4fbf6d82e154f9d4

View File

@@ -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>contact@paveloom.dev</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>

View File

@@ -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
}