diff --git a/math/py-statsmodels/Makefile b/math/py-statsmodels/Makefile index 5dab1a9681f0..b77bb12f5a36 100644 --- a/math/py-statsmodels/Makefile +++ b/math/py-statsmodels/Makefile @@ -1,45 +1,45 @@ PORTNAME= statsmodels -PORTVERSION= 0.14.6 -PORTREVISION= 3 +PORTVERSION= 0.15.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Complement to SciPy for statistical computations WWW= https://www.statsmodels.org/stable/ \ https://github.com/statsmodels/statsmodels LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0,1<3,1:math/py-numpy@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}meson-python>=0:devel/meson-python@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0,1<3,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.13,1<2,1:science/py-scipy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8<10:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=9.2.0<10:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.22.3,1<3,1:math/py-numpy@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}formulaic>=1.1.0:math/py-formulaic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.5,1<3,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.4,1:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}patsy>=0.5.6:math/py-patsy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}scipy>=1.13,1:science/py-scipy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}scipy>=1.8,1:science/py-scipy@${PY_FLAVOR} USES= python shebangfix USE_PYTHON= autoplist concurrent cython pep517 SHEBANG_GLOB= *.py OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/README_l1.txt ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/math/py-statsmodels/distinfo b/math/py-statsmodels/distinfo index 130f42f717e0..92e95146a2e0 100644 --- a/math/py-statsmodels/distinfo +++ b/math/py-statsmodels/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1765032808 -SHA256 (statsmodels-0.14.6.tar.gz) = 4d17873d3e607d398b85126cd4ed7aad89e4e9d89fc744cdab1af3189a996c2a -SIZE (statsmodels-0.14.6.tar.gz) = 20689085 +TIMESTAMP = 1788500260 +SHA256 (statsmodels-0.15.0.tar.gz) = 5d257fe58d0772bc46a557880ca78e2a8e07fec7bfd9d11074aef8e33e1aecbc +SIZE (statsmodels-0.15.0.tar.gz) = 15736853 diff --git a/math/py-statsmodels/files/patch-pyproject.toml b/math/py-statsmodels/files/patch-pyproject.toml deleted file mode 100644 index 919cd0041450..000000000000 --- a/math/py-statsmodels/files/patch-pyproject.toml +++ /dev/null @@ -1,16 +0,0 @@ ---- pyproject.toml.orig 2025-07-02 15:55:37 UTC -+++ pyproject.toml -@@ -2,11 +2,11 @@ requires = [ - # These are strictly build requirements. Runtime requirements are listed in - # INSTALL_REQUIRES in setup.py - requires = [ -- "setuptools>=69.0.2", -+ "setuptools>=61.0.0", - "cython>=3.0.10,<4", # Sync with CYTHON_MIN_VER in setup - "numpy>=2.0.0,<3", - "scipy>=1.13,<2", -- "setuptools_scm[toml]>=8,<9" -+ "setuptools_scm[toml]>=8,<10" - ] - build-backend = "setuptools.build_meta" - diff --git a/math/py-statsmodels/pkg-plist b/math/py-statsmodels/pkg-plist index 544be1519514..dacc6cb1af5f 100644 --- a/math/py-statsmodels/pkg-plist +++ b/math/py-statsmodels/pkg-plist @@ -1,163 +1,170 @@ -%%PORTDOCS%%%%DOCSDIR%%/README.rst -%%PORTDOCS%%%%DOCSDIR%%/README_l1.txt +%%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/incomplete/arima.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/incomplete/arma2.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/incomplete/dates.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/incomplete/glsar.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/incomplete/ols_table.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/incomplete/ols_tftest.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/incomplete/wls_extended.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/arima_alternative_estimators_seasonal_differencing.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/autoregressions.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/autoregressive_distributed_lag.ipynb +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/autoregressive_integrated_moving_average.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/categorical_interaction_plot.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/chi2_fitting.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/contrasts.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/copula.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/count_hurdle.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/deterministics.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/discrete_choice_example.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/discrete_choice_overview.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/distributed_estimation.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/ets.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/exponential_smoothing.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/formulas.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/gee_nested_simulation.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/gee_score_test_simulation.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/generic_mle.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/glm.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/glm_formula.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/glm_weights.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/gls.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/influence_glm_logit.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/interactions_anova.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/kernel_density.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/linear_regression_diagnostics_plots.ipynb +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/local_projections.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/lowess.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/markov_autoregression.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/markov_regression.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/mediation_survival.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/metaanalysis1.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/mixed_lm_example.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/mstl_decomposition.ipynb +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/multivariate_ls.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/ols.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/ordinal_regression.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/pca_fertility_factors.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/plots_boxplots.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/postestimation_poisson.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/predict.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/quantile_regression.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/quasibinomial.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/recursive_ls.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/regression_diagnostics.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/regression_plots.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/robust_models_0.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/robust_models_1.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/rolling_ls.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/star_diagram.png %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_arma_0.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_chandrasekhar.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_concentrated_scale.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_custom_models.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_cycles.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_dfm_coincident.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_fixed_params.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_forecasting.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_local_linear_trend.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_news.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_sarimax_faq.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_sarimax_internet.ipynb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_sarimax_pymc3.ipynb +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_sarimax_pymc.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_sarimax_stata.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_seasonal.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_structural_harvey_jaeger.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_tvpvar_mcmc_cfa.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/statespace_varmax.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/stationarity_detrending_adf_kpss.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/stats_poisson.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/stats_rankcompare.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/stl_decomposition.ipynb +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/stl_seasonal_diagnostic_plot.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/theta-model.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/treatment_effect.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/tsa_arma_0.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/tsa_arma_1.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/tsa_dates.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/tsa_filters.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/variance_components.ipynb %%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebooks/wls.ipynb +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/arima_alternative_estimators_seasonal_differencing.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/autoregressions.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/autoregressive_distributed_lag.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/categorical_interaction_plot.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/chi2_fitting.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/contrasts.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/copula.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/count_hurdle.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/deterministics.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/discrete_choice_example.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/discrete_choice_overview.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/distributed_estimation.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/ets.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/exponential_smoothing.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/formulas.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/gee_nested_simulation.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/gee_score_test_simulation.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/generic_mle.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/glm.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/glm_formula.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/glm_weights.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/gls.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/influence_glm_logit.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/interactions_anova.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/kernel_density.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/linear_regression_diagnostics_plots.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/lowess.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/markov_autoregression.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/markov_regression.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/mediation_survival.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/metaanalysis1.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/mixed_lm_example.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/mstl_decomposition.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/multivariate_ls.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/ols.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/ordinal_regression.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/pca_fertility_factors.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/plots_boxplots.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/postestimation_poisson.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/predict.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/quantile_regression.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/quasibinomial.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/recursive_ls.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/regression_diagnostics.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/regression_plots.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/robust_models_0.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/robust_models_1.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/rolling_ls.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_arma_0.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_chandrasekhar.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_concentrated_scale.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_custom_models.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_cycles.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_dfm_coincident.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_fixed_params.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_forecasting.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_local_linear_trend.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_news.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_sarimax_faq.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_sarimax_internet.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_sarimax_pymc3.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_sarimax_pymc.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_sarimax_stata.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_seasonal.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_structural_harvey_jaeger.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_tvpvar_mcmc_cfa.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/statespace_varmax.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/stationarity_detrending_adf_kpss.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/stats_poisson.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/stats_rankcompare.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/stl_decomposition.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/stl_seasonal_diagnostic_plot.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/theta-model.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/treatment_effect.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/tsa_arma_0.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/tsa_arma_1.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/tsa_dates.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/tsa_filters.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/variance_components.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/wls.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/run_all.py