From 7ed582da267e7fc30bf0998dacf22c48985b5fc873fbfe24ea9e76e24cffc401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 25 Oct 2024 15:34:22 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-matplotlib revision 742f0577fa82d47204b9ca3bdcd9a474 --- matplotlib-3.6.3.tar.gz | 3 - matplotlib-3.9.0.tar.gz | 3 + matplotlib-meson-options-opensuse.patch | 13 + matplotlib-mplsetup.cfg | 39 -- python-matplotlib.changes | 463 +++++++++++++++++++++--- python-matplotlib.rpmlintrc | 2 + python-matplotlib.spec | 212 +++++++---- qhull-2020-src-8.0.2.tgz | 3 - qhull-8.0.2.tgz | 3 + 9 files changed, 585 insertions(+), 156 deletions(-) delete mode 100644 matplotlib-3.6.3.tar.gz create mode 100644 matplotlib-3.9.0.tar.gz create mode 100644 matplotlib-meson-options-opensuse.patch delete mode 100644 matplotlib-mplsetup.cfg create mode 100644 python-matplotlib.rpmlintrc delete mode 100644 qhull-2020-src-8.0.2.tgz create mode 100644 qhull-8.0.2.tgz diff --git a/matplotlib-3.6.3.tar.gz b/matplotlib-3.6.3.tar.gz deleted file mode 100644 index 0b603f5..0000000 --- a/matplotlib-3.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f4d69707b1677560cd952544ee4962f68ff07952fb9069ff8c12b56353cb8c9 -size 35868590 diff --git a/matplotlib-3.9.0.tar.gz b/matplotlib-3.9.0.tar.gz new file mode 100644 index 0000000..306f584 --- /dev/null +++ b/matplotlib-3.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6d29ea6c19e34b30fb7d88b7081f869a03014f66fe06d62cc77d5a6ea88ed7a +size 36069890 diff --git a/matplotlib-meson-options-opensuse.patch b/matplotlib-meson-options-opensuse.patch new file mode 100644 index 0000000..0eed96f --- /dev/null +++ b/matplotlib-meson-options-opensuse.patch @@ -0,0 +1,13 @@ +Index: matplotlib-3.9.0/pyproject.toml +=================================================================== +--- matplotlib-3.9.0.orig/pyproject.toml ++++ matplotlib-3.9.0/pyproject.toml +@@ -90,7 +90,7 @@ requires = [ + ] + + [tool.meson-python.args] +-install = ['--tags=data,python-runtime,runtime'] ++install = ['--tags=data,python-runtime,runtime,tests'] + + [tool.setuptools_scm] + version_scheme = "release-branch-semver" diff --git a/matplotlib-mplsetup.cfg b/matplotlib-mplsetup.cfg deleted file mode 100644 index 0202db3..0000000 --- a/matplotlib-mplsetup.cfg +++ /dev/null @@ -1,39 +0,0 @@ - -# Rename this file to mplsetup.cfg to modify Matplotlib's build options. - -[libs] -# By default, Matplotlib builds with LTO, which may be slow if you re-compile -# often, and don't need the space saving/speedup. -# -#enable_lto = True -# -# By default, Matplotlib downloads and builds its own copies of FreeType and of -# Qhull. You may set the following to True to instead link against a system -# FreeType/Qhull. As an exception, Matplotlib defaults to the system version -# of FreeType on AIX. -# -#system_freetype = False -#system_qhull = False - -[packages] -# Some of Matplotlib's components are optional: the MacOSX backend (installed -# by default on MacOSX; requires the Cocoa headers included with XCode), and -# the test data (i.e., the baseline image files; not installed by default). -# You can control whether they are installed by uncommenting the following -# lines. Note that the MacOSX backend is never built on Linux or Windows, -# regardless of the config value. -# -tests = True -#macosx = True - -[rc_options] -# User-configurable options -# -# Default backend, one of: Agg, Cairo, GTK3Agg, GTK3Cairo, GTK4Agg, GTK4Cairo, -# MacOSX, Pdf, Ps, QtAgg, QtCairo, SVG, TkAgg, WX, WXAgg. -# -# The Agg, Ps, Pdf and SVG backends do not require external dependencies. Do -# not choose MacOSX if you have disabled the relevant extension modules. The -# default is determined by fallback. -# -#backend = Agg \ No newline at end of file diff --git a/python-matplotlib.changes b/python-matplotlib.changes index f89f465..dffffe7 100644 --- a/python-matplotlib.changes +++ b/python-matplotlib.changes @@ -1,3 +1,380 @@ +------------------------------------------------------------------- +Wed Oct 23 08:30:59 UTC 2024 - Daniel Garcia + +- Fix tests for Leap 16.0 + +------------------------------------------------------------------- +Thu Oct 3 08:52:39 UTC 2024 - Daniel Garcia + +- Disable nbagg and wx plugin also on Leap16 + +------------------------------------------------------------------- +Wed Jun 5 12:55:45 UTC 2024 - Ben Greiner + +- Update to 3.9.0 + ## Plotting and Annotation improvements + * Axes.inset_axes is no longer experimental + * Legend support for Boxplot + * Percent sign in pie labels auto-escaped with usetex=True + * hatch parameter for stackplot + * Add option to plot only one half of violin plot + * axhline and axhspan on polar axes + * Subplot titles can now be automatically aligned + * axisartist can now be used together with standard Formatters + * Toggle minorticks on Axis + * StrMethodFormatter now respects axes.unicode_minus + ## Figure, Axes, and Legend Layout + * Subfigures now have controllable zorders + * Getters for xmargin, ymargin and zmargin + ## Mathtext improvements + * mathtext documentation improvements + * mathtext spacing corrections + ## Widget Improvements + * Check and Radio Button widgets support clearing + ## 3D plotting improvements + * Setting 3D axis limits now set the limits exactly + ## Other improvements + * New BackendRegistry for plotting backends + * Add widths, heights and angles setter to EllipseCollection + * image.interpolation_stage rcParam + * Arrow patch position is now modifiable + * NonUniformImage now has mouseover support +- Add matplotlib-meson-options-opensuse.patch + +------------------------------------------------------------------- +Thu Apr 18 20:52:01 UTC 2024 - Ben Greiner + +- Update to 3.8.4 + * Enable building against numpy 2.0; released wheels are built + against numpy 2 + * Add a draw during show for macos backend + * Fix color sequence data for Set2 and Set3 + * gtk: Ensure pending draws are done before GTK draw + * Update "Created with" url in hand.svg + * Avoid modifying user input to Axes.bar + * fix quiver3d incorrect arrow colors + +------------------------------------------------------------------- +Sat Mar 23 12:09:06 UTC 2024 - Dirk Müller + +- update to 3.8.3: + * Fix crash at exit for PGF backend + +------------------------------------------------------------------- +Fri Mar 22 09:10:48 UTC 2024 - Matej Cepl + +- Clean up the SPEC file + +------------------------------------------------------------------- +Fri Mar 22 07:47:40 UTC 2024 - Fabian Vogt + +- Add explicit BuildRequires on Mesa-dri, needed to run tests + +------------------------------------------------------------------- +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 + +- Don't build nbagg for python39: ipython not available anymore + +------------------------------------------------------------------- +Fri Feb 23 07:40:01 UTC 2024 - Max Lin + +- Disable nbagg and wx plugin on Leap15/SLE15 + * Leap 15 doesn't have IPython stack with python 3.11 build + * python-wxPython with python 3.11 supported needs wxWidgets + version >= 3.2.0 as the minimal requirement which Leap15/SLE15 + don't have that + +------------------------------------------------------------------- +Tue Jan 23 17:01:35 UTC 2024 - Stefan Dirsch + +- force 'swrast' ("llvmpipe") Mesa/OpenGL driver to be used by + setting and exporting LIBGL_ALWAYS_SOFTWARE=1 to get rid of + issues when Mesa is trying to load 'zink' driver (messages are + just warnings, but seem to be fatal for the tests here) (boo#1219095) + +------------------------------------------------------------------- +Sun Dec 17 17:11:09 UTC 2023 - Ben Greiner + +- Update to 3.8.2 + * Bugfix release without API changes +- API Changes for 3.8.1 + ## Behaviour + * Default behaviour of hexbin with C provided requires at least 1 + point + ## Deprecations + * Deprecations removed in contour +- What's new in 3.8 + ## Type Hints + ## Plotting and Annotation improvements + * Support customizing antialiasing for text and annotation + * rcParams for AutoMinorLocator divisions + * Axline setters and getters + * Clipping for contour plots + * Axes.ecdf + * Figure.get_suptitle(), Figure.get_supxlabel(), + Figure.get_supylabel() + * Ellipse.get_vertices(), Ellipse.get_co_vertices() + * Remove inner ticks in label_outer() + * Configurable legend shadows + * offset parameter for MultipleLocator + * Add a new valid color format (matplotlib_color, alpha) + * The pie chart shadow can be controlled + * PolyQuadMesh is a new class for drawing quadrilateral meshes + * Shadow shade can be controlled + * SpinesProxy now supports calling the set() method + * Allow setting the tick label fonts with a keyword argument + ## Figure, Axes, and Legend Layout + * pad_inches="layout" for savefig + * Add a public method to modify the location of Legend + * rcParams['legend.loc'] now accepts float-tuple inputs + ## Mathtext improvements + * Boldsymbol mathtext command \boldsymbol + * mathtext has more sizable delimiters + * mathtext documentation improvements + * mathtext now supports \substack + * mathtext now supports \middle delimiter + * mathtext operators + * mathtext spacing corrections + * mathtext now supports \text + * Bold-italic mathtext command \mathbfit + ## 3D plotting improvements + * Specify ticks and axis label positions for 3D plots + * 3D hover coordinates + * 3D plots can share view angles + ## Other improvements + * matplotlib.mpl_toolkits is now an implicit namespace package + * Plot Directive now can make responsive images with "srcset" +- API Changes for 3.8.0 + ## Behaviour Changes + * Tk backend respects file format selection when saving figures + * Placing of maximum and minimum minor ticks + * hexbin now defaults to rcParams["patch.linewidth"] + * TwoSlopeNorm now auto-expands to always have two slopes + * Event objects emitted for axes_leave_event + * Streamplot now draws streamlines as one piece if no width or no + color variance + * canvas argument now required for FigureFrameWx + * ContourSet is now a single Collection + * SubFigure default facecolor is now transparent + * Reject size related keyword arguments to MovieWriter grab_frame + method + * Changes of API after deprecation + * Invalid types for Annotation xycoords now raise TypeError + * Default antialiasing behavior changes for Text and Annotation + * ScalarMappable.to_rgba() now respects the mask of RGB(A) arrays + * Text.get_rotation_mode return value + * PostScript paper type adds option to use figure size + * hexbin mincnt parameter made consistently inclusive + ## Deprecations + * Calling paths.get_path_collection_extents with empty offsets + * axes_grid1.axes_divider API changes + * bbox.anchored() with no explicit container + * Functions in mpl_toolkits.mplot3d.proj3d + * Arguments other than renderer to get_tightbbox + * The object returned by pcolor() has changed to a PolyQuadMesh + class + * LocationEvent.lastevent + * allsegs, allkinds, tcolors and tlinewidths attributes of + ContourSet + * ContourSet.collections + * INVALID_NON_AFFINE, INVALID_AFFINE, INVALID attributes of + TransformNode + * Grouper.clean() + * GridHelperCurveLinear.get_data_boundary + * np_load parameter of cbook.get_sample_data + * RendererAgg.tostring_rgb and FigureCanvasAgg.tostring_rgb + * The parameter of Annotation.contains and Legend.contains is + renamed to mouseevent + * Accessing event.guiEvent after event handlers return + * Widgets + * Method parameters renamed to match base classes + * numdecs parameter and attribute of LogLocator + * NavigationToolbar2QT.message is deprecated + * ft2font.FT2Image.draw_rect and ft2font.FT2Font.get_xys + * backend_ps.psDefs + * Callable axisartist Axes + * AnchoredEllipse is deprecated + * Automatic papersize selection in PostScript + * Tick.set_label1 and Tick.set_label2 + * Passing extra positional arguments to Figure.add_axes + * CbarAxesBase.toggle_label + * TexManager.texcache + * Artists explicitly passed in will no longer be filtered by + legend() based on their label + * FigureCanvasBase.switch_backends + * cbook.Stack is deprecated + * inset_location.InsetPosition is deprecated + * axisartist.axes_grid and axisartist.axes_rgb + * ContourSet.antialiased + * Passing non-int or sequence of non-int to + Table.auto_set_column_width + * PdfPages(keep_empty=True) + * Auto-closing of figures when switching backend + * Support for passing the "frac" key in annotate(..., + arrowprops={"frac": ...}) + ## Removals + * cbook removals + * Groupers from get_shared_x_axes / get_shared_y_axes are + immutable + * Deprecated modules removed + * Parameters to plt.figure() and the Figure constructor + * stem(..., use_line_collection=False) + * Positional / keyword arguments + * Methods to set parameters in LogLocator and LogFormatter* + * Axes.get_renderer_cache + * Unused methods in Axis, Tick, XAxis, and YAxis + * mlab.stride_windows + * Axes3D + * 3D Axis + * checkdep_usetex removed + * date_ticker_factory removed + * transforms.Affine2D.identity() + * Removals in testing.decorators + * text.get_rotation() + * Passing too many positional arguments to tripcolor + * The filled argument to Colorbar is removed + * Widgets + * Axes3D.set_frame_on and Axes3D.get_frame_on removed + * Miscellaneous internals + * Backend-specific removals + * Removal of deprecated APIs +- What's new in 3.7 + ## Plotting and Annotation improvements + * hatch parameter for pie + * Polar plot errors drawn in polar coordinates + * Additional format string options in bar_label + * ellipse boxstyle option for annotations + * The extent of imshow can now be expressed with units + * Reversed order of legend entriespcolormesh accepts RGB(A) + colors + * View current appearance settings for ticks, tick labels, and + gridlines + * Style files can be imported from third-party packages + ## Improvements to 3D Plotting + * 3D plot pan and zoom buttons + * adjustable keyword argument for setting equal aspect ratios in + 3D + * Poly3DCollection supports shading + * rcParam for 3D pane color + ## Figure and Axes Layout + * colorbar now has a location keyword argument + * Figure legends can be placed outside figures using + constrained_layout + * Per-subplot keyword arguments in subplot_mosaic + * subplot_mosaic no longer provisional + ## Widget Improvements + * Custom styling of button widgets + * Blitting in Button widgets + ## Other Improvements + * Source links can be shown or hidden for each Sphinx plot + directive + * Figure hooks +- API Changes in 3.7 + ## Behaviour Changes + * All Axes have get_subplotspec and get_gridspec methods now, + which returns None for Axes not positioned via a gridspec + * HostAxesBase.get_aux_axes now defaults to using the same base + axes class as the host axes + * plt.get_cmap and matplotlib.cm.get_cmap return a copy + * TrapezoidMapTriFinder uses different random number generator + * FuncAnimation(save_count=None) + * CenteredNorm halfrange is not modified when vcenter changes + * fig.subplot_mosaic no longer passes the gridspec_kw args to + nested gridspecs. + * HPacker alignment with bottom or top are now correct + * On Windows only fonts known to the registry will be discovered + * QuadMesh.set_array now always raises ValueError for inputs with + incorrect shapes + * contour and contourf auto-select suitable levels when given + boolean inputs + * contour no longer warns if no contour lines are drawn. + * AxesImage.set_extent now raises TypeError for unknown keyword + arguments + * Change of legend(loc="best") behavior + ## Deprecations + * Axes subclasses should override clear instead of cla + * rcParams type + * Deprecation aliases in cbook + * draw_gouraud_triangle + * matplotlib.pyplot.get_plot_commands + * matplotlib.tri submodules are deprecated + * Passing undefined label_mode to Grid + * Colorbars for orphaned mappables are deprecated, but no longer + raise + * Animation attributes + * contour.ClabelText and ContourLabeler.set_label_props + * ContourLabeler attributes + * backend_ps.PsBackendHelper and backend_ps.ps_backend_helper + * backend_webagg.ServerThread is deprecated + * parse_fontconfig_pattern will no longer ignore unknown constant + names + * BufferRegion.to_string and BufferRegion.to_string_argb + * num2julian, julian2num and JULIAN_OFFSET + * unit_cube, tunit_cube, and tunit_edges + * Most arguments to widgets have been made keyword-only + * SimpleEvent + * RadioButtons.circles + * CheckButtons.rectangles and CheckButtons.lines + * OffsetBox.get_extent_offsets and OffsetBox.get_extent + * legend.legendHandles + * ticklabels parameter of Axis.set_ticklabels renamed to labels + * offsetbox.bbox_artist + * Quiver.quiver_doc and Barbs.barbs_doc + * Deprecate unused parameter x to TextBox.begin_typing + * Deprecation of top-level cmap registration and access functions + in mpl.cm + * BrokenBarHCollection is deprecated + * Passing inconsistent loc and nth_coord to axisartist helpers + * passthru_pt + * axes3d.vvec, axes3d.eye, axes3d.sx, and axes3d.sy + * Line2D + ## Removals + * epoch2num and num2epoch are removed + * Locator and Formatter wrapper methods + * Interactive cursor details + * auto_add_to_figure=True for Axes3D + * The first parameter of Axes.grid and Axis.grid has been renamed + to visible + * Removal of deprecations in the Selector widget API + * backend_template.show + * Unused positional parameters to print_ methods + * QuadMesh signature + * Expiration of FancyBboxPatch deprecations + * Testing support + * Auto-removal of grids by pcolor and pcolormesh + * Modification of Axes children sublists + * Passing incorrect types to Axes.add_* methods + * ConversionInterface.convert no longer accepts unitless values + * Normal list of Artist objects now returned by + HandlerLine2D.create_artists + * rcParams will no longer cast inputs to str + * Case-insensitive scales + * Support for nx1 = None or ny1 = None in AxesLocator and + Divider.locate + * change signature of .FigureCanvasBase.enter_notify_event + * Colorbar tick update parameters + * plot directive removals + * Miscellaneous removals +- Drop pyparsing-workaround-setName.patch +- Update the -qt5 backend module name to -qt since it also supports + PyQt6 and PySide{2,6} +- Add nbagg backend subpackage +- Test some optional stuff outside of Ring1 + +------------------------------------------------------------------- +Tue Jul 11 11:10:04 UTC 2023 - Markéta Machová + +- add pyparsing-workaround-setName.patch as a part of a workaround + for boo#1213007 + * it changes the behaviour for the debugging purposes, the laic + end user shouldn't notice + ------------------------------------------------------------------- Mon May 8 06:08:18 UTC 2023 - Johannes Kastl @@ -250,7 +627,7 @@ Sun Dec 12 18:26:25 UTC 2021 - Ben Greiner ------------------------------------------------------------------- Wed Dec 8 04:42:16 UTC 2021 - Steve Kowalik -- Skip some broken tests with new pyparsing. +- Skip some broken tests with new pyparsing. ------------------------------------------------------------------- Sat Oct 23 15:49:11 UTC 2021 - Axel Braun @@ -260,7 +637,7 @@ Sat Oct 23 15:49:11 UTC 2021 - Axel Braun inkscape11.patch 0001-FIX-Pillow-asarray-bug.patch 0002-Dont-modify-arrays-when-masking-values-for-log.patch - + ------------------------------------------------------------------- Tue Jul 27 12:09:25 UTC 2021 - Markéta Machová @@ -461,7 +838,7 @@ Thu Jan 14 20:19:32 UTC 2021 - Benjamin Greiner * fix reading from URL in imread * fix several regressions with new date epoch handling * fix some bad constrained and tight layout interactions with colorbars - * fix use of customized toolbars in TkAgg and WXAgg backends + * fix use of customized toolbars in TkAgg and WXAgg backends - remove transparent_markers.pdf - fix rich rpm recommends - fix broken compilation of cache files @@ -483,19 +860,19 @@ Thu Oct 22 08:59:30 UTC 2020 - Ismail Dönmez Thu Jul 23 09:49:30 UTC 2020 - Benjamin Greiner - Require Pillow -- Bump dependency versions +- Bump dependency versions ------------------------------------------------------------------- Mon Jul 20 21:10:29 UTC 2020 - Benjamin Greiner - Work on unit testing - * Move architecture selection to bcond definition at top of + * Move architecture selection to bcond definition at top of specfile. This makes it clear in the OBS web UI that the test flavor is only built for x86_64 and aarch64 * do not build everything a second time during check (in-place) * instead use new subpackage testdata wich contains the baseline images created at regular build time - * use pytest-xvfb and %pytest macro + * use pytest-xvfb and %pytest macro (buildroot path actually not required) * tidy test skip definitions * add python-gobject-Gdk to pass the gtk3 backend testso @@ -793,7 +1170,7 @@ Wed Sep 19 01:44:55 UTC 2018 - Todd R * Figure has an ~.figure.Figure.add_artist method * math directive renamed to mathmpl - Python 2 support was dropped upstream, so disable it in the spec - file and drop python2-specific parts. + file and drop python2-specific parts (bsc#1184340, bsc#1198319) - Enable wx backend for python 3, since python 3 is now supported by wxPython upstream. @@ -1087,7 +1464,7 @@ Tue Jan 17 17:04:31 UTC 2017 - toddrme2178@gmail.com ------------------------------------------------------------------- Fri Dec 2 12:15:46 UTC 2016 - sbahling@suse.com -- update to version 1.5.3 +- update to version 1.5.3 * Changed default autorange behavior in boxplots (introduced with 1.5.2) - Change BuildRequires and Recommends from python-Pillow to @@ -1133,7 +1510,7 @@ Fri Oct 30 09:07:44 UTC 2015 - toddrme2178@gmail.com * Auto-redraw using the object-oriented API. * Most plotting functions now support labeled data API. * Color cycling has extended to all style properties. - * Four new perceptually uniform color maps, including the + * Four new perceptually uniform color maps, including the soon-to-be default 'viridis'. * More included style sheets. * Many small plotting improvements. @@ -1215,7 +1592,7 @@ Wed Sep 10 10:52:26 UTC 2014 - toddrme2178@gmail.com ------------------------------------------------------------------- Thu Aug 28 14:10:38 UTC 2014 - dmueller@suse.com -- adjust python-tz buildrequires to match runtime requires (python-pytz) +- adjust python-tz buildrequires to match runtime requires (python-pytz) ------------------------------------------------------------------- Wed Aug 27 10:08:07 UTC 2014 - toddrme2178@gmail.com @@ -1228,7 +1605,7 @@ Wed Aug 27 10:08:07 UTC 2014 - toddrme2178@gmail.com - Fixed issues with qt. The qt5 backend is actually a generic qt backend, which the qt4 backend depends on. So it needs to be available for the qt4 backend to work at all. However, we need - to pull in the python-qt5 package to make it work, and that + to pull in the python-qt5 package to make it work, and that package is only available for openSUSE > 13.1. So we need to split the generic qt stuff, including the qt5 stuff, into a package both the qt4 and qt5 backends can depend on, and then @@ -1241,7 +1618,7 @@ Tue Aug 26 12:26:40 UTC 2014 - toddrme2178@gmail.com - Update to 1.4.0 * New colormap for red-green color blind users * Documentation changes - - Phil Elson rewrote of the documentation and userguide for both + - Phil Elson rewrote of the documentation and userguide for both Legend and PathEffects. * New plotting features - Power-law normalization @@ -1255,14 +1632,14 @@ Tue Aug 26 12:26:40 UTC 2014 - toddrme2178@gmail.com - Get a list of all tick labels (major and minor) - Separate horizontal/vertical axes padding support in ImageGrid - Support for skewed transformations - - Support for specifying properties of wedge and text in pie + - Support for specifying properties of wedge and text in pie charts. - Fixed the direction of errorbar upper/lower limits - More consistent add-object API for Axes - Violin Plots - More `markevery` options to show only a subset of markers - Added size related functions to specialized `Collections` - - Fixed the mouse coordinates giving the wrong theta value in + - Fixed the mouse coordinates giving the wrong theta value in Polar graph - Simple quiver plot for mplot3d toolkit - polar-plot r-tick locations @@ -1273,27 +1650,27 @@ Tue Aug 26 12:26:40 UTC 2014 - toddrme2178@gmail.com - 'axes.titleweight' - 'axes.formatter.useoffset' added * XDG compliance - - Matplotlib now looks for configuration files (both rcparams and + - Matplotlib now looks for configuration files (both rcparams and style) in XDG compliant locations. * 'style' package added - - You can now easily switch between different styles using the + - You can now easily switch between different styles using the new 'style' package * Backends - Qt5 backend added - Qt4 backend + Rudolf Höfler changed the appearance of the subplottool. - + In the figure options dialog one can now choose to + + In the figure options dialog one can now choose to (re-)generate a simple automatic legend. - + Interactive performance of the Qt4 backend has been + + Interactive performance of the Qt4 backend has been dramatically improved under windows. - + The mapping of key-signals from Qt to values matplotlib + + The mapping of key-signals from Qt to values matplotlib understands was greatly improved (For both Qt4 and Qt5). - Cairo backends - + The Cairo backends are now able to use the cairocffi + + The Cairo backends are now able to use the cairocffi bindings, which are more actively maintained than the pycairo bindings. - Gtk3Agg backend - + The Gtk3Agg backend now works on Python 3.x, if the cairocffi + + The Gtk3Agg backend now works on Python 3.x, if the cairocffi bindings are installed. - PDF backend + Added context manager for saving to multi-page PDFs. @@ -1301,13 +1678,13 @@ Tue Aug 26 12:26:40 UTC 2014 - toddrme2178@gmail.com - Text URLs supported by SVG backend - Anchored sizebar font * Sphinx extensions - - The context directive in the plot_directive Sphinx extension - can now accept an optional reset setting, which will cause the + - The context directive in the plot_directive Sphinx extension + can now accept an optional reset setting, which will cause the context to be reset. * Widgets - Span Selector - * Added an option span_stays to SpanSelector which makes the - selector rectangle stay on the axes after you release the + * Added an option span_stays to SpanSelector which makes the + selector rectangle stay on the axes after you release the mouse. * GAE integration - Matplotlib will now run on google app engine. @@ -1322,12 +1699,12 @@ Wed Jul 16 14:42:54 UTC 2014 - toddrme2178@gmail.com ------------------------------------------------------------------- Thu Apr 10 16:48:36 UTC 2014 - dmueller@suse.com -- install LICENSE directory and fix license tag +- install LICENSE directory and fix license tag ------------------------------------------------------------------- Wed Apr 9 09:18:56 UTC 2014 - dmueller@suse.com -- add use-setuptools.diff: build against old setuptools as well +- add use-setuptools.diff: build against old setuptools as well ------------------------------------------------------------------- Fri Mar 28 15:48:46 UTC 2014 - speilicke@suse.com @@ -1396,12 +1773,12 @@ Wed Aug 21 05:25:57 UTC 2013 - highwaystar.ru@gmail.com * Better vertical text alignment and multi-line text * Left and right side axes titles * Improved manual contour plot label positioning -- Configuration (rcParams) +- Configuration (rcParams) * Quickly find rcParams * Changes to font rcParams - Backends * WebAgg backend - * Remember save directory + * Remember save directory - Documentation and examples: * Numpydoc docstrings * Example reorganization @@ -1411,8 +1788,8 @@ Wed Aug 21 05:25:57 UTC 2013 - highwaystar.ru@gmail.com * New setup script * XDG base directory support * Catch opening too many figures using pyplot -- for API changes see - http://matplotlib.org/api/api_changes.html#changes-in-1-3 +- for API changes see + http://matplotlib.org/api/api_changes.html#changes-in-1-3 - removed patches needed for python3 package ------------------------------------------------------------------- @@ -1432,7 +1809,7 @@ Mon Nov 12 04:24:19 UTC 2012 - highwaystar.ru@gmail.com * New hist functionality * Updated shipped dependencies * Face-centred colors in tripcolor plots - * Hatching patterns in filled contour plots, with legends + * Hatching patterns in filled contour plots, with legends - python3 package added ------------------------------------------------------------------- @@ -1469,17 +1846,17 @@ Wed Dec 14 08:56:13 UTC 2011 - highwaystar.ru@gmail.com - update to 1.1.0 * module for drawing sankey diagrams; * environment for creating animated graphics – module animation; - * automated positioning charts, labels, and axes on the canvas – a - team tight_layout () will distribute them so that they are not + * automated positioning charts, labels, and axes on the canvas – a + team tight_layout () will distribute them so that they are not people came to each other; - * Work on integration with PySide, although functional is still - in the beta-version and it is recommended to continue using + * Work on integration with PySide, although functional is still + in the beta-version and it is recommended to continue using PyQt4; * improved mapping and positioning of the legend; - * simplified work with three-dimensional graphs (module mplot3d), + * simplified work with three-dimensional graphs (module mplot3d), also significantly expanded and updated documentation on mplot3d; * uniform markers; - * completely removed the old module support Numerix, now all + * completely removed the old module support Numerix, now all users must use Numpy; * fixes some bugs. - removed patches that now upstream @@ -1497,7 +1874,7 @@ Tue Oct 11 12:27:54 UTC 2011 - jmatejek@suse.com ------------------------------------------------------------------- Mon Aug 15 02:00:37 CEST 2011 - ro@suse.de -- fix build for platform == linux3 +- fix build for platform == linux3 ------------------------------------------------------------------- Mon Jan 24 12:58:1 UTC 2011 - toddrme2178@gmail.com @@ -1505,14 +1882,14 @@ Mon Jan 24 12:58:1 UTC 2011 - toddrme2178@gmail.com - new version 1.0.1 This is a bugfix release: - + Fixed error with Hammer projection. - + Fixed the placement and angle of axis labels in 3D plots. + + Fixed error with Hammer projection. + + Fixed the placement and angle of axis labels in 3D plots. + New rc parameters examples.download and examples.directory allow bypassing the download mechanism in get_sample_data. + Change Axis.set_view_interval() so that when updating an existing interval, it respects the orientation of that interval, and can enlarge but not reduce the interval. - + Handle NaN's correctly in path analysis routines. + + Handle NaN's correctly in path analysis routines. + Fix bug in patch alpha handling, and in bar color kwarg + Return Qt4's default cursor when leaving the canvas @@ -1576,7 +1953,7 @@ Sat Aug 9 00:00:00 UTC 2008 - werner.ho@gmx.de Tue Aug 5 00:00:00 UTC 2008 - werner.ho@gmx.de - new version 0.91.4 - + ------------------------------------------------------------------- Wed Jul 16 00:00:00 CET 2008 - Andrea Florio diff --git a/python-matplotlib.rpmlintrc b/python-matplotlib.rpmlintrc new file mode 100644 index 0000000..aef3ffa --- /dev/null +++ b/python-matplotlib.rpmlintrc @@ -0,0 +1,2 @@ +# Empty type stubs are valid type stubs +addFilter("zero-length .*pyi") diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 8198576..1bf376e 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-matplotlib # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,8 @@ # +%define SLE_VERSION 1600 + %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -26,19 +28,22 @@ ExclusiveArch: x86_64 aarch64 %define psuffix %{nil} %bcond_with test %endif - +%bcond_with ringdisabled %{?sle15_python_module_pythons} Name: python-matplotlib%{psuffix} -Version: 3.6.3 +Version: 3.9.0 Release: 0 Summary: Plotting Library for Python License: SUSE-Matplotlib URL: https://matplotlib.org +# SourceRepository: https://github.com/matplotlib/matplotlib Source: https://files.pythonhosted.org/packages/source/m/matplotlib/matplotlib-%{version}.tar.gz -Source1: matplotlib-mplsetup.cfg -# Bundled version of freetype and qhull for testing purposes only -Source98: http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz +# Use fixed versions of freetype and qhull for imagecomparison tests to succeed. See lib/matplotlib/__init__.py:_init_tests() and the meson .wrap files in subprojects/ +Source98: https://github.com/qhull/qhull/archive/v8.0.2/qhull-8.0.2.tar.gz#/qhull-8.0.2.tgz Source99: https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz +Source100: python-matplotlib.rpmlintrc +# PATCH-FEATURE-OPENSUSE matplotlib-meson-options-opensuse.patch code@bnavigator.de -- Custom build options for meson-python +Patch0: matplotlib-meson-options-opensuse.patch Recommends: ghostscript Recommends: libxml2-tools Recommends: poppler-tools @@ -47,12 +52,12 @@ Recommends: (%{python_flavor}-matplotlib-tk if tk) Provides: python-matplotlib-gtk = %{version} Obsoletes: python-matplotlib-gtk < %{version} # SECTION build -BuildRequires: %{python_module devel >= 3.8} -BuildRequires: %{python_module numpy-devel >= 1.19} +BuildRequires: %{python_module devel >= 3.9} +BuildRequires: %{python_module meson-python >= 0.13.1} +BuildRequires: %{python_module numpy-devel >= 1.25 with %python-numpy-devel < 2.3} BuildRequires: %{python_module pip} +BuildRequires: %{python_module pybind11-devel >= 2.6} BuildRequires: %{python_module setuptools_scm >= 7} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: pkgconfig @@ -68,13 +73,16 @@ BuildRequires: pkgconfig(tcl) # SECTION runtime Requires: python-Cycler >= 0.10 Requires: python-FontTools >= 4.22.0 -Requires: python-Pillow >= 6.2.0 +Requires: python-Pillow >= 8 Requires: python-contourpy >= 1.0.1 -Requires: python-kiwisolver >= 1.0.1 -Requires: python-numpy >= 1.19 +Requires: python-kiwisolver >= 1.3.1 +Requires: python-numpy >= 1.23 Requires: python-packaging >= 20.0 -Requires: python-pyparsing > 2.2.1 +Requires: python-pyparsing > 2.3.1 Requires: python-python-dateutil >= 2.7 +%if 0%{?python_version_nodots} < 310 +Requires: python-importlib-resources >= 3.2.0 +%endif # /SECTION # SECTION test %if %{with test} @@ -86,17 +94,44 @@ BuildRequires: %{python_module matplotlib-qt5 = %{version}} BuildRequires: %{python_module matplotlib-testdata = %{version}} BuildRequires: %{python_module matplotlib-tk = %{version}} BuildRequires: %{python_module matplotlib-web = %{version}} -BuildRequires: %{python_module matplotlib-wx = %{version}} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xvfb} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytz} +%if 0%{?suse_version} > %SLE_VERSION +BuildRequires: %{python_module matplotlib-nbagg = %{version} if %python-base >= 3.10} +%endif +%if 0%{?suse_version} > %SLE_VERSION +BuildRequires: %{python_module matplotlib-wx = %{version}} +%endif # SECTION latex test dependencies BuildRequires: %{python_module matplotlib-latex = %{version}} +BuildRequires: Mesa-dri BuildRequires: ghostscript BuildRequires: inkscape BuildRequires: poppler-tools -# /SECTION +# /SECTION latex +# SECTION cairo backend options +BuildRequires: %{python_module cairo >= 1.14.0} +BuildRequires: %{python_module cairocffi >= 0.8} +# /SECTION cairo +# SECTION nbagg backend tests +%if %{without ringdisabled} && 0%{?suse_version} > %SLE_VERSION +BuildRequires: %{python_module nbconvert if %python-base >= 3.10} +BuildRequires: %{python_module nbformat if %python-base >= 3.10} +%endif +# /SECTION nbagg +# SECTION qt backends: Only test PyQt5 in Minimal-X +BuildRequires: %{python_module qt5} +%if %{without ringdisabled} +%if 0%{?suse_version} > %SLE_VERSION +BuildRequires: %{python_module PyQt6} +BuildRequires: python3-pyside2 +BuildRequires: python3-pyside6 +%endif +%endif +# /SECTION qt # /SECTION test %endif %python_subpackages @@ -111,7 +146,7 @@ application servers, and six graphical user interface toolkits. %package cairo Summary: Cairo backend for %{name} Requires: %{name} = %{version} -Requires: python-cairo +Requires: (python-cairo or python-cairocffi) %description cairo This package includes the non-interactive Cairo-based backend @@ -147,6 +182,15 @@ 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} +Requires: python-ipykernel + +%description nbagg +This package includes the Jupyter notebook backend +for the %{name} plotting package + %package latex Summary: Allow rendering latex in %{name} Requires: %{name} = %{version} @@ -163,6 +207,7 @@ Requires: texlive-sfmath Requires: texlive-tex Requires: texlive-txfonts Requires: texlive-xcolor +Requires: texlive-xetex Requires: tex(avant.sty) Requires: tex(chancery.sty) Requires: tex(charter.sty) @@ -183,16 +228,20 @@ BuildArch: noarch This package allows %{name} to display latex in plots and figures. -%package qt5 -Summary: Qt5 backend for %{name} +%package qt +Summary: Qt backend for %{name} Requires: %{name} = %{version} -Requires: python-qt5 +Requires: (python-qt5 or python-PyQt6 >= 6.1 or python-pyside2 or python-pyside6) Provides: %{name}-qt-shared = %{version} +Provides: %{name}-qt5 = %{version} Obsoletes: %{name}-qt-shared < %{version} +# Renamed at upgrade from MPL 3.6.3 to 3.8.2 +Obsoletes: %{name}-qt5 < 3.8.2 -%description qt5 -This package includes the Qt5-based pyqt5 backend +%description qt +This package includes the Qt-based backend for the %{name} plotting package +PyQt5, PyQt6, Pyside2 or Pyside 6 may be used %package testdata Summary: Test data for %{name} @@ -207,7 +256,7 @@ Summary: Tk backend for %{name} Requires: %{name} = %{version} Requires: python-Pillow-tk Requires: python-tk -Requires: tcl >= 8.3 +Requires: tcl >= 8.5 %description tk This package includes the Tk-based tkagg backend @@ -222,6 +271,7 @@ Requires: python-tornado This package includes the browser-based webagg backend for the %{name} plotting package +%if 0%{?suse_version} > %SLE_VERSION %package wx Summary: WxWidgets backend for %{name} Requires: %{name} = %{version} @@ -230,30 +280,28 @@ Requires: python-wxPython >= 4 %description wx This package includes the wxWidgets-based wxagg backend for %{name} plotting package +%endif %prep %autosetup -p1 -n matplotlib-%{version} -# Copy freetype to the right location, so that matplotlib will not try to download it -mkdir -p ~/.cache/matplotlib/ -SHA=($(sha256sum %{SOURCE98})) -cp %{SOURCE98} ~/.cache/matplotlib/${SHA} -SHA=($(sha256sum %{SOURCE99})) -cp %{SOURCE99} ~/.cache/matplotlib/${SHA} - +# Copy freetype and qhull to the right location, so that matplotlib will not try to download it +mkdir subprojects/packagecache +cp %{SOURCE98} %{SOURCE99} subprojects/packagecache/ chmod -x lib/matplotlib/mpl-data/images/*.svg -find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec sed -i "s|#!\/usr\/bin\/env python||" {} \; -find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec sed -i "s|#!\/usr\/bin\/python||" {} \; -cp %{SOURCE1} mplsetup.cfg -# The setup procedure wants certifi to download packages over https. Not applicable here. -sed -i '/"certifi>=.*"/ d' setup.py +find lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec sed -i "1{/#!.*python/ d}" {} \; +%{python_expand # use the last python in the buildset as generator (only the pythons in the buildset have setuptools_scm installed) +myprimarypython=%{__$python} +} +sed -i "s|find_program('python3')|'$myprimarypython'|" meson.build +find tools -type f -name "*.py" -exec sed -i "1{s|^#!.*python\S*|#!$myprimarypython|}" {} \; %build -%if !%{with test} +%if %{without test} %pyproject_wheel %endif %install -%if !%{with test} +%if %{without test} %pyproject_install %{python_expand sed -i -e "s/install matplotlib from source/install the $python-matplotlib-testdata package/" \ %{buildroot}%{$python_sitearch}/matplotlib/tests/__init__.py @@ -264,6 +312,11 @@ sed -i '/"certifi>=.*"/ d' setup.py %if %{with test} %check +# force 'swrast' ("llvmpipe") Mesa/OpenGL driver to be used by +# setting and exporting LIBGL_ALWAYS_SOFTWARE=1 to get rid of +# issues when Mesa is trying to load 'zink' driver (messages are +# just warnings, but seem to be fatal for the tests here) (boo#1219095) +export LIBGL_ALWAYS_SOFTWARE=1 # fails to detect alternative backend within xvfb skip_tests+=" or test_backend_fallback_headful" # test_usetex.py::test_usetex[png] - no tex text -- do not skip test_empty[png] and test_unicode_minus[png] @@ -282,33 +335,51 @@ skip_tests+=" or _sigint" skip_tests+=" or test_get_font_names" # different default font skip_tests+=" or test_bold_font_output_with_none_fonttype" +# different position values on python311 (different version in a dependency or different font?) +skip_tests+=" or test_compressed1" %ifnarch x86_64 # image comparison failures due to precisions dicrepancies to the x86 produced references skip_tests+=" or png or svg or pdf" %endif -# backend tests landing in the wrong xdist process may fail with an error. Test them without xdist. -no_xdist="test_backend or test_span_selector_animated_artists_callback" -%{pytest_arch --pyargs matplotlib.tests \ - --pyargs mpl_toolkits.tests \ - -n auto \ - -m "not network" \ - -vv \ - -k "not (${no_xdist} ${skip_tests})" -} -%pytest_arch --pyargs matplotlib.tests -k "(${no_xdist}) and not (${skip_tests:4})" +# Fails in SLFO:Main +%if 0%{?suse_version} <= %SLE_VERSION +# Timeout, this test freeze forever +skip_tests+=" or test_determinism" +skip_tests+=" or test_pcolormesh[png] or test_pcolormesh_alpha[png]" %endif -%if !%{with test} +# backend tests landing in the wrong xdist process may fail with an error. Test them without xdist. +no_xdist="test_backend or test_span_selector_animated_artists_callback" +%{python_expand # see https://matplotlib.org/devdocs/devel/testing.html#testing +# if one of the pyargs modules is not present, the xargs collection looks empty +# Ignore ImportWarning that happens with gtk3 +$python -m pytest --pyargs matplotlib.tests \ + mpl_toolkits.axes_grid1.tests \ + mpl_toolkits.axisartist.tests \ + mpl_toolkits.mplot3d.tests \ + -n auto \ + -W "ignore::ImportWarning" \ + -m "not network" \ + -vv -rsfE \ + -k "not (${no_xdist} ${skip_tests})" +$python -m pytest --pyargs matplotlib.tests \ + -vv -rsfE \ + -W "ignore::ImportWarning" \ + -k "(${no_xdist}) and not (${skip_tests:4})" +} +%endif + +%if %{without test} %files %{python_files} -%doc README.rst -%doc examples/ +%doc README.md %license LICENSE/ -%license doc/users/project/license.rst -%{python_sitearch}/matplotlib/ +%{python_sitearch}/matplotlib %{python_sitearch}/matplotlib-%{version}.dist-info -%{python_sitearch}/matplotlib-%{version}-py*-nspkg.pth -%{python_sitearch}/mpl_toolkits +%dir %{python_sitearch}/mpl_toolkits +%{python_sitearch}/mpl_toolkits/axes_grid1 +%{python_sitearch}/mpl_toolkits/axisartist +%{python_sitearch}/mpl_toolkits/mplot3d %{python_sitearch}/pylab.py* %pycache_only %{python_sitearch}/__pycache__/pylab.* %exclude %{python_sitearch}/matplotlib/backends/_backend_tk.py @@ -320,6 +391,7 @@ no_xdist="test_backend or test_span_selector_animated_artists_callback" %exclude %{python_sitearch}/matplotlib/backends/backend_gtk4.* %exclude %{python_sitearch}/matplotlib/backends/backend_gtk4agg.* %exclude %{python_sitearch}/matplotlib/backends/backend_gtk4cairo.* +%exclude %{python_sitearch}/matplotlib/backends/backend_nbagg.* %exclude %{python_sitearch}/matplotlib/backends/backend_qt5.* %exclude %{python_sitearch}/matplotlib/backends/backend_qt5agg.* %exclude %{python_sitearch}/matplotlib/backends/backend_qt5cairo.py* @@ -342,6 +414,7 @@ no_xdist="test_backend or test_span_selector_animated_artists_callback" %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk4.*.py* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk4agg.*.py* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk4cairo.*.py* +%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_nbagg.*.py* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5.*.py* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*.py* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5cairo.*.py* @@ -354,23 +427,22 @@ no_xdist="test_backend or test_span_selector_animated_artists_callback" %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxcairo.*.py* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py* %exclude %{python_sitearch}/matplotlib/tests/baseline_images +%exclude %{python_sitearch}/mpl_toolkits/axes_grid1/tests/baseline_images +%exclude %{python_sitearch}/mpl_toolkits/axisartist/tests/baseline_images +%exclude %{python_sitearch}/mpl_toolkits/mplot3d/tests/baseline_images %exclude %{python_sitearch}/matplotlib/tests/tinypages -%exclude %{python_sitearch}/mpl_toolkits/tests/baseline_images # Dummy package to pull in latex dependencies. %files %{python_files latex} %license LICENSE/ -%license doc/users/project/license.rst %files %{python_files cairo} %license LICENSE/ -%license doc/users/project/license.rst %{python_sitearch}/matplotlib/backends/backend_cairo.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*.py* %files %{python_files gtk3} %license LICENSE/ -%license doc/users/project/license.rst %{python_sitearch}/matplotlib/backends/backend_gtk3.py* %{python_sitearch}/matplotlib/backends/backend_gtk3agg.py* %{python_sitearch}/matplotlib/backends/backend_gtk3cairo.py* @@ -380,7 +452,6 @@ no_xdist="test_backend or test_span_selector_animated_artists_callback" %files %{python_files gtk4} %license LICENSE/ -%license doc/users/project/license.rst %{python_sitearch}/matplotlib/backends/backend_gtk4.py* %{python_sitearch}/matplotlib/backends/backend_gtk4agg.py* %{python_sitearch}/matplotlib/backends/backend_gtk4cairo.py* @@ -390,13 +461,18 @@ no_xdist="test_backend or test_span_selector_animated_artists_callback" %files %{python_files gtk-common} %license LICENSE/ -%license doc/users/project/license.rst %{python_sitearch}/matplotlib/backends/_backend_gtk.py %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/_backend_gtk.*.py* -%files %{python_files qt5} +%if 0%{?suse_version} > %SLE_VERSION && 0%{?python_version_nodots} >= 310 +%files %{python_files nbagg} +%license LICENSE/ +%{python_sitearch}/matplotlib/backends/backend_nbagg.py* +%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_nbagg.*.py* +%endif + +%files %{python_files qt} %license LICENSE/ -%license doc/users/project/license.rst %{python_sitearch}/matplotlib/backends/backend_qt5.py* %{python_sitearch}/matplotlib/backends/backend_qt5agg.py* %{python_sitearch}/matplotlib/backends/backend_qt5cairo.py* @@ -409,16 +485,16 @@ no_xdist="test_backend or test_span_selector_animated_artists_callback" %files %{python_files testdata} %license LICENSE/ -%license doc/users/project/license.rst %{python_sitearch}/matplotlib/tests/baseline_images +%{python_sitearch}/mpl_toolkits/axes_grid1/tests/baseline_images +%{python_sitearch}/mpl_toolkits/axisartist/tests/baseline_images +%{python_sitearch}/mpl_toolkits/mplot3d/tests/baseline_images %{python_sitearch}/matplotlib/tests/tinypages -%{python_sitearch}/mpl_toolkits/tests/baseline_images %exclude %{python_sitearch}/matplotlib/tests/tinypages/.gitignore %exclude %{python_sitearch}/matplotlib/tests/tinypages/_static/.gitignore %files %{python_files tk} %license LICENSE/ -%license doc/users/project/license.rst %{python_sitearch}/matplotlib/backends/_backend_tk.py* %{python_sitearch}/matplotlib/backends/backend_tkagg.py* %{python_sitearch}/matplotlib/backends/backend_tkcairo.py* @@ -428,7 +504,6 @@ no_xdist="test_backend or test_span_selector_animated_artists_callback" %files %{python_files web} %license LICENSE/ -%license doc/users/project/license.rst %{python_sitearch}/matplotlib/backends/backend_webagg.py* %{python_sitearch}/matplotlib/backends/backend_webagg_core.py* %{python_sitearch}/matplotlib/backends/web_backend/ @@ -436,9 +511,9 @@ no_xdist="test_backend or test_span_selector_animated_artists_callback" %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py* +%if 0%{?suse_version} > %SLE_VERSION %files %{python_files wx} %license LICENSE/ -%license doc/users/project/license.rst %{python_sitearch}/matplotlib/backends/backend_wx.py* %{python_sitearch}/matplotlib/backends/backend_wxagg.py* %{python_sitearch}/matplotlib/backends/backend_wxcairo.py* @@ -446,5 +521,6 @@ no_xdist="test_backend or test_span_selector_animated_artists_callback" %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxagg.*.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxcairo.*.py* %endif +%endif %changelog diff --git a/qhull-2020-src-8.0.2.tgz b/qhull-2020-src-8.0.2.tgz deleted file mode 100644 index fc2c353..0000000 --- a/qhull-2020-src-8.0.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e -size 1298874 diff --git a/qhull-8.0.2.tgz b/qhull-8.0.2.tgz new file mode 100644 index 0000000..b4edd75 --- /dev/null +++ b/qhull-8.0.2.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8774e9a12c70b0180b95d6b0b563c5aa4bea8d5960c15e18ae3b6d2521d64f8b +size 1307301