Index: head/math/py-matplotlib/Makefile =================================================================== --- head/math/py-matplotlib/Makefile (revision 560412) +++ head/math/py-matplotlib/Makefile (revision 560413) @@ -1,77 +1,78 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= matplotlib -PORTVERSION= 3.3.1 +PORTVERSION= 3.3.3 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= mainland@apeiron.net COMMENT= Plotting library uses a syntax familiar to MATLAB users LICENSE= PSFL BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pillow>=6.2:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>=0.10:security/py-certifi@${PY_FLAVOR} LIB_DEPENDS= libfreetype.so:print/freetype2 \ libqhull.so:math/qhull \ libpng.so:graphics/png \ libfontconfig.so:x11-fonts/fontconfig \ libtcl86.so:lang/tcl86 RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.10:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pluggy>0:devel/py-pluggy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=6.2:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>=0.10:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}kiwisolver>=1.0.0:math/py-kiwisolver@${PY_FLAVOR} USES= compiler:c++11-lib gettext gnome localbase pkgconfig python:3.6+ shebangfix uniquefiles:dirs USE_PYTHON= distutils LDFLAGS+= -fuse-ld=lld +PLIST_SUB= VER=${PORTVERSION} +PORTEXAMPLES= * + OPTIONS_DEFINE= EXAMPLES \ QT5AGGBACKEND TKAGGBACKEND OPTIONS_DEFAULT= TKAGGBACKEND OPTIONS_SUB= yes QT5AGGBACKEND_DESC= Qt5Agg backend support +TKAGGBACKEND_DESC= TKAgg backend support + QT5AGGBACKEND_USES= display pyqt:5 QT5AGGBACKEND_USE= PYQT=sip,widgets QT5AGGBACKEND_VARS= QT5AGG_BACKEND=True QT5AGGBACKEND_VARS_OFF= QT5AGG_BACKEND=False -TKAGGBACKEND_DESC= TKAgg backend support TKAGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} TKAGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} TKAGGBACKEND_USES= display tk:run TKAGGBACKEND_VARS= TKAGG_BACKEND=True TKAGGBACKEND_VARS_OFF= TKAGG_BACKEND=False - -PLIST_SUB= VER=${PORTVERSION} -PORTEXAMPLES= * post-extract: @${FIND} ${WRKSRC} -name '*.py' | ${XARGS} ${CHMOD} -x pre-configure: ${REINPLACE_CMD} -e 's|%%QT5AGG_BACKEND%%|${QT5AGG_BACKEND}|g' \ -e 's|%%TKAGG_BACKEND%%|${TKAGG_BACKEND}|g' \ ${WRKSRC}/setup.cfg post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib -name '*.so' \ | ${XARGS} ${STRIP_CMD} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/math/py-matplotlib/distinfo =================================================================== --- head/math/py-matplotlib/distinfo (revision 560412) +++ head/math/py-matplotlib/distinfo (revision 560413) @@ -1,3 +1,3 @@ -TIMESTAMP = 1598015166 -SHA256 (matplotlib-3.3.1.tar.gz) = 87f53bcce90772f942c2db56736788b39332d552461a5cb13f05ff45c1680f0e -SIZE (matplotlib-3.3.1.tar.gz) = 38780756 +TIMESTAMP = 1609832769 +SHA256 (matplotlib-3.3.3.tar.gz) = b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec +SIZE (matplotlib-3.3.3.tar.gz) = 37944403 Index: head/math/py-matplotlib/files/patch-setup.cfg =================================================================== --- head/math/py-matplotlib/files/patch-setup.cfg (revision 560412) +++ head/math/py-matplotlib/files/patch-setup.cfg (revision 560413) @@ -1,90 +1,90 @@ --- 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 = False -+dateutil = False ++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