summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-08-03 23:41:48 +0000
committerkamil <kamil@pkgsrc.org>2016-08-03 23:41:48 +0000
commitad2e6524f7dceaf65ac98c28ae82974d2ef5a119 (patch)
treede0f2026015e29758197259984410a0e0cb16b3b /graphics
parent392c19319510f519027d930afe47d39bf71cf104 (diff)
downloadpkgsrc-ad2e6524f7dceaf65ac98c28ae82974d2ef5a119.tar.gz
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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-matplotlib-gtk2/Makefile19
-rw-r--r--graphics/py-matplotlib-gtk2/distinfo12
-rw-r--r--graphics/py-matplotlib-gtk2/patches/patch-ab4
3 files changed, 22 insertions, 13 deletions
diff --git a/graphics/py-matplotlib-gtk2/Makefile b/graphics/py-matplotlib-gtk2/Makefile
index 4a536b5af10..c40d5b3eeda 100644
--- a/graphics/py-matplotlib-gtk2/Makefile
+++ b/graphics/py-matplotlib-gtk2/Makefile
@@ -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
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"
diff --git a/graphics/py-matplotlib-gtk2/distinfo b/graphics/py-matplotlib-gtk2/distinfo
index 06565d87375..d9d1e7f23cf 100644
--- a/graphics/py-matplotlib-gtk2/distinfo
+++ b/graphics/py-matplotlib-gtk2/distinfo
@@ -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
diff --git a/graphics/py-matplotlib-gtk2/patches/patch-ab b/graphics/py-matplotlib-gtk2/patches/patch-ab
index 412d1a17802..b577746c40d 100644
--- a/graphics/py-matplotlib-gtk2/patches/patch-ab
+++ b/graphics/py-matplotlib-gtk2/patches/patch-ab
@@ -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:02 drochner Exp $
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())