forked from pool/python-matplotlib
b550c4f9fa
- 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
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
Index: matplotlib-3.3.0/setupext.py
|
|
===================================================================
|
|
--- 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'))
|
|
@@ -543,7 +543,7 @@ class FreeType(SetupPackage):
|
|
if options.get('system_freetype'):
|
|
return
|
|
|
|
- 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':
|
|
@@ -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)
|
|
|
|
tarball = f'freetype-{LOCAL_FREETYPE_VERSION}.tar.gz'
|
|
target_urls = [
|