From 7a5cd4af8b04552c9ebf3a25359431c9677c7fa8f96d58a669901e23a3c9910b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 22 Jun 2023 15:37:55 +0000 Subject: [PATCH] - limit to newer python versions, older are no longer needed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=41 --- python-black.changes | 5 +++++ python-black.spec | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/python-black.changes b/python-black.changes index ccb47a0..b6de6b1 100644 --- a/python-black.changes +++ b/python-black.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 22 15:25:56 UTC 2023 - Dirk Müller + +- limit to newer python versions, older are no longer needed + ------------------------------------------------------------------- Fri Apr 21 12:22:42 UTC 2023 - Dirk Müller diff --git a/python-black.spec b/python-black.spec index 5047083..3f5a709 100644 --- a/python-black.spec +++ b/python-black.spec @@ -16,7 +16,6 @@ # -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-black Version: 23.3.0 @@ -30,7 +29,6 @@ BuildRequires: %{python_module aiohttp_cors} BuildRequires: %{python_module attrs >= 18.1.0} BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module click >= 8.0.0} -BuildRequires: %{python_module dataclasses if %python-base < 3.7} BuildRequires: %{python_module hatch-fancy-pypi-readme} BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module hatchling >= 1.8.0} @@ -41,7 +39,6 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module platformdirs >= 2} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tomli >= 1.1.0} -BuildRequires: %{python_module typed-ast >= 1.4.2 if %python-base < 3.8} BuildRequires: %{python_module typing_extensions >= 3.10.0.0 if %python-base < 3.10} BuildRequires: %{python_module wheel} BuildRequires: fdupes