forked from pool/python-python-lsp-black
- Update to 1.2.1
* This release disables autopep8 and yapf plugins to avoid conflicts with black. * black minimum version has been increased to 22.3.0 because of an incompatibility with new versions of click. - Enable test suite OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-black?expand=0&rev=9
This commit is contained in:
parent
a5cf966635
commit
a51152c39b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:135ed1af3a14463cf5b6bb5fff4f95c6da5a030e9192ab042ca63febcb0af9d4
|
||||
size 5378
|
3
python-lsp-black-1.2.1-gh.tar.gz
Normal file
3
python-lsp-black-1.2.1-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1df12c5d3f6407040dd0020a918ed98b20c1ba68720e662f7c8044ed15f87186
|
||||
size 9355
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 27 17:12:59 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.2.1
|
||||
* This release disables autopep8 and yapf plugins to avoid
|
||||
conflicts with black.
|
||||
* black minimum version has been increased to 22.3.0 because of
|
||||
an incompatibility with new versions of click.
|
||||
- Enable test suite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 9 22:46:36 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -16,26 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-python-lsp-black
|
||||
Version: 1.2.0
|
||||
Version: 1.2.1
|
||||
Release: 0
|
||||
Summary: Black plugin for the Python LSP Server
|
||||
License: MIT
|
||||
URL: https://github.com/python-lsp/python-lsp-black
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-lsp-black/python-lsp-black-%{version}.tar.gz
|
||||
Source: https://github.com/python-lsp/python-lsp-black/archive/refs/tags/v%{version}.tar.gz#/python-lsp-black-%{version}-gh.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module black >= 22.1.0}
|
||||
BuildRequires: %{python_module black >= 22.3.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-lsp-server >= 1.4.0}
|
||||
BuildRequires: %{python_module toml}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-black >= 22.1.0
|
||||
Requires: python-black >= 22.3.0
|
||||
Requires: python-python-lsp-server
|
||||
Requires: python-toml
|
||||
BuildArch: noarch
|
||||
@ -62,6 +60,9 @@ To avoid unexpected results you should make sure yapf and autopep8 are not insta
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%{python_sitelib}/pylsp_black
|
||||
|
Loading…
x
Reference in New Issue
Block a user