pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/py-matplotlib-gtk2



Module Name:    pkgsrc
Committed By:   kamil
Date:           Wed Aug  3 23:41:48 UTC 2016

Modified Files:
        pkgsrc/graphics/py-matplotlib-gtk2: Makefile distinfo
        pkgsrc/graphics/py-matplotlib-gtk2/patches: patch-ab

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/graphics/py-matplotlib-gtk2/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/graphics/py-matplotlib-gtk2/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/graphics/py-matplotlib-gtk2/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-matplotlib-gtk2/Makefile
diff -u pkgsrc/graphics/py-matplotlib-gtk2/Makefile:1.55 pkgsrc/graphics/py-matplotlib-gtk2/Makefile:1.56
--- pkgsrc/graphics/py-matplotlib-gtk2/Makefile:1.55    Wed Aug  3 10:22:55 2016
+++ pkgsrc/graphics/py-matplotlib-gtk2/Makefile Wed Aug  3 23:41:48 2016
@@ -1,15 +1,13 @@
-# $NetBSD: Makefile,v 1.55 2016/08/03 10:22:55 adam Exp $
+# $NetBSD: Makefile,v 1.56 2016/08/03 23:41:48 kamil Exp $
 
 
-VERSION=               1.3.1
+VERSION=               1.5.2
 DISTNAME=              matplotlib-${VERSION}
 PKGNAME=               ${PYPKGPREFIX}-matplotlib-gtk-${VERSION}
-PKGREVISION=           3
 CATEGORIES=            graphics python
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=matplotlib/}
 GITHUB_PROJECT=                matplotlib
-# with Githubify, size changes little bit, so the following line, please delete for another update.
-DIST_SUBDIR=           matplotlib-1.3.1
+GITHUB_TAG=            v${PKGVERSION_NOREV}
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              http://matplotlib.sourceforge.net/
@@ -37,6 +35,17 @@ post-patch:
 post-install:
        ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR}
 
+# It needs:
+# devel/py-cycler
+# devel/py-nose
+# devel/py-mock
+do-test:
+       ${ECHO} "backend      : GTKAgg" > ${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 "../../graphics/py-matplotlib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"

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

Index: pkgsrc/graphics/py-matplotlib-gtk2/patches/patch-ab
diff -u pkgsrc/graphics/py-matplotlib-gtk2/patches/patch-ab:1.9 pkgsrc/graphics/py-matplotlib-gtk2/patches/patch-ab:1.10
--- pkgsrc/graphics/py-matplotlib-gtk2/patches/patch-ab:1.9     Tue Jan 21 21:16:02 2014
+++ pkgsrc/graphics/py-matplotlib-gtk2/patches/patch-ab Wed Aug  3 23:41:48 2016
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.9 2014/01/21 21:16:02 drochner Exp $
+$NetBSD: patch-ab,v 1.10 2016/08/03 23:41:48 kamil Exp $
 
 --- setup.py.orig      2014-01-21 18:50:49.000000000 +0000
 +++ setup.py
@@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.9 2014/01/21 21:16
      required_failed = []
      good_packages = []
 -    for package in mpl_packages:
-+    for package in [setupext.Numpy(),setupext.CXX(),setupext.LibAgg(),setupext.BackendGtkAgg(),setupext.BackendGtk()]:
++    for package in [setupext.Numpy(),setupext.LibAgg(),setupext.BackendGtkAgg(),setupext.BackendGtk()]:
          if isinstance(package, str):
              print_raw('')
              print_raw(package.upper())



Home | Main Index | Thread Index | Old Index