The package rpms/python-matplotlib.git has added or updated architecture specific content
in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-matplotlib.git/commit/?id=....
Change:
-%ifnarch s390x
Thanks.
Full change:
============
commit 0744231c6932bd5beef5740c4a0cb3fee117779a
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Thu Dec 1 04:03:47 2022 -0500
Add Qt6 subpackage
Now possible since PyQt6 has been packaged.
diff --git a/python-matplotlib.spec b/python-matplotlib.spec
index b2413e4..1e0e554 100644
--- a/python-matplotlib.spec
+++ b/python-matplotlib.spec
@@ -168,22 +168,21 @@ Obsoletes: python-matplotlib-data-fonts < 3
%package -n python3-matplotlib
Summary: Python 2D plotting library
BuildRequires: python3-devel
-BuildRequires: python3-cairo
-BuildRequires: python3-gobject
-BuildRequires: python3-pytz
-BuildRequires: python3-sphinx
+BuildRequires: python3dist(pycairo)
+BuildRequires: python3dist(pytz)
+BuildRequires: python3dist(sphinx)
Requires: dejavu-sans-fonts
Recommends: texlive-dvipng
Requires: (texlive-dvipng if texlive-base)
Requires: python3-matplotlib-data = %{version}-%{release}
-Requires: python3-cairo
+Requires: python3dist(pycairo)
Requires:
python3-matplotlib-%{?backend_subpackage}%{!?backend_subpackage:tk}%{?_isa} =
%{version}-%{release}
%if %{with check}
-BuildRequires: python3-pytest
-BuildRequires: python3-pytest-rerunfailures
-BuildRequires: python3-pytest-timeout
-BuildRequires: python3-pytest-xdist
-BuildRequires: python3-pikepdf
+BuildRequires: python3dist(pytest)
+BuildRequires: python3dist(pytest-rerunfailures)
+BuildRequires: python3dist(pytest-timeout)
+BuildRequires: python3dist(pytest-xdist)
+BuildRequires: python3dist(pikepdf)
%endif
%if %{without bundled_fonts}
Requires: stix-math-fonts
@@ -204,14 +203,27 @@ errorcharts, scatterplots, etc, with just a few lines of code.
%package -n python3-matplotlib-qt5
Summary: Qt5 backend for python3-matplotlib
-BuildRequires: python3-qt5
+BuildRequires: python3dist(cairocffi)
+BuildRequires: python3dist(pyqt5)
Requires: python3-matplotlib%{?_isa} = %{version}-%{release}
-Requires: python3-qt5
+Requires: python3dist(cairocffi)
+Requires: python3dist(pyqt5)
Obsoletes: python3-matplotlib-qt4 < 3.5.0-0
%description -n python3-matplotlib-qt5
%{summary}
+%package -n python3-matplotlib-qt6
+Summary: Qt6 backend for python3-matplotlib
+BuildRequires: python3dist(cairocffi)
+BuildRequires: python3dist(pyqt6)
+Requires: python3-matplotlib%{?_isa} = %{version}-%{release}
+Requires: python3dist(cairocffi)
+Requires: python3dist(pyqt6)
+
+%description -n python3-matplotlib-qt6
+%{summary}
+
%package -n python3-matplotlib-gtk3
Summary: GTK3 backend for python3-matplotlib
# This should be converted to typelib(Gtk) when supported
@@ -250,9 +262,9 @@ Requires: python3-tkinter
%if %{with wx}
%package -n python3-matplotlib-wx
Summary: WX backend for python3-matplotlib
-BuildRequires: python3-wxpython4
+BuildRequires: python3dist(wxpython)
Requires: python3-matplotlib%{?_isa} = %{version}-%{release}
-Requires: python3-wxpython4
+Requires: python3dist(wxpython)
%description -n python3-matplotlib-wx
%{summary}
@@ -263,7 +275,7 @@ Summary: Documentation files for python-matplotlib
%if %{with html}
BuildRequires: graphviz
BuildRequires: make
-BuildRequires: python3-sphinx
+BuildRequires: python3dist(sphinx)
BuildRequires: tex(latex)
BuildRequires: tex-preview
%endif
@@ -409,6 +421,10 @@ MPLCONFIGDIR=$PWD \
%files -n python3-matplotlib-qt5
%pycached %{python3_sitearch}/matplotlib/backends/backend_qt5*.py
+# This is handled by backend_qt*.py (no number), so the package exists only for
+# the dependencies.
+%files -n python3-matplotlib-qt6
+
%files -n python3-matplotlib-gtk3
%pycached %{python3_sitearch}/matplotlib/backends/backend_gtk3*.py
commit a5632a4923582996d8abe67538a75ba0f0641bf8
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Wed Nov 30 01:57:46 2022 -0500
Update license to SPDX
diff --git a/python-matplotlib.spec b/python-matplotlib.spec
index 66d4b91..b2413e4 100644
--- a/python-matplotlib.spec
+++ b/python-matplotlib.spec
@@ -41,9 +41,9 @@ Version: 3.6.2
Release: %autorelease
Summary: Python 2D plotting library
# qt_editor backend is MIT
-# ResizeObserver at end of lib/matplotlib/backends/web_backend/js/mpl.js is Public
Domain
-License: Python and MIT and Public Domain
-URL:
http://matplotlib.org
+# ResizeObserver at end of lib/matplotlib/backends/web_backend/js/mpl.js is CC0
+License: PSF-2.0 and MIT and CC0-1.0
+URL:
https://matplotlib.org
Source0: %pypi_source matplotlib %{Version}
Source1: mplsetup.cfg
@@ -154,9 +154,9 @@ Obsoletes: python-matplotlib-data < 3
%if %{with bundled_fonts}
%package -n python3-matplotlib-data-fonts
Summary: Fonts used by python-matplotlib
-# STIX and Computer Modern is OFL
+# Carlogo, STIX and Computer Modern is OFL
# DejaVu is Bitstream Vera and Public Domain
-License: OFL and Bitstream Vera and Public Domain
+License: OFL-1.1 and Bitstream-Vera and LicenseRef-Fedora-Public-Domain
BuildArch: noarch
Requires: python3-matplotlib-data = %{version}-%{release}
Obsoletes: python-matplotlib-data-fonts < 3
commit 5f242fa596ae0774a127abf9ab151b91400e6f59
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Wed Nov 30 00:50:21 2022 -0500
Re-enable inkscape testing on s390x
diff --git a/python-matplotlib.spec b/python-matplotlib.spec
index e9c97bb..66d4b91 100644
--- a/python-matplotlib.spec
+++ b/python-matplotlib.spec
@@ -74,9 +74,7 @@ BuildRequires: ghostscript
%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} < 8)
BuildRequires: ImageMagick
%endif
-%ifnarch s390x
BuildRequires: inkscape
-%endif
BuildRequires: font(dejavusans)
BuildRequires: font(notosanscjkjp)