summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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())