Tue Jan 30 10:28:51 2018 UTC ()
py-matplotlib: updated to 2.1.2

2.1.2:
This release fixes a number of critical bugs:
- fix a typo in mlab.cohere which yielded incorrect results
- allow nonposx / nonposy to pass through loglog
- fix color comparisons when finding handles with legend
- fixes a recursive draw bug and a major performance regression in
  Qt5Agg backend
- fix a re-draw bug in WxAgg
- fix image scaling with high-bit depth integers
- revert the busy-cursor


(adam)
diff -r1.4 -r1.5 pkgsrc/graphics/py-matplotlib/Makefile.common
diff -r1.28 -r1.29 pkgsrc/graphics/py-matplotlib/distinfo
diff -r1.61 -r1.62 pkgsrc/graphics/py-matplotlib-gtk2/Makefile
diff -r1.29 -r1.30 pkgsrc/graphics/py-matplotlib-tk/Makefile

cvs diff -r1.4 -r1.5 pkgsrc/graphics/py-matplotlib/Attic/Makefile.common (expand / switch to unified diff)

--- pkgsrc/graphics/py-matplotlib/Attic/Makefile.common 2018/01/14 10:38:17 1.4
+++ pkgsrc/graphics/py-matplotlib/Attic/Makefile.common 2018/01/30 10:28:51 1.5
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1# $NetBSD: Makefile.common,v 1.4 2018/01/14 10:38:17 wiz Exp $ 1# $NetBSD: Makefile.common,v 1.5 2018/01/30 10:28:51 adam Exp $
2# used by graphics/py-matplotlib/Makefile 2# used by graphics/py-matplotlib/Makefile
3# used by graphics/py-matplotlib-gtk2/Makefile 3# used by graphics/py-matplotlib-gtk2/Makefile
4# used by graphics/py-matplotlib-tk/Makefile 4# used by graphics/py-matplotlib-tk/Makefile
5 5
6DISTNAME= matplotlib-2.1.1 6DISTNAME= matplotlib-2.1.2
7CATEGORIES= graphics python 7CATEGORIES= graphics python
8MASTER_SITES= ${MASTER_SITE_PYPI:=m/matplotlib/} 8MASTER_SITES= ${MASTER_SITE_PYPI:=m/matplotlib/}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://matplotlib.org/ 11HOMEPAGE= https://matplotlib.org/
12# LICENSE= see ${WRKSRC}/LICENSE/LICENSE 12# LICENSE= see ${WRKSRC}/LICENSE/LICENSE
13 13
14DISTINFO_FILE= ${.CURDIR}/../../graphics/py-matplotlib/distinfo 14DISTINFO_FILE= ${.CURDIR}/../../graphics/py-matplotlib/distinfo
15PATCHDIR= ${.CURDIR}/../../graphics/py-matplotlib/patches 15PATCHDIR= ${.CURDIR}/../../graphics/py-matplotlib/patches
16 16
17USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
18USE_TOOLS+= pkg-config 18USE_TOOLS+= pkg-config
19 19

cvs diff -r1.28 -r1.29 pkgsrc/graphics/py-matplotlib/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/py-matplotlib/distinfo 2017/12/22 12:21:54 1.28
+++ pkgsrc/graphics/py-matplotlib/distinfo 2018/01/30 10:28:51 1.29
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.28 2017/12/22 12:21:54 adam Exp $ 1$NetBSD: distinfo,v 1.29 2018/01/30 10:28:51 adam Exp $
2 2
3SHA1 (matplotlib-2.1.1.tar.gz) = 948777ef3387cc8cc3454d77342c015c303d3df8 3SHA1 (matplotlib-2.1.2.tar.gz) = 627519bb237930550d0913f00ef1f75a4fba0e86
4RMD160 (matplotlib-2.1.1.tar.gz) = 6d12812253728ac462b7519bbf2a8d531604a288 4RMD160 (matplotlib-2.1.2.tar.gz) = 32c2023f0a0884c0715878a1b47cfc803cc4d257
5SHA512 (matplotlib-2.1.1.tar.gz) = ccfb7d9496cb8e160a22adfae7ec6edf56bf65d24d38d9a24767b8f10074a006509e789f8b270da0cedee77ed4a98642a29d2d351c520e029d4680ce6ea713cf 5SHA512 (matplotlib-2.1.2.tar.gz) = 91e8c75d26025b9ec31daaeac0d9e05bba8551eccd15c632a6fc724a7b25af3248528e691adc77374c4bf558d121b07bff2e82402847d43c027e88b0971e4bb9
6Size (matplotlib-2.1.1.tar.gz) = 36121490 bytes 6Size (matplotlib-2.1.2.tar.gz) = 36238363 bytes
7SHA1 (patch-setup.py) = 0088019e1296d245021fb592915226618d91495d 7SHA1 (patch-setup.py) = 0088019e1296d245021fb592915226618d91495d
8SHA1 (patch-src___macosx.m) = 5b46ec15d2f66ae1ee489b6714c2731dd476d50c 8SHA1 (patch-src___macosx.m) = 5b46ec15d2f66ae1ee489b6714c2731dd476d50c

