aa8e960fe7
v2.2.2 LTS This release fixes a number of critical bugs: - restores matplotlib.verbose (fixing embedding in pycharm) - preserve precision when color mapping small portions of data with extreme outliers - fixes saving long movies with ffmpeg - fixes UnbourdLocal error in contour labeling - fixes import failure on python 3.4.0 and 3.4.1 - fixes compile time failures with clang on 32bit platforms - fixes an icon in the Tk backends - fixes several issues with Tables - fixes expanding offset boxes with tight_layout - revert changes to the font caching to avoid a possible bug in backports.lru_cache - numerous docstring and documentation fixes We have reverted the deprecation of font_manager.TempCache. v2.2.1 did not actually restore matplotlib.verbose. v2.2.1 LTS This release fixes a number of critical bugs: - restores matplotlib.verbose (fixing embedding in pycharm) - preserve precision when color mapping small portions of data with extreme outliers - fixes saving long movies with ffmpeg - fixes UnbourdLocal error in contour labeling - fixes import failure on python 3.4.0 and 3.4.1 - fixes compile time failures with clang on 32bit platforms - fixes an icon in the Tk backends - fixes several issues with Tables - fixes expanding offset boxes with tight_layout - revert changes to the font caching to avoid a possible bug in backports.lru_cache - numerous docstring and documentation fixes We have reverted the deprecation of font_manager.TempCache. v2.2.0 LTS This release includes new features including: - An experimental constrained layout manager - Color blind friendly color map (cividis) and color cycle (tableau-colorblind10) - native support for numpy.datetime64 types - animated gif writing via pillow - TkAgg now works with pypy - cairo based backends for Qt, Tk, and WX There are several API changes in this release: - To support the constrained layout Matplotlib has a new required dependency (kiwisolver). - The matplotlib.finance module has been removed, development has moved to a stand-alone project.
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2018/04/14 12:52:56 adam Exp $
|
|
|
|
.include "../../graphics/py-matplotlib/Makefile.common"
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-/-tk-/}
|
|
COMMENT= Tk frontend for matplotlib
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
|
|
DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
|
|
|
|
MPL_PACKAGES= [setupext.Numpy(),setupext.LibAgg(),setupext.BackendTkAgg()]
|
|
|
|
post-patch:
|
|
( ${ECHO} "[directories]"; \
|
|
${ECHO} "basedirlist=/usr"; \
|
|
${ECHO} "[provide_packages]"; \
|
|
${ECHO} "pytz = False"; \
|
|
${ECHO} "dateutil = False"; \
|
|
${ECHO} "[gui_support]"; \
|
|
${ECHO} "gtk = False"; \
|
|
${ECHO} "tkagg = True"; \
|
|
${ECHO} "wxagg = False"; \
|
|
${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg
|
|
|
|
post-install:
|
|
${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR}
|
|
|
|
do-test:
|
|
${ECHO} "backend : TkAgg" > ${WRKSRC}/matplotlibrc
|
|
${RUN} cd ${WRKSRC} && MPLCONFIGDIR=${PWD} \
|
|
MATPLOTLIBDATA=${WRKSRC}/lib/matplotlib/mpl-data \
|
|
PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} \
|
|
${PYTHONBIN} -c "import matplotlib; matplotlib.test()"
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|