git: a4b83412b20d - main - math/py-PySCIPOpt: Update 4.2.0 → 4.3.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 19 Mar 2023 07:47:05 UTC
The branch main has been updated by yuri:

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

commit a4b83412b20d98dee0b6ae4492e3f132baa92da9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-19 07:18:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-19 07:46:56 +0000

    math/py-PySCIPOpt: Update 4.2.0 → 4.3.0
    
    Reported by:    portscout
---
 math/py-PySCIPOpt/Makefile | 13 +++++++++----
 math/py-PySCIPOpt/distinfo |  6 +++---
 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