cvs diff -r1.61 -r1.62 pkgsrc/graphics/py-matplotlib-gtk2/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/py-matplotlib-gtk2/Attic/Makefile 2017/12/22 12:21:54 1.61
+++ pkgsrc/graphics/py-matplotlib-gtk2/Attic/Makefile 2018/01/30 10:28:51 1.62
@@ -1,37 +1,38 @@ @@ -1,37 +1,38 @@
1# $NetBSD: Makefile,v 1.61 2017/12/22 12:21:54 adam Exp $ 1# $NetBSD: Makefile,v 1.62 2018/01/30 10:28:51 adam Exp $
2 2
3.include "../../graphics/py-matplotlib/Makefile.common" 3.include "../../graphics/py-matplotlib/Makefile.common"
4 4
5PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-/-gtk-/} 5PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-/-gtk-/}
6COMMENT= GTK frontend for matplotlib 6COMMENT= GTK frontend for matplotlib
7 7
8MPL_PACKAGES= [setupext.Numpy(),setupext.LibAgg(),setupext.BackendGtkAgg(),setupext.BackendGtk()] 8MPL_PACKAGES= [setupext.Numpy(),setupext.LibAgg(),setupext.BackendGtkAgg(),setupext.BackendGtk()]
9 9
 10DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
 11
10PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 12PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2
11 13
12post-patch: 14post-patch:
13 ( ${ECHO} "[directories]"; \ 15 ( ${ECHO} "[directories]"; \
14 ${ECHO} "basedirlist=/usr"; \ 16 ${ECHO} "basedirlist=/usr"; \
15 ${ECHO} "[provide_packages]"; \ 17 ${ECHO} "[provide_packages]"; \
16 ${ECHO} "pytz = False"; \ 18 ${ECHO} "pytz = False"; \
17 ${ECHO} "dateutil = False"; \ 19 ${ECHO} "dateutil = False"; \
18 ${ECHO} "[gui_support]"; \ 20 ${ECHO} "[gui_support]"; \
19 ${ECHO} "gtk = True"; \ 21 ${ECHO} "gtk = True"; \
20 ${ECHO} "tkagg = False"; \ 22 ${ECHO} "tkagg = False"; \
21 ${ECHO} "wxagg = False"; \ 23 ${ECHO} "wxagg = False"; \
22 ${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg 24 ${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg
23 25
24post-install: 26post-install:
25 ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR} 27 ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR}
26 28
27do-test: 29do-test:
28 ${ECHO} "backend : GTKAgg" > ${WRKSRC}/matplotlibrc 30 ${ECHO} "backend : GTKAgg" > ${WRKSRC}/matplotlibrc
29 ${RUN} cd ${WRKSRC} && MPLCONFIGDIR=${PWD} \ 31 ${RUN} cd ${WRKSRC} && MPLCONFIGDIR=${PWD} \
30 MATPLOTLIBDATA=${WRKSRC}/lib/matplotlib/mpl-data \ 32 MATPLOTLIBDATA=${WRKSRC}/lib/matplotlib/mpl-data \
31 PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} \ 33 PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} \
32 ${PYTHONBIN} -c "import matplotlib; matplotlib.test()" 34 ${PYTHONBIN} -c "import matplotlib; matplotlib.test()"
33 35
34.include "../../lang/python/egg.mk" 36.include "../../lang/python/egg.mk"
35.include "../../graphics/py-matplotlib/buildlink3.mk" 
36.include "../../x11/py-gtk2/buildlink3.mk" 37.include "../../x11/py-gtk2/buildlink3.mk"
37.include "../../mk/bsd.pkg.mk" 38.include "../../mk/bsd.pkg.mk"

