Wed Aug 3 23:41:48 2016 UTC ()
Upgrade py-matplotlib-gtk2 to 1.5.2

pkgsrc changes:
- add test target (Ran 5205 tests in 362.603s OK (KNOWNFAIL=468, SKIP=15))

upstream changes:
REL: v1.5.2
Final planned release for the 1.5.x series.

REL: v1.5.1
First bug fix release for 1.5.x series.

REL: v1.5.0
This release of matplotlib has several major new features:
    Auto-redraw using the object-oriented API.
    Most plotting functions now support labeled data API.
    Color cycling has extended to all style properties.
    Four new perceptually uniform color maps, including the soon-to-be default 'viridis'.
    More included style sheets.
    Many small plotting improvements.
    Proposed new framework for managing the GUI toolbar and tools.

REL: v1.4.3
This is the last planned bug-fix release in the 1.4 series.

Many bugs are fixed including:

    fixing drawing of edge-only markers in AGG
    fix run-away memory usage when using %inline or saving with a tight bounding box with QuadMesh artists
    improvements to wx and tk gui backends

Additionally the webagg and nbagg backends were brought closer to
feature parity with the desktop backends with the addition of keyboard
and scroll events thanks to Steven Silvester.

REL: v1.4.2
Minor bug-fix release for 1.4 series
    regenerated pyplot.py

REL: v1.4.1
Bug-fix release for the 1.4 series.

    reverts the changes to interactive plotting so ion will work as before in all cases
    fixed boxplot regressions
    fixes for finding freetype and libpng
    sundry unicode fixes (looking up user folders, importing seaborn/pandas/networkx with macosx backend)
    nbagg works with python 3 + new font awesome
    fixed saving dialogue in QT5

