forked from pool/python-python-lsp-server
Accepting request 1060981 from home:bnavigator:branches:devel:languages:python
- Allow 1.6.0 <= autopep8 < 2.1 * Add pylsp-pr345-autopep8-2.patch * gh#python-lsp/python-lsp-server#345 - Fix yapf requirement for toml * gh#python-lsp/python-lsp-server#346 OBS-URL: https://build.opensuse.org/request/show/1060981 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=33
This commit is contained in:
@@ -25,17 +25,18 @@ URL: https://github.com/python-lsp/python-lsp-server
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-lsp-server/python-lsp-server-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM pylsp-pr340-pydocstyle-6.3.patch gh#python-lsp/python-lsp-server#340
|
||||
Patch1: pylsp-pr340-pydocstyle-6.3.patch
|
||||
# PATCH-FIX-UPSTREAM pylsp-pr345-autopep8-2.patch.patch gh#python-lsp/python-lsp-server#345
|
||||
Patch2: pylsp-pr345-autopep8-2.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 61.2}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
|
||||
BuildRequires: %{python_module tomli}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros >= 20210628
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module docstring-to-markdown}
|
||||
BuildRequires: %{python_module PyQt5}
|
||||
BuildRequires: %{python_module autopep8 >= 1.6.0 with %python-autopep8 < 1.7.0}
|
||||
BuildRequires: %{python_module autopep8 >= 1.6.0 with %python-autopep8 < 2.1.0}
|
||||
BuildRequires: %{python_module flake8 >= 5.0.0 with %python-flake8 < 7}
|
||||
BuildRequires: %{python_module flaky}
|
||||
BuildRequires: %{python_module jedi >= 0.17.2 with %python-jedi < 0.19.0}
|
||||
@@ -48,6 +49,8 @@ BuildRequires: %{python_module pylint >= 2.5.0 with %python-pylint < 3}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-lsp-jsonrpc >= 1.0.0}
|
||||
BuildRequires: %{python_module rope >= 1.2.0}
|
||||
# gh#python-lsp/python-lsp-server#346
|
||||
BuildRequires: %{python_module toml if %python-yapf <= 0.32.0 else %python-tomli}
|
||||
BuildRequires: %{python_module ujson >= 3.0.0}
|
||||
BuildRequires: %{python_module whatthepatch >= 1.0.2 with %python-whatthepatch < 2}
|
||||
BuildRequires: %{python_module yapf}
|
||||
@@ -60,7 +63,7 @@ Requires: python-setuptools >= 39.0.0
|
||||
Requires: python-ujson >= 3.0.0
|
||||
Requires: (python-jedi >= 0.17.2 with python-jedi < 0.19.0)
|
||||
Suggests: python-autopep8 >= 1.6.0
|
||||
Conflicts: python-autopep8 >= 1.7.0
|
||||
Conflicts: python-autopep8 >= 2.1.0
|
||||
Suggests: python-pydocstyle >= 6.3.0
|
||||
Conflicts: python-pydocstyle >= 6.4.0
|
||||
Suggests: python-pylint >= 2.5.0
|
||||
|
Reference in New Issue
Block a user