forked from pool/python-python-lsp-black
Accepting request 1137135 from devel:languages:python
- update to 2.0.0: * Add support to format indented selections of code. This requires Black 23.11.0+ * Change entrypoint name to be `black`. This changes the options namespace for this plugin from `pylsp.pylsp_black` to `pylsp.black`. * Drop support for Python 3.7. - Be clear that we require lsp-jsonrpc, because the test suite does. OBS-URL: https://build.opensuse.org/request/show/1137135 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-black?expand=0&rev=8
This commit is contained in:
commit
50e5c93bc0
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e17cc0fb7327b1b2377f197480690e0b9f908c688058f07262647c69a00c0d95
|
|
||||||
size 9781
|
|
3
python-lsp-black-2.0.0-gh.tar.gz
Normal file
3
python-lsp-black-2.0.0-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6387584c38e5758431f5d61c269860892f57b7442c0cf9bd712ad64231b9bb1c
|
||||||
|
size 10399
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 5 18:15:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.0.0:
|
||||||
|
* Add support to format indented selections of code. This
|
||||||
|
requires Black 23.11.0+
|
||||||
|
* Change entrypoint name to be `black`. This changes the
|
||||||
|
options namespace for this plugin from `pylsp.pylsp_black`
|
||||||
|
to `pylsp.black`.
|
||||||
|
* Drop support for Python 3.7.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 1 15:46:08 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
Wed Nov 1 15:46:08 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-lsp-black
|
# spec file for package python-python-lsp-black
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,26 +16,27 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-python-lsp-black
|
Name: python-python-lsp-black
|
||||||
Version: 1.3.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Black plugin for the Python LSP Server
|
Summary: Black plugin for the Python LSP Server
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/python-lsp/python-lsp-black
|
URL: https://github.com/python-lsp/python-lsp-black
|
||||||
Source: https://github.com/python-lsp/python-lsp-black/archive/refs/tags/v%{version}.tar.gz#/python-lsp-black-%{version}-gh.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 base >= 3.8}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module black >= 22.3.0}
|
BuildRequires: %{python_module black >= 23.11.0}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module python-lsp-server >= 1.4.0}
|
BuildRequires: %{python_module python-lsp-server >= 1.4.0}
|
||||||
BuildRequires: %{python_module tomli if %python-base < 3.11}
|
BuildRequires: %{python_module tomli if %python-base < 3.11}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-black >= 22.3.0
|
Requires: python-black >= 23.11.0
|
||||||
Requires: python-python-lsp-server >= 1.4
|
Requires: python-python-lsp-server >= 1.4
|
||||||
%if 0%{?python_version_nodots} < 311
|
%if 0%{?python_version_nodots} < 311
|
||||||
Requires: python-tomli
|
Requires: python-tomli
|
||||||
|
Loading…
x
Reference in New Issue
Block a user