From 5135eeed03d57c874d1725c52ad2df9cb847eec29cd97dd7a717f321a4f06548 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 20 Dec 2020 09:59:09 +0000 Subject: [PATCH] Accepting request 857123 from home:bnavigator:branches:devel:languages:python - Update requirements OBS-URL: https://build.opensuse.org/request/show/857123 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytools?expand=0&rev=32 --- python-pytools.changes | 5 +++++ python-pytools.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-pytools.changes b/python-pytools.changes index f6f529c..13ac941 100644 --- a/python-pytools.changes +++ b/python-pytools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 20 09:56:53 UTC 2020 - Benjamin Greiner + +- Update requirements + ------------------------------------------------------------------- Sun Dec 20 09:42:53 UTC 2020 - Dirk Müller diff --git a/python-pytools.spec b/python-pytools.spec index 0ec283e..2194bc6 100644 --- a/python-pytools.spec +++ b/python-pytools.spec @@ -32,13 +32,16 @@ BuildRequires: %{python_module decorator >= 3.2.0} BuildRequires: %{python_module numpy >= 1.6.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six >= 1.8.0} +BuildRequires: ( python3-dataclasses >= 0.7 if python3-base <= 3.6 ) +BuildRequires: ( python36-dataclasses >= 0.7 if python36-base ) BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-appdirs >= 1.4.0 Requires: python-decorator >= 3.2.0 Requires: python-numpy >= 1.6.0 -Requires: python-six >= 1.8.0 +%if %{python_version_nodots} <= 36 +Requires: python-dataclasses >= 0.7 +%endif BuildArch: noarch %python_subpackages