REL: v1.4.0
This release has contributions from ~170 authors
(http://matplotlib.org/users/github_stats.html).

This release contains many bug fixes as will as a number of new
features. For the full list see
http://matplotlib.org/users/whats_new.html#new-in-matplotlib-1-4.
Some highlights are:

    style module : experimental package to make managing the style of matplotlib figures easier
    nbagg : interactive figures in ipython notebooks backed by the AGG renderer
    full python 3 support (including cairo backends)
    Qt5 support (for python 3 only)
    violin plots and 3D quiver plots (projects done for a course at University of Toronto, Scarborough)
    improved box plot interface


(kamil)
diff -r1.55 -r1.56 pkgsrc/graphics/py-matplotlib-gtk2/Makefile
diff -r1.15 -r1.16 pkgsrc/graphics/py-matplotlib-gtk2/distinfo
diff -r1.9 -r1.10 pkgsrc/graphics/py-matplotlib-gtk2/patches/patch-ab

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

--- pkgsrc/graphics/py-matplotlib-gtk2/Attic/Makefile 2016/08/03 10:22:55 1.55
+++ pkgsrc/graphics/py-matplotlib-gtk2/Attic/Makefile 2016/08/03 23:41:48 1.56
@@ -1,25 +1,23 @@ @@ -1,25 +1,23 @@
1# $NetBSD: Makefile,v 1.55 2016/08/03 10:22:55 adam Exp $ 1# $NetBSD: Makefile,v 1.56 2016/08/03 23:41:48 kamil Exp $
2 2
3 3
4VERSION= 1.3.1 4VERSION= 1.5.2
5DISTNAME= matplotlib-${VERSION} 5DISTNAME= matplotlib-${VERSION}
6PKGNAME= ${PYPKGPREFIX}-matplotlib-gtk-${VERSION} 6PKGNAME= ${PYPKGPREFIX}-matplotlib-gtk-${VERSION}
7PKGREVISION= 3 
8CATEGORIES= graphics python 7CATEGORIES= graphics python
9MASTER_SITES= ${MASTER_SITE_GITHUB:=matplotlib/} 8MASTER_SITES= ${MASTER_SITE_GITHUB:=matplotlib/}
10GITHUB_PROJECT= matplotlib 9GITHUB_PROJECT= matplotlib
11# with Githubify, size changes little bit, so the following line, please delete for another update. 10GITHUB_TAG= v${PKGVERSION_NOREV}
12DIST_SUBDIR= matplotlib-1.3.1 
13 11
14MAINTAINER= pkgsrc-users@NetBSD.org 12MAINTAINER= pkgsrc-users@NetBSD.org
15HOMEPAGE= http://matplotlib.sourceforge.net/ 13HOMEPAGE= http://matplotlib.sourceforge.net/
16COMMENT= GTK frontend for matplotlib 14COMMENT= GTK frontend for matplotlib
17 15
18USE_TOOLS+= pkg-config 16USE_TOOLS+= pkg-config
19PY_PATCHPLIST= yes 17PY_PATCHPLIST= yes
20PYDISTUTILSPKG= yes 18PYDISTUTILSPKG= yes
21PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # py-gtk2 19PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # py-gtk2
22USE_LANGUAGES= c c++ 20USE_LANGUAGES= c c++
23 21
24post-patch: 22post-patch:
25 ( ${ECHO} "[directories]"; \ 23 ( ${ECHO} "[directories]"; \
@@ -27,21 +25,32 @@ post-patch: @@ -27,21 +25,32 @@ post-patch:
27 ${ECHO} "[provide_packages]"; \ 25 ${ECHO} "[provide_packages]"; \
28 ${ECHO} "pytz = False"; \ 26 ${ECHO} "pytz = False"; \
29 ${ECHO} "dateutil = False"; \ 27 ${ECHO} "dateutil = False"; \
30 ${ECHO} "[gui_support]"; \ 28 ${ECHO} "[gui_support]"; \
31 ${ECHO} "gtk = True"; \ 29 ${ECHO} "gtk = True"; \
32 ${ECHO} "gtkagg = True"; \ 30 ${ECHO} "gtkagg = True"; \
33 ${ECHO} "tkagg = False"; \ 31 ${ECHO} "tkagg = False"; \
34 ${ECHO} "wxagg = False"; \ 32 ${ECHO} "wxagg = False"; \
35 ${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg 33 ${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg
36 34
37post-install: 35post-install:
38 ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR} 36 ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR}
39 37
 38# It needs:
 39# devel/py-cycler
 40# devel/py-nose
 41# devel/py-mock
 42do-test:
 43 ${ECHO} "backend : GTKAgg" > ${WRKSRC}/matplotlibrc
 44 ${RUN} cd ${WRKSRC} && MPLCONFIGDIR=$PWD \
 45 MATPLOTLIBDATA=${WRKSRC}/lib/matplotlib/mpl-data \
 46 PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} \
 47 ${PYTHONBIN} -c "import matplotlib; matplotlib.test()"
 48
40.include "../../lang/python/egg.mk" 49.include "../../lang/python/egg.mk"
41.include "../../graphics/py-matplotlib/buildlink3.mk" 50.include "../../graphics/py-matplotlib/buildlink3.mk"
42.include "../../devel/zlib/buildlink3.mk" 51.include "../../devel/zlib/buildlink3.mk"
43.include "../../graphics/freetype2/buildlink3.mk" 52.include "../../graphics/freetype2/buildlink3.mk"
44.include "../../graphics/png/buildlink3.mk" 53.include "../../graphics/png/buildlink3.mk"
45.include "../../math/py-numpy/buildlink3.mk" 54.include "../../math/py-numpy/buildlink3.mk"
46.include "../../x11/py-gtk2/buildlink3.mk" 55.include "../../x11/py-gtk2/buildlink3.mk"
47.include "../../mk/bsd.pkg.mk" 56.include "../../mk/bsd.pkg.mk"

cvs diff -r1.15 -r1.16 pkgsrc/graphics/py-matplotlib-gtk2/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/py-matplotlib-gtk2/Attic/distinfo 2016/05/29 14:03:42 1.15
+++ pkgsrc/graphics/py-matplotlib-gtk2/Attic/distinfo 2016/08/03 23:41:48 1.16
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.15 2016/05/29 14:03:42 mef Exp $ 1$NetBSD: distinfo,v 1.16 2016/08/03 23:41:48 kamil Exp $
2 2
3SHA1 (matplotlib-1.3.1/matplotlib-1.3.1.tar.gz) = 7238fbc916b2bb7679d47dffa716956686f2cf79 3SHA1 (matplotlib-1.5.2.tar.gz) = 2c78d4b1d9cc1e064a7592158977cb22d6606ca7
4RMD160 (matplotlib-1.3.1/matplotlib-1.3.1.tar.gz) = 034e78cfd81cbdb6a9a95c31c257074b908c8cb7 4RMD160 (matplotlib-1.5.2.tar.gz) = 17406f510748a81dc5fc582a61cfba60b7e4bc9a
5SHA512 (matplotlib-1.3.1/matplotlib-1.3.1.tar.gz) = f178e61f2133078daec2cd7bc05411a26da36121607a72115a991052dd002c72daaf8a7a60513b861ac50aabf0524db155cd748925abae23e2311a98b704ee2b 5SHA512 (matplotlib-1.5.2.tar.gz) = 7d4688665273d30a08edf0cf2414cf0c05c619335f72b190c6ea125687e74cafe6133b7f3b6588e969c931ec8f970593d44654766205e6cc19f760925826a7e3
6Size (matplotlib-1.3.1/matplotlib-1.3.1.tar.gz) = 42020802 bytes 6Size (matplotlib-1.5.2.tar.gz) = 50914982 bytes
7SHA1 (patch-ab) = 447e2cfd0bf2571fe8e1b77f47a5de9563ec45ee 7SHA1 (patch-ab) = 4448f39b4fd69568fe96c88ddf8ab72dc72b97c7

cvs diff -r1.9 -r1.10 pkgsrc/graphics/py-matplotlib-gtk2/patches/Attic/patch-ab (expand / switch to unified diff)

--- pkgsrc/graphics/py-matplotlib-gtk2/patches/Attic/patch-ab 2014/01/21 21:16:02 1.9
+++ pkgsrc/graphics/py-matplotlib-gtk2/patches/Attic/patch-ab 2016/08/03 23:41:48 1.10
@@ -1,13 +1,13 @@ @@ -1,13 +1,13 @@
1$NetBSD: patch-ab,v 1.9 2014/01/21 21:16:02 drochner Exp $ 1$NetBSD: patch-ab,v 1.10 2016/08/03 23:41:48 kamil Exp $
2 2
3--- setup.py.orig 2014-01-21 18:50:49.000000000 +0000 3--- setup.py.orig 2014-01-21 18:50:49.000000000 +0000
4+++ setup.py 4+++ setup.py
5@@ -139,7 +139,7 @@ if __name__ == '__main__': 5@@ -139,7 +139,7 @@ if __name__ == '__main__':
6  6
7 required_failed = [] 7 required_failed = []
8 good_packages = [] 8 good_packages = []
9- for package in mpl_packages: 9- for package in mpl_packages:
10+ for package in [setupext.Numpy(),setupext.CXX(),setupext.LibAgg(),setupext.BackendGtkAgg(),setupext.BackendGtk()]: 10+ for package in [setupext.Numpy(),setupext.LibAgg(),setupext.BackendGtkAgg(),setupext.BackendGtk()]:
11 if isinstance(package, str): 11 if isinstance(package, str):
12 print_raw('') 12 print_raw('')
13 print_raw(package.upper()) 13 print_raw(package.upper())