diff options
author | Wen Heping <wen@FreeBSD.org> | 2023-04-07 22:44:22 +0800 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2023-04-07 22:48:00 +0800 |
commit | f27cc9e0310a5be6f72c297e1d64c123ff83172f (patch) | |
tree | 80d4151e5e0c7d8160096ec57481ad77771ebb09 /math/py-matplotlib/files | |
parent | sysutils/cpu-x: try to further improve the port (part one) (diff) |
math/py-matplotlib: Update to 3.7.1
PR: 270326
Reported by: wen@
Approved by: maintainer
Exp-run by: antoine@
Diffstat (limited to 'math/py-matplotlib/files')
-rw-r--r-- | math/py-matplotlib/files/patch-mplsetup.cfg | 41 | ||||
-rw-r--r-- | math/py-matplotlib/files/patch-setup.cfg | 90 | ||||
-rw-r--r-- | math/py-matplotlib/files/patch-setup.py | 10 |
3 files changed, 51 insertions, 90 deletions
diff --git a/math/py-matplotlib/files/patch-mplsetup.cfg b/math/py-matplotlib/files/patch-mplsetup.cfg new file mode 100644 index 000000000000..99a3541ace30 --- /dev/null +++ b/math/py-matplotlib/files/patch-mplsetup.cfg @@ -0,0 +1,41 @@ +--- mplsetup.cfg.orig 2023-03-07 12:24:54 UTC ++++ mplsetup.cfg +@@ -0,0 +1,38 @@ ++# 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 = True ++system_qhull = True ++ ++[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 = False ++#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 = TkAgg diff --git a/math/py-matplotlib/files/patch-setup.cfg b/math/py-matplotlib/files/patch-setup.cfg deleted file mode 100644 index 2a3ff257b7c8..000000000000 --- a/math/py-matplotlib/files/patch-setup.cfg +++ /dev/null @@ -1,90 +0,0 @@ ---- setup.cfg.orig 2020-08-22 09:54:46 UTC -+++ setup.cfg -@@ -0,0 +1,87 @@ -+# Rename this file to setup.cfg to modify matplotlib's -+# build options. -+ -+[egg_info] -+tag_svn_revision = 1 -+ -+[directories] -+# Uncomment to override the default basedir in setupext.py. -+# This can be a single directory or a space-delimited list of directories. -+#basedirlist = /usr -+ -+[status] -+# To suppress display of the dependencies and their versions -+# at the top of the build log, uncomment the following line: -+#suppress = True -+# -+# Uncomment to insert lots of diagnostic prints in extension code -+#verbose = True -+ -+[provide_packages] -+# By default, matplotlib checks for a few dependencies and -+# installs them if missing. This feature can be turned off -+# by uncommenting the following lines. Acceptible values are: -+# True: install, overwrite an existing installation -+# False: do not install -+# auto: install only if the package is unavailable. This -+# is the default behavior -+# -+## Date/timezone support: -+pytz = True -+dateutil = True -+ -+[gui_support] -+# Matplotlib supports multiple GUI toolkits, including Cocoa, -+# GTK, Fltk, MacOSX, Qt, Qt4, Tk, and WX. Support for many of -+# these toolkits requires AGG, the Anti-Grain Geometry library, -+# which is provided by matplotlib and built by default. -+# -+# Some backends are written in pure Python, and others require -+# extension code to be compiled. By default, matplotlib checks -+# for these GUI toolkits during installation and, if present, -+# compiles the required extensions to support the toolkit. GTK -+# support requires the GTK runtime environment and PyGTK. Wx -+# support requires wxWidgets and wxPython. Tk support requires -+# Tk and Tkinter. The other GUI toolkits do not require any -+# extension code, and can be used as long as the libraries are -+# installed on your system. -+# -+# You can uncomment any the following lines if you know you do -+# not want to use the GUI toolkit. Acceptible values are: -+# True: build the extension. Exits with a warning if the -+# required dependencies are not available -+# False: do not build the extension -+# auto: build if the required dependencies are available, -+# otherwise skip silently. This is the default -+# behavior -+# -+gtk = False -+gtkagg = False -+qt4agg = False -+qt5agg = %%QT5AGG_BACKEND%% -+tkagg = %%TKAGG_BACKEND%% -+wxagg = False -+#macosx = False -+ -+[rc_options] -+# User-configurable options -+# -+# Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg, GTKCairo, -+# FltkAgg, MacOSX, Pdf, Ps, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg. -+# -+# The Agg, Ps, Pdf and SVG backends do not require external -+# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, TkAgg or WXAgg -+# if you have disabled the relevent extension modules. Agg will be used -+# by default. -+# -+#backend = Agg -+# -+# The numerix module was historically used to provide -+# compatibility between the Numeric, numarray, and NumPy array -+# packages. Now that NumPy has emerge as the universal array -+# package for python, numerix is not really necessary and is -+# maintained to provide backward compatibility. Do not change -+ -+[libs] -+system_freetype = true -+system_qhull = true diff --git a/math/py-matplotlib/files/patch-setup.py b/math/py-matplotlib/files/patch-setup.py new file mode 100644 index 000000000000..b8bb19c0e8d1 --- /dev/null +++ b/math/py-matplotlib/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2023-03-10 22:52:58 UTC ++++ setup.py +@@ -269,6 +269,7 @@ setup( # Finally, pass this all along to setuptools t + + setup( # Finally, pass this all along to setuptools to do the heavy lifting. + name="matplotlib", ++ version="3.7.1", + description="Python plotting package", + author="John D. Hunter, Michael Droettboom", + author_email="matplotlib-users@python.org", |