git: c47c2f6d3007 - main - math/py-statsmodels: Update to 0.15.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 09 Sep 2026 14:55:37 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c47c2f6d30075f8de3ed285589ce46e12c7eb75f

commit c47c2f6d30075f8de3ed285589ce46e12c7eb75f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-09 14:40:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-09 14:48:39 +0000

    math/py-statsmodels: Update to 0.15.0
    
    Changes:        https://github.com/statsmodels/statsmodels/releases
                    https://www.statsmodels.org/stable/release/
---
 math/py-statsmodels/Makefile                   | 16 ++++++++--------
 math/py-statsmodels/distinfo                   |  6 +++---
 math/py-statsmodels/files/patch-pyproject.toml | 16 ----------------
 math/py-statsmodels/pkg-plist                  | 15 +++++++++++----
 4 files changed, 22 insertions(+), 31 deletions(-)

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,6 +1,5 @@
 PORTNAME=	statsmodels
-PORTVERSION=	0.14.6
-PORTREVISION=	3
+PORTVERSION=	0.15.0
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,16 +12,17 @@ WWW=		https://www.statsmodels.org/stable/ \
 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
@@ -36,7 +36,7 @@ post-install:
 
 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}
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,5 +1,4 @@
-%%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
@@ -7,8 +6,10 @@
 %%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
@@ -32,6 +33,7 @@
 %%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
@@ -39,6 +41,7 @@
 %%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
@@ -66,7 +69,7 @@
 %%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
@@ -76,6 +79,7 @@
 %%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
@@ -84,6 +88,7 @@
 %%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
@@ -116,6 +121,7 @@
 %%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
@@ -142,7 +148,7 @@
 %%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
@@ -152,6 +158,7 @@
 %%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