summaryrefslogtreecommitdiff
path: root/dev-python/python-lsp-server
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-11-17 18:22:14 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-11-17 18:22:14 +0000
commit8a0c1f4e33e6093e789a0c8318c1a4349e20a910 (patch)
treea7bf10d5443bf4b319325aacbbc7a13da836cb8a /dev-python/python-lsp-server
parentc1272386bb1612391da49818314e6bcbfa581163 (diff)
downloadbaldeagleos-repo-8a0c1f4e33e6093e789a0c8318c1a4349e20a910.tar.gz
baldeagleos-repo-8a0c1f4e33e6093e789a0c8318c1a4349e20a910.tar.xz
baldeagleos-repo-8a0c1f4e33e6093e789a0c8318c1a4349e20a910.zip
Adding metadata
Diffstat (limited to 'dev-python/python-lsp-server')
-rw-r--r--dev-python/python-lsp-server/python-lsp-server-1.9.0.ebuild36
1 files changed, 26 insertions, 10 deletions
diff --git a/dev-python/python-lsp-server/python-lsp-server-1.9.0.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.9.0.ebuild
index 544e51ff12c2..c872ffda95fe 100644
--- a/dev-python/python-lsp-server/python-lsp-server-1.9.0.ebuild
+++ b/dev-python/python-lsp-server/python-lsp-server-1.9.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
inherit distutils-r1 optfeature pypi
@@ -31,10 +31,12 @@ RDEPEND="
>=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
>=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}]
>=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}]
- >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
- >=dev-python/rope-1.2.0[${PYTHON_USEDEP}]
>=dev-python/yapf-0.33.0[${PYTHON_USEDEP}]
- >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
+ >=dev-python/rope-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}]
+ ' 'python*')
)
"
BDEPEND="
@@ -42,17 +44,19 @@ BDEPEND="
>=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}]
dev-python/flaky[${PYTHON_USEDEP}]
>=dev-python/flake8-5.0.0[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
>=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pandas[${PYTHON_USEDEP}]
>=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}]
>=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}]
- >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
- dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]
- >=dev-python/rope-1.2.0[${PYTHON_USEDEP}]
>=dev-python/yapf-0.33.0[${PYTHON_USEDEP}]
- >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
+ dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]
+ >=dev-python/rope-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}]
+ ' 'python*')
)
"
@@ -77,6 +81,18 @@ python_test() {
test/plugins/test_pydocstyle_lint.py
)
+ if [[ ${EPYTHON} == pypy3 ]] ; then
+ # Not all plugins are available for pypy3
+ EPYTEST_IGNORE+=(
+ test/plugins/test_autoimport.py
+ test/plugins/test_completion.py
+ test/plugins/test_pylint_lint.py
+ test/plugins/test_rope_rename.py
+ # whatthepatch required for yapf
+ test/plugins/test_yapf_format.py
+ )
+ fi
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}