forked from pool/python-python-lsp-jsonrpc
Accepting request 1121663 from home:bnavigator:branches:devel:languages:python
- Fix requirements - Don't check coverage OBS-URL: https://build.opensuse.org/request/show/1121663 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-jsonrpc?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 1 16:48:02 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix requirements
|
||||
- Don't check coverage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 1 06:10:09 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@@ -23,13 +23,14 @@ Summary: JSON RPC 2.0 server library
|
||||
License: MIT
|
||||
URL: https://github.com/python-lsp/python-lsp-jsonrpc
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-lsp-jsonrpc/python-lsp-jsonrpc-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools >= 61.2}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module ujson >= 3.0.0}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
@@ -43,6 +44,7 @@ This library has been pulled out of the Python Language Server project.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-lsp-jsonrpc-%{version}
|
||||
sed -i /addopts/d pyproject.toml
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -52,8 +54,6 @@ This library has been pulled out of the Python Language Server project.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Remove pytest addopts
|
||||
rm setup.cfg
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user