aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-03-19 07:18:57 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-03-19 07:46:56 +0000
commita4b83412b20d98dee0b6ae4492e3f132baa92da9 (patch)
tree795d65fa0cd60091d70f74940cbcd6c61ef13a08
parent39e991b0a9b1af11065ccc649417d954a5f3bb4b (diff)
downloadports-a4b83412b20d98dee0b6ae4492e3f132baa92da9.tar.gz
ports-a4b83412b20d98dee0b6ae4492e3f132baa92da9.zip
math/py-PySCIPOpt: Update 4.2.0 → 4.3.0
Reported by: portscout
-rw-r--r--math/py-PySCIPOpt/Makefile13
-rw-r--r--math/py-PySCIPOpt/distinfo6
2 files changed, 12 insertions, 7 deletions
diff --git a/math/py-PySCIPOpt/Makefile b/math/py-PySCIPOpt/Makefile
index 7743bc6592f6..6c67f261b281 100644
--- a/math/py-PySCIPOpt/Makefile
+++ b/math/py-PySCIPOpt/Makefile
@@ -1,8 +1,8 @@
PORTNAME= PySCIPOpt
-DISTVERSION= 4.2.0
-PORTREVISION= 1
+DISTVERSIONPREFIX= v
+DISTVERSION= 4.3.0
CATEGORIES= math python
-MASTER_SITES= PYPI
+#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
@@ -14,7 +14,12 @@ LICENSE= MIT
LIB_DEPENDS= libscip.so:math/SCIP
USES= localbase python:3.6+
-USE_PYTHON= distutils cython autoplist
+USE_PYTHON= distutils cython autoplist pytest
+
+USE_GITHUB= yes
+GH_ACCOUNT= scipopt
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyscipopt/scip*.so
diff --git a/math/py-PySCIPOpt/distinfo b/math/py-PySCIPOpt/distinfo
index 8cdc59931336..1bddd3dce2d5 100644
--- a/math/py-PySCIPOpt/distinfo
+++ b/math/py-PySCIPOpt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652027325
-SHA256 (PySCIPOpt-4.2.0.tar.gz) = c9ac57a996ad2f9d53bdd354134fb081c1bb3ed9bb5b9ed348c8f80f6161d4ec
-SIZE (PySCIPOpt-4.2.0.tar.gz) = 661194
+TIMESTAMP = 1679207677
+SHA256 (scipopt-PySCIPOpt-v4.3.0_GH0.tar.gz) = f2c71fdf9cdf4bbe2bdb3f26a1e3f5eb6d7a95e0c3dd6b7b31d4d5a910a191b2
+SIZE (scipopt-PySCIPOpt-v4.3.0_GH0.tar.gz) = 213335