aboutsummaryrefslogtreecommitdiff
path: root/math/py-PySCIPOpt
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-02-27 10:27:01 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2025-02-27 10:29:40 +0000
commitee8d1b7f957ebd14e39e164f889c50e558fcb964 (patch)
tree1cb3a84c8737d75f09b18551c639ac91d880aae3 /math/py-PySCIPOpt
parent14d2114d3ff1d756546ee08ccb81f830f2017978 (diff)
Diffstat (limited to 'math/py-PySCIPOpt')
-rw-r--r--math/py-PySCIPOpt/Makefile9
-rw-r--r--math/py-PySCIPOpt/distinfo6
2 files changed, 9 insertions, 6 deletions
diff --git a/math/py-PySCIPOpt/Makefile b/math/py-PySCIPOpt/Makefile
index 720d3043af77..b779d1c88c73 100644
--- a/math/py-PySCIPOpt/Makefile
+++ b/math/py-PySCIPOpt/Makefile
@@ -1,6 +1,6 @@
PORTNAME= PySCIPOpt
DISTVERSIONPREFIX= v
-DISTVERSION= 5.3.0
+DISTVERSION= 5.4.1
CATEGORIES= math python
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,13 @@ WWW= https://github.com/SCIP-Interfaces/PySCIPOpt
LICENSE= MIT
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3
LIB_DEPENDS= libscip.so:math/SCIP
+RUN_DEPENDS= ${PYNUMPY}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR}
USES= localbase python
-USE_PYTHON= distutils cython autoplist pytest # 1 test fails, see https://github.com/scipopt/PySCIPOpt/issues/840
+USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/scipopt/PySCIPOpt/issues/840
USE_GITHUB= yes
GH_ACCOUNT= scipopt
@@ -24,6 +27,6 @@ TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyscipopt/scip*.so
-# tests as of 5.3.0: 2 failed, 299 passed, 105 skipped, 11 xfailed, 308 warnings in 58.95s, see https://github.com/scipopt/PySCIPOpt/issues/951
+# tests as of 5.3.0: 310 passed, 106 skipped, 11 xfailed, 4 warnings in 127.77s (0:02:07)
.include <bsd.port.mk>
diff --git a/math/py-PySCIPOpt/distinfo b/math/py-PySCIPOpt/distinfo
index 2690f50355cb..cfcabd7416be 100644
--- a/math/py-PySCIPOpt/distinfo
+++ b/math/py-PySCIPOpt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739082958
-SHA256 (scipopt-PySCIPOpt-v5.3.0_GH0.tar.gz) = 19d7828e1179df2942a7adc1147a26dc74417904350ae365d15e12f63f3c4eb2
-SIZE (scipopt-PySCIPOpt-v5.3.0_GH0.tar.gz) = 780260
+TIMESTAMP = 1740649709
+SHA256 (scipopt-PySCIPOpt-v5.4.1_GH0.tar.gz) = a6406fd116494495d5078bf56d0120b610b2c8bf84489e6b5d49874ab630b7eb
+SIZE (scipopt-PySCIPOpt-v5.4.1_GH0.tar.gz) = 788796