Accepting request 821680 from home:TheBlackCat:branches:devel:languages:python:numeric

- 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

OBS-URL: https://build.opensuse.org/request/show/821680
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=33
This commit is contained in:
Todd R 2020-07-18 19:48:28 +00:00 committed by Git OBS Bridge
parent 82960d35ad
commit b550c4f9fa
5 changed files with 78 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d77a6630d093d74cbbfebaa0571d00790966be1ed204e4a8239f5cbd6835c5d
size 40295831

3
matplotlib-3.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24e8db94948019d531ce0bcd637ac24b1c8f6744ac86d2aa0eb6dbaeb1386f82
size 38782487

View File

@ -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.3.0.orig/setupext.py
+++ matplotlib-3.2.1/setupext.py +++ matplotlib-3.3.0/setupext.py
@@ -514,7 +514,7 @@ class FreeType(SetupPackage): @@ -526,7 +526,7 @@ class FreeType(SetupPackage):
ext.sources.insert(0, 'src/checkdep_freetype2.c') default_libraries=['freetype'])
if options.get('local_freetype'): ext.define_macros.append(('FREETYPE_BUILD_TYPE', 'system'))
src_path = pathlib.Path( else:
- 'build', f'freetype-{LOCAL_FREETYPE_VERSION}') - src_path = Path('build', f'freetype-{LOCAL_FREETYPE_VERSION}')
+ f'freetype-{LOCAL_FREETYPE_VERSION}') + src_path = Path(f'freetype-{LOCAL_FREETYPE_VERSION}')
# Statically link to the locally-built freetype. # Statically link to the locally-built freetype.
# This is certainly broken on Windows. # This is certainly broken on Windows.
ext.include_dirs.insert(0, str(src_path / 'include')) ext.include_dirs.insert(0, str(src_path / 'include'))
@@ -541,7 +541,7 @@ class FreeType(SetupPackage): @@ -543,7 +543,7 @@ class FreeType(SetupPackage):
if not options.get('local_freetype'): if options.get('system_freetype'):
return return
- src_path = pathlib.Path('build', f'freetype-{LOCAL_FREETYPE_VERSION}') - src_path = Path('build', f'freetype-{LOCAL_FREETYPE_VERSION}')
+ src_path = pathlib.Path(f'freetype-{LOCAL_FREETYPE_VERSION}') + src_path = Path(f'freetype-{LOCAL_FREETYPE_VERSION}')
# We've already built freetype # We've already built freetype
if sys.platform == 'win32': 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? # do we need to download / load the source from cache?
if not src_path.exists(): if not src_path.exists():
- os.makedirs('build', exist_ok=True) - os.makedirs('build', exist_ok=True)
url_fmts = [ tarball = f'freetype-{LOCAL_FREETYPE_VERSION}.tar.gz'
('https://downloads.sourceforge.net/project/freetype' target_urls = [

View File

@ -1,3 +1,61 @@
-------------------------------------------------------------------
Sat Jul 18 19:20:56 UTC 2020 - Todd R <toddrme2178@gmail.com>
- 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 <toddrme2178@gmail.com> Wed Jun 24 02:32:47 UTC 2020 - Todd R <toddrme2178@gmail.com>

View File

@ -29,7 +29,7 @@
%bcond_with test %bcond_with test
%endif %endif
Name: python-matplotlib%{psuffix} Name: python-matplotlib%{psuffix}
Version: 3.2.2 Version: 3.3.0
Release: 0 Release: 0
Summary: Plotting Library for Python Summary: Plotting Library for Python
License: SUSE-Matplotlib License: SUSE-Matplotlib