git: 96fafa048b0b - main - math/py-PuLP: update 4.0.0 → 4.0.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 15 Oct 2026 01:07:40 UTC
The branch main has been updated by yuri:

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

commit 96fafa048b0b4311820415865672e831a215f5a0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-14 21:22:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-15 01:07:37 +0000

    math/py-PuLP: update 4.0.0 → 4.0.1
    
    Also add optional dependencies as test dependencies.
    
    ChangeLog: https://github.com/coin-or/pulp/releases/tag/4.0.1
---
 math/py-PuLP/Makefile | 9 ++++++---
 math/py-PuLP/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/math/py-PuLP/Makefile b/math/py-PuLP/Makefile
index 453f015778ed..d626d66a5100 100644
--- a/math/py-PuLP/Makefile
+++ b/math/py-PuLP/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pulp
-DISTVERSION=	4.0.0
-PORTREVISION=	1
+DISTVERSION=	4.0.1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,6 +16,10 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}maturin>=1.4<2:devel/py-maturin@${PY_FLAVO
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}orloge>=1.0.0:devel/py-orloge@${PY_FLAVOR} \
 		cbc:math/cbc \
 		glpsol:math/glpk
+OPT_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cbcbox>0:math/py-cbcbox@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}highspy>0:math/py-highspy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}PySCIPOpt>0:math/py-PySCIPOpt@${PY_FLAVOR}
+TEST_DEPENDS=	${OPT_DEPENDS}
 
 USES=		cargo cpe python
 CPE_VENDOR=	pulpproject
@@ -63,6 +66,6 @@ do-test:
 	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} \
 		${PYTHON_CMD} -m pytest ${TEST_ARGS} --import-mode=importlib ${STAGEDIR}${PYTHON_SITELIBDIR}/pulp
 
-# tests as of 4.0.0: 2 failed, 358 passed, 671 skipped, 3 warnings in 8.47s # skipped tests are due to missing yaposib, sascas, etc solver, for failures see https://github.com/coin-or/pulp/issues/959
+# tests as of 4.0.1: 1 failed, 365 passed, 672 skipped, 3 warnings in 9.71s # skipped tests are due to missing yaposib, sascas, etc solver, for 1 test failure see https://github.com/coin-or/pulp/issues/959
 
 .include <bsd.port.mk>
diff --git a/math/py-PuLP/distinfo b/math/py-PuLP/distinfo
index ffc815b9472f..ce3d99f41391 100644
--- a/math/py-PuLP/distinfo
+++ b/math/py-PuLP/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1791880031
-SHA256 (pulp-4.0.0.tar.gz) = 0f7fa97ae524ba724baa32d23390345df50ae80d42d6dbdc4d4b0f57dae8187c
-SIZE (pulp-4.0.0.tar.gz) = 162406
+TIMESTAMP = 1791969101
+SHA256 (pulp-4.0.1.tar.gz) = 976f1184a69ab2aceb12e7c14e375775f184bddb8e66ee611ebaccbcad537f8c
+SIZE (pulp-4.0.1.tar.gz) = 165276
 SHA256 (rust/crates/equivalent-1.0.2.crate) = 877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f
 SIZE (rust/crates/equivalent-1.0.2.crate) = 7419
 SHA256 (rust/crates/hashbrown-0.16.1.crate) = 841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100