Diff python-lsp-jsonrpc-1.0.0-r1 with a python-lsp-jsonrpc-1.1.0
/usr/portage/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.0.ebuild 2023-10-09 14:52:30.356368372 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYPI_NO_NORMALIZE=1 |
|
7 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
8 | 6 |
DISTUTILS_USE_PEP517=setuptools |
7 |
PYPI_NO_NORMALIZE=1 |
|
8 |
PYTHON_COMPAT=( python3_{10..12} ) |
|
9 | ||
9 | 10 |
inherit distutils-r1 pypi |
10 | 11 | |
11 | 12 |
DESCRIPTION="JSON RPC 2.0 server library" |
12 |
HOMEPAGE="https://github.com/python-lsp/python-lsp-jsonrpc" |
|
13 |
HOMEPAGE=" |
|
14 |
https://github.com/python-lsp/python-lsp-jsonrpc/ |
|
15 |
https://pypi.org/project/python-lsp-jsonrpc/ |
|
16 |
" |
|
13 | 17 | |
14 | 18 |
LICENSE="MIT" |
15 | 19 |
SLOT="0" |
16 |
KEYWORDS="amd64 ~arm64 ~ppc64 x86" |
|
20 |
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
|
17 | 21 | |
22 |
RDEPEND=" |
|
23 |
>=dev-python/ujson-3[${PYTHON_USEDEP}] |
|
24 |
" |
|
18 | 25 |
BDEPEND=" |
19 | 26 |
test? ( |
20 | 27 |
dev-python/pycodestyle[${PYTHON_USEDEP}] |
21 | 28 |
dev-python/pyflakes[${PYTHON_USEDEP}] |
22 |
)" |
|
23 | ||
24 |
RDEPEND=">=dev-python/ujson-3[${PYTHON_USEDEP}]" |
|
29 |
) |
|
30 |
" |
|
25 | 31 | |
26 | 32 |
distutils_enable_tests pytest |
27 | 33 | |
28 |
PATCHES=( "${FILESDIR}/${P}-fix-test-with-ujson-3-and-up.patch" ) |
|
29 | ||
30 |
python_prepare_all() { |
|
31 |
# Remove pytest-cov dep |
|
32 |
sed -i -e '0,/addopts/I!d' setup.cfg || die |
|
33 | ||
34 |
distutils-r1_python_prepare_all |
|
34 |
python_test() { |
|
35 |
local -x TZ=UTC |
|
36 |
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
|
37 |
epytest -o addopts= |
|
35 | 38 |
} |