cvs diff -r1.29 -r1.30 pkgsrc/graphics/py-matplotlib-tk/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/py-matplotlib-tk/Attic/Makefile 2017/05/29 20:59:21 1.29
+++ pkgsrc/graphics/py-matplotlib-tk/Attic/Makefile 2018/01/30 10:28:51 1.30
@@ -1,20 +1,21 @@ @@ -1,20 +1,21 @@
1# $NetBSD: Makefile,v 1.29 2017/05/29 20:59:21 adam Exp $ 1# $NetBSD: Makefile,v 1.30 2018/01/30 10:28:51 adam Exp $
2 2
3.include "../../graphics/py-matplotlib/Makefile.common" 3.include "../../graphics/py-matplotlib/Makefile.common"
4 4
5PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-/-tk-/} 5PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-/-tk-/}
6COMMENT= Tk frontend for matplotlib 6COMMENT= Tk frontend for matplotlib
7 7
 8DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
8DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk 9DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
9 10
10MPL_PACKAGES= [setupext.Numpy(),setupext.LibAgg(),setupext.BackendTkAgg()] 11MPL_PACKAGES= [setupext.Numpy(),setupext.LibAgg(),setupext.BackendTkAgg()]
11 12
12post-patch: 13post-patch:
13 ( ${ECHO} "[directories]"; \ 14 ( ${ECHO} "[directories]"; \
14 ${ECHO} "basedirlist=/usr"; \ 15 ${ECHO} "basedirlist=/usr"; \
15 ${ECHO} "[provide_packages]"; \ 16 ${ECHO} "[provide_packages]"; \
16 ${ECHO} "pytz = False"; \ 17 ${ECHO} "pytz = False"; \
17 ${ECHO} "dateutil = False"; \ 18 ${ECHO} "dateutil = False"; \
18 ${ECHO} "[gui_support]"; \ 19 ${ECHO} "[gui_support]"; \
19 ${ECHO} "gtk = False"; \ 20 ${ECHO} "gtk = False"; \
20 ${ECHO} "tkagg = True"; \ 21 ${ECHO} "tkagg = True"; \
@@ -22,16 +23,15 @@ post-patch: @@ -22,16 +23,15 @@ post-patch:
22 ${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg 23 ${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg
23 24
24post-install: 25post-install:
25 ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR} 26 ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR}
26 27
27do-test: 28do-test:
28 ${ECHO} "backend : TkAgg" > ${WRKSRC}/matplotlibrc 29 ${ECHO} "backend : TkAgg" > ${WRKSRC}/matplotlibrc
29 ${RUN} cd ${WRKSRC} && MPLCONFIGDIR=${PWD} \ 30 ${RUN} cd ${WRKSRC} && MPLCONFIGDIR=${PWD} \
30 MATPLOTLIBDATA=${WRKSRC}/lib/matplotlib/mpl-data \ 31 MATPLOTLIBDATA=${WRKSRC}/lib/matplotlib/mpl-data \
31 PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} \ 32 PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} \
32 ${PYTHONBIN} -c "import matplotlib; matplotlib.test()" 33 ${PYTHONBIN} -c "import matplotlib; matplotlib.test()"
33 34
34.include "../../lang/python/egg.mk" 35.include "../../lang/python/egg.mk"
35.include "../../graphics/py-matplotlib/buildlink3.mk" 
36.include "../../x11/tk/buildlink3.mk" 36.include "../../x11/tk/buildlink3.mk"
37.include "../../mk/bsd.pkg.mk" 37.include "../../mk/bsd.pkg.mk"