diff options
-rw-r--r-- | math/py-statsmodels/Makefile | 38 | ||||
-rw-r--r-- | math/py-statsmodels/distinfo | 6 |
2 files changed, 19 insertions, 25 deletions
diff --git a/math/py-statsmodels/Makefile b/math/py-statsmodels/Makefile index d70f5d78421b..3dfc2ba673f9 100644 --- a/math/py-statsmodels/Makefile +++ b/math/py-statsmodels/Makefile @@ -3,47 +3,41 @@ PORTNAME= statsmodels PORTVERSION= 0.8.0 +PORTREVISION= 1 CATEGORIES= math python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Complement to SciPy for statistical computations LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}patsy>0:math/py-patsy@${FLAVOR} -RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}patsy>0:math/py-patsy@${FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pandas>=0.12:math/py-pandas@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}patsy>=0.2.1:math/py-patsy@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.11:science/py-scipy@${FLAVOR} +RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= DOCS EXAMPLES USES= python shebangfix -USE_PYTHON= autoplist distutils concurrent cython -USE_GITHUB= yes -GH_TAGNAME= 8e812cd -SHEBANG_FILES= tools/*.py statsmodels/datasets/*/data.py statsmodels/tools/print_version.py \ - statsmodels/regression/quantile_regression.py +USE_PYTHON= autoplist concurrent cython distutils -PORTEXAMPLES= * PORTDOCS= README.rst README_l1.txt +PORTEXAMPLES= * -post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/nonparametric/_smoothers_lowess.so - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/nonparametric/linbin.so - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/tsa/kalmanf/kalman_loglike.so - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/tsa/statespace/_statespace.so +SHEBANG_GLOB= *.py -post-install-EXAMPLES-on: - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' | ${XARGS} ${STRIP_CMD} post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/README_l1.txt ${STAGEDIR}${DOCSDIR} +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} + .include <bsd.port.mk> diff --git a/math/py-statsmodels/distinfo b/math/py-statsmodels/distinfo index 00e808c63e11..138d779ac8e1 100644 --- a/math/py-statsmodels/distinfo +++ b/math/py-statsmodels/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1496502821 -SHA256 (statsmodels-statsmodels-0.8.0-8e812cd_GH0.tar.gz) = f4676e4fc96d6486981c9d2da4f250c554630aae40b340cb2a78c7287a0a87cb -SIZE (statsmodels-statsmodels-0.8.0-8e812cd_GH0.tar.gz) = 7601849 +TIMESTAMP = 1519521127 +SHA256 (statsmodels-0.8.0.tar.gz) = 26431ab706fbae896db7870a0892743bfbb9f5c83231644692166a31d2d86048 +SIZE (statsmodels-0.8.0.tar.gz) = 9464851 |