15
0
forked from pool/python-blue

- Add black-23.3.patch to make it compatible with latest python-black

version. gh#grantjenks/blue#97

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blue?expand=0&rev=22
This commit is contained in:
2023-05-04 12:03:20 +00:00
committed by Git OBS Bridge
parent 3881642047
commit cfa02dd46e
3 changed files with 21 additions and 1 deletions

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-blue
Version: 0.9.1
@@ -29,6 +28,8 @@ Source: https://github.com/grantjenks/blue/archive/v%{version}.tar.gz#/b
Patch1: unpin-tomli.patch
# PATCH-FIX-UPSTREAM flake8-v5-compatibility.patch -- gh#grantjenks/blue#78
Patch2: flake8-v5-compatibility.patch
# PATCH-FIX-OPENSUSE black-23.3.patch -- gh#grantjenks/blue#97
Patch3: black-23.3.patch
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module black >= 21.7}