pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-statsmodels



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 17 05:29:43 UTC 2019

Modified Files:
        pkgsrc/math/py-statsmodels: Makefile

Log Message:
py-statsmodels: fix for newer SciPy


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/py-statsmodels/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-statsmodels/Makefile
diff -u pkgsrc/math/py-statsmodels/Makefile:1.3 pkgsrc/math/py-statsmodels/Makefile:1.4
--- pkgsrc/math/py-statsmodels/Makefile:1.3     Thu Jul  5 13:09:11 2018
+++ pkgsrc/math/py-statsmodels/Makefile Mon Jun 17 05:29:43 2019
@@ -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}-pandas>=0.14.1:
 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