Created attachment 221283 [details] patch to update from 3.3.1 to 3.3.3 Newest release v3.3.3 of matplotlib is from 2020-11-12. In the two bug fix releases since our current port v3.3.1 there are several fixes: - Fix calls to Axis.grid with argument visible=True - Fix fully masked imshow - Fix inconsistent color mapping in scatter for 3D plots - Fix notebook/nbAgg figures when used with ipywidgets in the same cell - Fix notebook/nbAgg/WebAgg on older (e.g., Firefox ESR) browsers - Fix pcolormesh with datetime coordinates - Fix performance regression with datetimes - Fix singular ticks with small log ranges - Fix timers/animations on wx and notebook backends - Remove certifi as a hard runtime dependency - Fix Axis scale on twinned Axes - Fix auto-close of Figures in nbagg - Fix automatic title placement if Axes is off the Figure - Fix autoranging of log scales with barstacked histogram - Fix extra redraws when using Button or TextBox widgets - Fix imshow with LogNorm and large vmin/vmax ranges - Fix plotting Pandas DataFrame with string MultiIndex - Fix scatter with marker='' - Fix scatter3d color/linewidth re-projection - Fix state of mode buttons in TkAgg backends - Include license files in built distribution The update of the port does - Update version from 3.3.1 to 3.3.3 - Reorder some Makefile vars, as suggested by portclippy (from ports-mgmt/portfmt) - Enable pytz and dateutil in files/patch-setup.cfg - Renew pkg-plist As the port considers devel/py-pytz and devel/py-dateutil as RUN_DEPENDS, I also enabled them for the build process (via files/patch-setup.cfg). However, I have not carefully tested whether the functionalities are available with it. The port does not build the libraries in %%PYTHON_SITELIBDIR%%/matplotlib/backends/ (_contour.so, ft2font.so, _image.so, _path.so, _qhull.so, _tri.so, _ttconv.so) with PYTHON_EXT_SUFFIX anymore. Don't know, if this would cause any regression? Probably not ...
(In reply to Rainer Hurling from comment #0) I stumbled over this PR because I committed the Python 3.8 build fix for the pkg-plist entries. The PYTHON_EXT_SUFFIX entries in the pkg-plist are only required for Python 3.8 at the moment. They will be needed for Python 3.9.2 as well once it's in the Ports tree. You can test all flavors of a Python port by adding > FLAVOR_DEFAULT_ALL=yes to poudriere.conf. Also add the following line to the make.conf > BUILD_ALL_PYTHON_FLAVORS=yes
Created attachment 221290 [details] patch to update from 3.3.1 to 3.3.3 v2 Thanks Kai, For the hint. I tested for different Flavors with Poudriere, and yes, you are right: PYTHON_EXT_SUFFIX is needed for Python > 3.7. An updated patch is attached :)
Thanks for the patch!
A commit references this bug: Author: rhurlin Date: Tue Jan 5 17:05:58 UTC 2021 New revision: 560413 URL: https://svnweb.freebsd.org/changeset/ports/560413 Log: math/py-matplotlib: Update to 3.3.3 Changelog: https://github.com/matplotlib/matplotlib/releases PR: 252432 Approved by: arrowd (mentor) Changes: head/math/py-matplotlib/Makefile head/math/py-matplotlib/distinfo head/math/py-matplotlib/files/patch-setup.cfg
Committed :)