diff --git a/dev-python/pygls/Manifest b/dev-python/pygls/Manifest index 6f6aa94..e640272 100644 --- a/dev-python/pygls/Manifest +++ b/dev-python/pygls/Manifest @@ -1,2 +1,3 @@ DIST pygls-1.2.1.tar.gz 45274 BLAKE2B 7bea24906a160db545dfc39849d8c1d83e7090f1c43179871fb5bac151c81d3086a5ec1b12aaeec5c3c1253afb6756cf92921dbacc996c44d03ee37b3a1a9a42 SHA512 14da8ea642f6514fe95577476eb7d50b14c47c22be11050afe0ee3dea23bf98ccbadf5d99be5ecd7242b154d3c00f8a9398a2859ac9f9b33d71cb28166dd8bec DIST pygls-1.3.0.gh.tar.gz 198853 BLAKE2B 963ae743e0f868316516105db3a9b30530bc81a650d0e9ef98e7e240ee757482feae811345ce35558af3edc3d1d920bea317c98adf811eb97e66e9e4b620434b SHA512 208a0f2ece30d6fa0fdf9ce3b9d3eeb6bd835abf407223b0842b4589d3530152357098c2e43e937c7863df2b4ca966d32ac235f9ce223abd9afcc6bfb4d2c07a +DIST pygls-1.3.1.gh.tar.gz 199111 BLAKE2B 8c6a3a371f3c42cf944a42d04b81f4676dd61e641a4746863d31826c7ed050a2e9dc39ff0eda9bd4e754dc0c777e15c1e1baae11cb764a93afd59abd1582fa96 SHA512 ef5d516d2da7e747fafd0a333157a964efcc7bcb424b2171451eb4f4084ada40ea2294cfa2322201b052a10f2958cbf2ea05748fbf7890bc4fbf6d82e154f9d4 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 0000000..cefdcf9 --- /dev/null +++ b/dev-python/pygls/pygls-1.3.1.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}.gh.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