pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-ggplot py-ggplot: updated to 0.11.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/373293130d77
branches:  trunk
changeset: 335329:373293130d77
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 17 20:27:16 2019 +0000

description:
py-ggplot: updated to 0.11.5

0.11.5:
Unknown changes

diffstat:

 graphics/py-ggplot/Makefile                                |  15 ++++----
 graphics/py-ggplot/PLIST                                   |   5 ++-
 graphics/py-ggplot/distinfo                                |  12 ++++---
 graphics/py-ggplot/patches/patch-ggplot_stats_smoothers.py |  23 ++++++++++++++
 graphics/py-ggplot/patches/patch-ggplot_utils.py           |  15 +++++++++
 5 files changed, 57 insertions(+), 13 deletions(-)

diffs (120 lines):

diff -r 4c0dc01f6e53 -r 373293130d77 graphics/py-ggplot/Makefile
--- a/graphics/py-ggplot/Makefile       Mon Jun 17 19:54:27 2019 +0000
+++ b/graphics/py-ggplot/Makefile       Mon Jun 17 20:27:16 2019 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.4 2017/09/04 18:00:55 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2019/06/17 20:27:16 adam Exp $
 
-DISTNAME=      ggplot-0.10.4
+DISTNAME=      ggplot-0.11.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/ggplot/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=     https://yhat.github.io/ggplot/
+HOMEPAGE=      https://github.com/yhat/ggplot
 COMMENT=       Python implementation of the grammar of graphics
 LICENSE=       2-clause-bsd
 
@@ -16,13 +16,14 @@
 DEPENDS+=      ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
 DEPENDS+=      ${PYPKGPREFIX}-patsy-[0-9]*:../../math/py-patsy
 DEPENDS+=      ${PYPKGPREFIX}-statsmodels-[0-9]*:../../math/py-statsmodels
-# TEST_DEPENDS
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TEST_DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
 # self tests fail in ggplot.aes.aes, see
 # https://github.com/yhat/ggplot/issues/507
 
-USE_LANGUAGES= c
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27      # py-pandas
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4c0dc01f6e53 -r 373293130d77 graphics/py-ggplot/PLIST
--- a/graphics/py-ggplot/PLIST  Mon Jun 17 19:54:27 2019 +0000
+++ b/graphics/py-ggplot/PLIST  Mon Jun 17 20:27:16 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/07/15 07:29:54 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/06/17 20:27:16 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -102,6 +102,9 @@
 ${PYSITELIB}/ggplot/geoms/geom_point.py
 ${PYSITELIB}/ggplot/geoms/geom_point.pyc
 ${PYSITELIB}/ggplot/geoms/geom_point.pyo
+${PYSITELIB}/ggplot/geoms/geom_polygon.py
+${PYSITELIB}/ggplot/geoms/geom_polygon.pyc
+${PYSITELIB}/ggplot/geoms/geom_polygon.pyo
 ${PYSITELIB}/ggplot/geoms/geom_rect.py
 ${PYSITELIB}/ggplot/geoms/geom_rect.pyc
 ${PYSITELIB}/ggplot/geoms/geom_rect.pyo
diff -r 4c0dc01f6e53 -r 373293130d77 graphics/py-ggplot/distinfo
--- a/graphics/py-ggplot/distinfo       Mon Jun 17 19:54:27 2019 +0000
+++ b/graphics/py-ggplot/distinfo       Mon Jun 17 20:27:16 2019 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.1 2016/07/15 07:29:54 wiz Exp $
+$NetBSD: distinfo,v 1.2 2019/06/17 20:27:16 adam Exp $
 
-SHA1 (ggplot-0.10.4.tar.gz) = d10280682996b765b499841b6c2eecfbf355d0f4
-RMD160 (ggplot-0.10.4.tar.gz) = ee16262ecf6f593752027cb8ed22fbad787e3862
-SHA512 (ggplot-0.10.4.tar.gz) = 488e34dd43053c613677d9906df66f8de1ac6c0393a3130cad5214a3eba4648e1724b017e6beab1bbfc6f08296157f2e86740736534cb8d910aa1513fcd725b2
-Size (ggplot-0.10.4.tar.gz) = 1943413 bytes
+SHA1 (ggplot-0.11.5.tar.gz) = a28f95147f1dd4d91df45ddd230b119343d66e2d
+RMD160 (ggplot-0.11.5.tar.gz) = 661ff2a7f5734b3df71d9da8f7ffd7c4d2975e7c
+SHA512 (ggplot-0.11.5.tar.gz) = e505ffcda39ba3a4c60f617b7fd46d80392a4f0e1964ba2d5de754c22824c495a5f38cd25c9d0ce00a0b5f5fcd746eb207083ce7648a2bfd7fd2835a2019c4c5
+Size (ggplot-0.11.5.tar.gz) = 1948627 bytes
+SHA1 (patch-ggplot_stats_smoothers.py) = 190df144f953b745d6376894c4ada67c64215ed7
+SHA1 (patch-ggplot_utils.py) = d303ae6f240589f62110f3ff6586eab21976738b
diff -r 4c0dc01f6e53 -r 373293130d77 graphics/py-ggplot/patches/patch-ggplot_stats_smoothers.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-ggplot/patches/patch-ggplot_stats_smoothers.py        Mon Jun 17 20:27:16 2019 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ggplot_stats_smoothers.py,v 1.1 2019/06/17 20:27:16 adam Exp $
+
+Fix for newer Pandas.
+
+--- ggplot/stats/smoothers.py.orig     2019-06-17 20:04:57.000000000 +0000
++++ ggplot/stats/smoothers.py
+@@ -1,7 +1,6 @@
+ from __future__ import (absolute_import, division, print_function,
+                         unicode_literals)
+ import numpy as np
+-from pandas.lib import Timestamp
+ import pandas as pd
+ import statsmodels.api as sm
+ from statsmodels.nonparametric.smoothers_lowess import lowess as smlowess
+@@ -11,7 +10,7 @@ import scipy.stats as stats
+ import datetime
+ 
+ date_types = (
+-    pd.tslib.Timestamp,
++    pd.Timestamp,
+     pd.DatetimeIndex,
+     pd.Period,
+     pd.PeriodIndex,
diff -r 4c0dc01f6e53 -r 373293130d77 graphics/py-ggplot/patches/patch-ggplot_utils.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-ggplot/patches/patch-ggplot_utils.py  Mon Jun 17 20:27:16 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ggplot_utils.py,v 1.1 2019/06/17 20:27:16 adam Exp $
+
+Fix for newer Pandas.
+
+--- ggplot/utils.py.orig       2019-06-17 20:04:20.000000000 +0000
++++ ggplot/utils.py
+@@ -78,7 +78,7 @@ def is_iterable(obj):
+         return False
+ 
+ date_types = (
+-    pd.tslib.Timestamp,
++    pd.Timestamp,
+     pd.DatetimeIndex,
+     pd.Period,
+     pd.PeriodIndex,



Home | Main Index | Thread Index | Old Index