Accepting request 1199483 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1199483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=36
This commit is contained in:
Ana Guerrero 2024-09-09 12:45:27 +00:00 committed by Git OBS Bridge
commit 97e2b7946f
2 changed files with 29 additions and 20 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Sep 8 16:08:18 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Add [all] extra subpackage
-------------------------------------------------------------------
Thu Aug 29 13:42:06 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -61,26 +61,6 @@ Requires: (python-python-lsp-jsonrpc >= 1.1.0 with python-python-lsp-jsonr
%if 0%{?python_version_nodots} < 310
Requires: python-importlib_metadata >= 4.8.3
%endif
Suggests: python-autopep8 >= 2.0.4
Conflicts: python-autopep8 >= 2.1.0
Suggests: python-pydocstyle >= 6.3.0
Conflicts: python-pydocstyle >= 6.4.0
Suggests: python-pylint >= 3.1
Conflicts: python-pylint >= 4
Suggests: python-rope >= 1.2.0
Suggests: python-yapf >= 0.33
Suggests: python-whatthepatch >= 1.0.2
Conflicts: python-whatthepatch >= 2
# SECTION flake8 pins
Suggests: python-flake8 >= 7.1
Conflicts: python-flake8 >= 8
Suggests: python-mccabe >= 0.7.0
Conflicts: python-mccabe >= 0.8.0
Suggests: python-pycodestyle >= 2.12.0
Conflicts: python-pycodestyle >= 2.13.0
Suggests: python-pyflakes >= 3.2.0
Conflicts: python-pyflakes >= 3.3.0
# /SECTION
BuildArch: noarch
Requires(post): update-alternatives
Requires(postun): update-alternatives
@ -103,6 +83,26 @@ will be enabled:
- autopep8 for code formatting
- YAPF for code formatting (preferred over autopep8)
%package all
Summary: The python-lsp-server[all] extra
# Note: check flake8 pins as well
Requires: python-rope >= 1.2.0
Requires: python-yapf >= 0.33
Requires: (python-autopep8 >= 2.0.4 with python-autopep8 < 2.1.0)
Requires: (python-flake8 >= 7.1 with python-flake8 < 8)
Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
Requires: (python-pycodestyle >= 2.12.0 with python-pycodestyle < 2.13.0)
Requires: (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
Requires: (python-pyflakes >= 3.2.0 with python-pyflakes < 3.3.0)
Requires: (python-pylint >= 3.1 with python-pylint < 4)
Requires: (python-whatthepatch >= 1.0.2 with python-whatthepatch < 2)
%description all
Python Language Server for the Language Server Protocol
This package provides the dependencies for the pip
python-lsp-server[all] extra requirement
%prep
%autosetup -p1 -n python_lsp_server-%{version}
# Remove pytest addopts
@ -132,4 +132,8 @@ sed -i '/addopts/d' pyproject.toml
%{python_sitelib}/pylsp
%{python_sitelib}/python_lsp_server-%{version}.dist-info
%files %{python_files all}
%doc README.md
%license LICENSE
%changelog