diff --git a/matplotlib-3.2.2.tar.gz b/matplotlib-3.2.2.tar.gz deleted file mode 100644 index e5b40a9..0000000 --- a/matplotlib-3.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3d77a6630d093d74cbbfebaa0571d00790966be1ed204e4a8239f5cbd6835c5d -size 40295831 diff --git a/matplotlib-3.3.0.tar.gz b/matplotlib-3.3.0.tar.gz new file mode 100644 index 0000000..e26d39d --- /dev/null +++ b/matplotlib-3.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24e8db94948019d531ce0bcd637ac24b1c8f6744ac86d2aa0eb6dbaeb1386f82 +size 38782487 diff --git a/no-builddir-freetype.patch b/no-builddir-freetype.patch index 5112038..d6c3e3f 100644 --- a/no-builddir-freetype.patch +++ b/no-builddir-freetype.patch @@ -1,30 +1,30 @@ -Index: matplotlib-3.2.1/setupext.py +Index: matplotlib-3.3.0/setupext.py =================================================================== ---- matplotlib-3.2.1.orig/setupext.py -+++ matplotlib-3.2.1/setupext.py -@@ -514,7 +514,7 @@ class FreeType(SetupPackage): - ext.sources.insert(0, 'src/checkdep_freetype2.c') - if options.get('local_freetype'): - src_path = pathlib.Path( -- 'build', f'freetype-{LOCAL_FREETYPE_VERSION}') -+ f'freetype-{LOCAL_FREETYPE_VERSION}') +--- matplotlib-3.3.0.orig/setupext.py ++++ matplotlib-3.3.0/setupext.py +@@ -526,7 +526,7 @@ class FreeType(SetupPackage): + default_libraries=['freetype']) + ext.define_macros.append(('FREETYPE_BUILD_TYPE', 'system')) + else: +- src_path = Path('build', f'freetype-{LOCAL_FREETYPE_VERSION}') ++ src_path = Path(f'freetype-{LOCAL_FREETYPE_VERSION}') # Statically link to the locally-built freetype. # This is certainly broken on Windows. ext.include_dirs.insert(0, str(src_path / 'include')) -@@ -541,7 +541,7 @@ class FreeType(SetupPackage): - if not options.get('local_freetype'): +@@ -543,7 +543,7 @@ class FreeType(SetupPackage): + if options.get('system_freetype'): return -- src_path = pathlib.Path('build', f'freetype-{LOCAL_FREETYPE_VERSION}') -+ src_path = pathlib.Path(f'freetype-{LOCAL_FREETYPE_VERSION}') +- src_path = Path('build', f'freetype-{LOCAL_FREETYPE_VERSION}') ++ src_path = Path(f'freetype-{LOCAL_FREETYPE_VERSION}') # We've already built freetype if sys.platform == 'win32': -@@ -555,7 +555,6 @@ class FreeType(SetupPackage): +@@ -557,7 +557,6 @@ class FreeType(SetupPackage): # do we need to download / load the source from cache? if not src_path.exists(): - os.makedirs('build', exist_ok=True) - url_fmts = [ - ('https://downloads.sourceforge.net/project/freetype' + tarball = f'freetype-{LOCAL_FREETYPE_VERSION}.tar.gz' + target_urls = [ diff --git a/python-matplotlib.changes b/python-matplotlib.changes index 9649cc9..e1fccb9 100644 --- a/python-matplotlib.changes +++ b/python-matplotlib.changes @@ -1,3 +1,61 @@ +------------------------------------------------------------------- +Sat Jul 18 19:20:56 UTC 2020 - Todd R + +- update to version 3.3.0 + + Figure and Axes creation / management + * Provisional API for composing semantic axes layouts from text or nested lists + * GridSpec.subplots() + * New Axes.sharex, Axes.sharey methods + * tight_layout now supports suptitle + * Setting axes box aspect + + Colors and colormaps + * Turbo colormap + * colors.BoundaryNorm supports extend keyword argument + * Text color for legend labels + * Pcolor and Pcolormesh now accept shading='nearest' and 'auto' + + Titles, ticks, and labels + * Align labels to Axes edges + * Allow tick formatters to be set with str or function inputs + * Axes.set_title gains a y keyword argument to control auto positioning + * Offset text is now set to the top when using axis.tick_top() + * Set zorder of contour labels + + Other changes + * New Axes.axline method + * imshow now coerces 3D arrays with depth 1 to 2D + * Better control of Axes.pie normalization + * Dates use a modern epoch + * Lines now accept MarkerStyle instances as input + + Fonts + * Simple syntax to select fonts by absolute path + * Improved font weight detection + + rcParams improvements + * matplotlib.rc_context can be used as a decorator + * rcParams for controlling default "raise window" behavior + * Add generalized mathtext.fallback to rcParams + * Add contour.linewidth to rcParams + + 3D Axes improvements + * Axes3D no longer distorts the 3D plot to match the 2D aspect ratio + * 3D axes now support minor ticks + * Home/Forward/Backward buttons now work with 3D axes + + Interactive tool improvements + * More consistent toolbar behavior across backends + * Toolbar icons are now styled for dark themes + * Cursor text now uses a number of significant digits matching pointing precision + * GTK / Qt zoom rectangle now black and white + * Event handler simplifications + + Functions to compute a Path's size + * Better interface for Path segment iteration + * Fixed bug that computed a Path's Bbox incorrectly + + Backend-specific improvements + * savefig() gained a backend keyword argument + * The SVG backend can now render hatches with transparency + * SVG supports URLs on more artists + * Images in SVG will no longer be blurred in some viewers + * Saving SVG now supports adding metadata + * Saving PDF metadata via PGF now consistent with PDF backend + * NbAgg and WebAgg no longer use jQuery & jQuery UI +- Rebase no-builddir-freetype.patch + ------------------------------------------------------------------- Wed Jun 24 02:32:47 UTC 2020 - Todd R diff --git a/python-matplotlib.spec b/python-matplotlib.spec index f1dda38..a00ae4d 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -29,7 +29,7 @@ %bcond_with test %endif Name: python-matplotlib%{psuffix} -Version: 3.2.2 +Version: 3.3.0 Release: 0 Summary: Plotting Library for Python License: SUSE-Matplotlib