diff --git a/dev-python/pygls/Manifest b/dev-python/pygls/Manifest index 8ad3ce184..f44549316 100644 --- a/dev-python/pygls/Manifest +++ b/dev-python/pygls/Manifest @@ -1,2 +1,3 @@ DIST pygls-1.0.2.tar.gz 674931 BLAKE2B 0274f5033c8a482ee82afd57944f3bb1e59230fb46654c8f3d5a039f3481b0ede368b6bca373915af78ecec1a79fad50d3b14cb8db5340086ac2c9acf9a6b87f SHA512 68b6e643d95456aa10d33bb2ae77c714e9edd26af0aa3e8e913d746b61d88f37e642af32774b4f21befa76078a7574fc5bd149454ce29da5201b60dc0efd8af3 DIST pygls-1.2.1.tar.gz 45274 BLAKE2B 7bea24906a160db545dfc39849d8c1d83e7090f1c43179871fb5bac151c81d3086a5ec1b12aaeec5c3c1253afb6756cf92921dbacc996c44d03ee37b3a1a9a42 SHA512 14da8ea642f6514fe95577476eb7d50b14c47c22be11050afe0ee3dea23bf98ccbadf5d99be5ecd7242b154d3c00f8a9398a2859ac9f9b33d71cb28166dd8bec +DIST pygls-1.3.0.tar.gz 198853 BLAKE2B 963ae743e0f868316516105db3a9b30530bc81a650d0e9ef98e7e240ee757482feae811345ce35558af3edc3d1d920bea317c98adf811eb97e66e9e4b620434b SHA512 208a0f2ece30d6fa0fdf9ce3b9d3eeb6bd835abf407223b0842b4589d3530152357098c2e43e937c7863df2b4ca966d32ac235f9ce223abd9afcc6bfb4d2c07a diff --git a/dev-python/pygls/pygls-1.3.0.ebuild b/dev-python/pygls/pygls-1.3.0.ebuild new file mode 100644 index 000000000..4723f74b8 --- /dev/null +++ b/dev-python/pygls/pygls-1.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pythonic generic language server" +HOMEPAGE=" + https://pygls.readthedocs.io/en/latest/ + https://pypi.org/project/pygls/ +" +# NOTE: pypi tarball is missing tests +SRC_URI="https://github.com/openlawlibrary/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test ws" + +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/lsprotocol-2023.0.1[${PYTHON_USEDEP}] + ws? ( >=dev-python/websockets-11.0.3[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/cattrs[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest