From 9c5a710debcc2f51a9c6593e60e36f6f126a15e5cefc5e3efe7c1228bf14ba38 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 22 Mar 2024 08:20:33 +0000 Subject: [PATCH] Accepting request 1159627 from home:alarrosa:branches:devel:languages:python:numeric - Do not BuildRequire PyQt6 in SLE15. We don't want to include the whole qt6 stack in SLE only for matplotlib tests. OBS-URL: https://build.opensuse.org/request/show/1159627 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=91 --- python-matplotlib.changes | 6 ++++++ python-matplotlib.spec | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-matplotlib.changes b/python-matplotlib.changes index e6a483b..24625af 100644 --- a/python-matplotlib.changes +++ b/python-matplotlib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 19 16:42:20 UTC 2024 - Antonio Larrosa + +- Do not BuildRequire PyQt6 in SLE15. We don't want to include + the whole qt6 stack in SLE only for matplotlib tests. + ------------------------------------------------------------------- Tue Mar 5 18:06:28 UTC 2024 - Ben Greiner diff --git a/python-matplotlib.spec b/python-matplotlib.spec index bd7507e..4efd34d 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package python-matplotlib # # Copyright (c) 2024 SUSE LLC # @@ -122,8 +122,8 @@ BuildRequires: %{python_module nbformat if %python-base >= 3.10} # SECTION qt backends: Only test PyQt5 in Minimal-X BuildRequires: %{python_module qt5} %if !%{with ringdisabled} -BuildRequires: %{python_module PyQt6} %if 0%{?suse_version} > 1500 +BuildRequires: %{python_module PyQt6} BuildRequires: python3-pyside2 BuildRequires: python3-pyside6 %endif @@ -179,7 +179,6 @@ Requires: python-gobject-cairo This package provides code common for the GTK3 and GTK4 backends for the %{name} plotting package - %package nbagg Summary: Jupyter nbagg backend for %{name} Requires: %{name} = %{version}