pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-matplotlib-tk Upgrade py-matplotlib-tk to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9444a0c7fab
branches:  trunk
changeset: 350730:d9444a0c7fab
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Wed Aug 03 23:22:14 2016 +0000

description:
Upgrade py-matplotlib-tk 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

diffstat:

 graphics/py-matplotlib-tk/Makefile         |  18 ++++++++++++++----
 graphics/py-matplotlib-tk/distinfo         |  12 ++++++------
 graphics/py-matplotlib-tk/patches/patch-ab |   4 ++--
 3 files changed, 22 insertions(+), 12 deletions(-)

diffs (73 lines):

diff -r 88304a1aa7bb -r d9444a0c7fab graphics/py-matplotlib-tk/Makefile
--- a/graphics/py-matplotlib-tk/Makefile        Wed Aug 03 20:13:19 2016 +0000
+++ b/graphics/py-matplotlib-tk/Makefile        Wed Aug 03 23:22:14 2016 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.27 2016/05/29 14:03:02 mef Exp $
+# $NetBSD: Makefile,v 1.28 2016/08/03 23:22:14 kamil Exp $
 
-VERSION=               1.3.1
+VERSION=               1.5.2
 DISTNAME=              matplotlib-${VERSION}
 PKGNAME=               ${PYPKGPREFIX}-matplotlib-tk-${VERSION}
 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/
@@ -36,6 +35,17 @@
 post-install:
        ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR}
 
+# It needs:
+# devel/py-cycler
+# devel/py-nose
+# devel/py-mock
+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 "../../graphics/py-matplotlib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
diff -r 88304a1aa7bb -r d9444a0c7fab graphics/py-matplotlib-tk/distinfo
--- a/graphics/py-matplotlib-tk/distinfo        Wed Aug 03 20:13:19 2016 +0000
+++ b/graphics/py-matplotlib-tk/distinfo        Wed Aug 03 23:22:14 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.15 2016/05/29 14:03:02 mef Exp $
+$NetBSD: distinfo,v 1.16 2016/08/03 23:22:14 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) = 26968f4ab2885cdc52eb5a6126ab28d7d2315e55
+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) = c5b5ddcc079cc872601548ee5786fd5637b5aa05
diff -r 88304a1aa7bb -r d9444a0c7fab graphics/py-matplotlib-tk/patches/patch-ab
--- a/graphics/py-matplotlib-tk/patches/patch-ab        Wed Aug 03 20:13:19 2016 +0000
+++ b/graphics/py-matplotlib-tk/patches/patch-ab        Wed Aug 03 23:22:14 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.9 2014/01/21 19:22:08 drochner Exp $
+$NetBSD: patch-ab,v 1.10 2016/08/03 23:22:14 kamil Exp $
 
 --- setup.py.orig      2013-10-10 12:42:48.000000000 +0000
 +++ setup.py
@@ -7,7 +7,7 @@
      required_failed = []
      good_packages = []
 -    for package in mpl_packages:
-+    for package in [setupext.Numpy(),setupext.CXX(),setupext.LibAgg(),setupext.BackendTkAgg()]:
++    for package in [setupext.Numpy(),setupext.LibAgg(),setupext.BackendTkAgg()]:
          if isinstance(package, str):
              print_raw('')
              print_raw(package.upper())



Home | Main Index | Thread Index | Old Index