14
0

Accepting request 1154411 from home:bnavigator:branches:devel:languages:python

- Add python-lsp-black-pr56-black24.2.patch
  gh#python-lsp/python-lsp-black#56

OBS-URL: https://build.opensuse.org/request/show/1154411
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-black?expand=0&rev=18
This commit is contained in:
2024-03-03 11:30:11 +00:00
committed by Git OBS Bridge
parent 54abdc0907
commit 272d8dd5c4
3 changed files with 69 additions and 1 deletions

View File

@@ -24,6 +24,8 @@ Summary: Black plugin for the Python LSP Server
License: MIT
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
# PATCH-FIX-UPSTREAM python-lsp-black-pr56-black24.2.patch gh#python-lsp/python-lsp-black#56
Patch0: https://github.com/python-lsp/python-lsp-black/pull/56.patch#/python-lsp-black-pr56-black24.2.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -56,7 +58,7 @@ To avoid unexpected results you should make sure yapf and autopep8 are not insta
- python-lsp-black will use your project's pyproject.toml if it has one.
%prep
%setup -q -n python-lsp-black-%{version}
%autosetup -p1 -n python-lsp-black-%{version}
%build
%pyproject_wheel