Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2026 01:38:13 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 74f7b5310f08 - main - math/py-linearmodels: update 6=?utf-8?Q?=2E1 =E2=86=92 7?=.0
Message-ID:  <69e2e085.19181.e49b461@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit 74f7b5310f0864f3d30cb99922b58c3fe729d8d8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-17 18:27:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-18 01:38:07 +0000

    math/py-linearmodels: update 6.1 → 7.0
---
 math/py-linearmodels/Makefile                   | 21 +++++++++++----------
 math/py-linearmodels/distinfo                   |  6 +++---
 math/py-linearmodels/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/math/py-linearmodels/Makefile b/math/py-linearmodels/Makefile
index 9086cee45f2b..2c279d470092 100644
--- a/math/py-linearmodels/Makefile
+++ b/math/py-linearmodels/Makefile
@@ -1,28 +1,27 @@
 PORTNAME=	linearmodels
-DISTVERSION=	6.1
-PORTREVISION=	2
+DISTVERSION=	7.0
 CATEGORIES=	math python # statistics
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Linear Panel, Instrumental Variable, Asset Pricing and other models
-WWW=		https://bashtage.github.io/linearmodels/
+WWW=		https://bashtage.github.io/linearmodels/ \
+		https://github.com/bashtage/linearmodels
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}formulaic>=1.0.0:math/py-formulaic@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}meson-python>0:devel/meson-python@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy1>0:math/py-numpy1@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}formulaic>=1.0.2:math/py-formulaic@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0.4:devel/py-mypy_extensions@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy1>0:math/py-numpy1@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pandas>=1.4.0:math/py-pandas@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}property-cached>=1.6.3:devel/py-property-cached@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyhdfe>=0.1:math/py-pyhdfe@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=1.8.0:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}statsmodels>=0.13.0:math/py-statsmodels@${PY_FLAVOR}
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
-		${PY_DEPENDS}
-RUN_DEPENDS=	${PY_DEPENDS}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR} \
@@ -34,11 +33,13 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xarray>=0.13:devel/py-xarray@${PY_FLAVOR}
 
 USES=		python shebangfix
-USE_PYTHON=	autoplist cython distutils pytest # 14 tests fail, see https://github.com/bashtage/linearmodels/issues/550
+USE_PYTHON=	pep517 autoplist cython pytest # 14 tests fail, see https://github.com/bashtage/linearmodels/issues/550
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/linearmodels/panel/_utility${PYTHON_TAG}.so
 
+# tests as of 7.0: 12503 passed, 2461 skipped, 47 xfailed, 6 warnings in 6274.70s (1:44:34)
+
 .include <bsd.port.mk>
diff --git a/math/py-linearmodels/distinfo b/math/py-linearmodels/distinfo
index 2dea0e29e350..7134f1862ff9 100644
--- a/math/py-linearmodels/distinfo
+++ b/math/py-linearmodels/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1727239566
-SHA256 (linearmodels-6.1.tar.gz) = 74ead48a054bc1b3ebec8e8d7187f17504058891b70c2e090372b4759eeb3e89
-SIZE (linearmodels-6.1.tar.gz) = 1828416
+TIMESTAMP = 1776440657
+SHA256 (linearmodels-7.0.tar.gz) = 15b50271068d8ad7ef58924fea6ca3fced055f8439f9e17d2ce62ba91c64ed24
+SIZE (linearmodels-7.0.tar.gz) = 1666323
diff --git a/math/py-linearmodels/files/patch-pyproject.toml b/math/py-linearmodels/files/patch-pyproject.toml
new file mode 100644
index 000000000000..9c4cbf52e725
--- /dev/null
+++ b/math/py-linearmodels/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2026-04-17 15:53:18 UTC
++++ pyproject.toml
+@@ -3,7 +3,7 @@ requires = [
+ requires = [
+   'meson-python',
+   "cython>=3.0.13,<4",  # Sync with CYTHON_MIN_VER in setup
+-  "numpy>=2.0.0,<3",
++  "numpy",
+   "setuptools_scm>=9.2.0,<10",
+ ]
+ 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e2e085.19181.e49b461>