pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-statsmodels py-statsmodels: fix for newer SciPy
details: https://anonhg.NetBSD.org/pkgsrc/rev/6959961f39df
branches: trunk
changeset: 335276:6959961f39df
user: adam <adam%pkgsrc.org@localhost>
date: Mon Jun 17 05:29:43 2019 +0000
description:
py-statsmodels: fix for newer SciPy
diffstat:
math/py-statsmodels/Makefile | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r ab98f440233d -r 6959961f39df math/py-statsmodels/Makefile
--- a/math/py-statsmodels/Makefile Mon Jun 17 00:37:01 2019 +0000
+++ b/math/py-statsmodels/Makefile Mon Jun 17 05:29:43 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2018/07/05 13:09:11 adam Exp $
+# $NetBSD: Makefile,v 1.4 2019/06/17 05:29:43 adam Exp $
DISTNAME= statsmodels-0.9.0
+PKGREVISION= 1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/statsmodels/}
@@ -15,6 +16,25 @@
DEPENDS+= ${PYPKGPREFIX}-patsy>=0.3.0:../../math/py-patsy
DEPENDS+= ${PYPKGPREFIX}-scipy>=0.12.0:../../math/py-scipy
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-matplotlib, py-scipy
+
+SUBST_CLASSES+= scipy
+SUBST_STAGE.scipy= pre-configure
+SUBST_MESSAGE.scipy= Fix for newer SciPy
+SUBST_FILES.scipy= statsmodels/distributions/edgeworth.py
+SUBST_FILES.scipy+= statsmodels/distributions/tests/test_edgeworth.py
+SUBST_FILES.scipy+= statsmodels/graphics/functional.py
+SUBST_FILES.scipy+= statsmodels/miscmodels/count.py
+SUBST_FILES.scipy+= statsmodels/sandbox/distributions/genpareto.py
+SUBST_FILES.scipy+= statsmodels/sandbox/infotheo.py
+SUBST_FILES.scipy+= statsmodels/sandbox/nonparametric/densityorthopoly.py
+SUBST_FILES.scipy+= statsmodels/sandbox/nonparametric/kernels.py
+SUBST_FILES.scipy+= statsmodels/sandbox/stats/runs.py
+SUBST_FILES.scipy+= statsmodels/stats/moment_helpers.py
+SUBST_FILES.scipy+= statsmodels/tsa/regime_switching/markov_switching.py
+SUBST_SED.scipy= -e 's,\(from scipy\).misc,\1.special,'
+
.include "../../lang/python/egg.mk"
+BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=0.12.0
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index