git: 50037fe84c6f - main - math/py-CyLP: update 0.91.6 → 0.92.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 20 Dec 2023 19:21:49 UTC
The branch main has been updated by yuri:

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

commit 50037fe84c6f20109e3e1c5aa1f37cc58876985f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-20 19:21:21 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-20 19:21:36 +0000

    math/py-CyLP: update 0.91.6 → 0.92.2
    
    Reported by:    portscout
---
 math/py-CyLP/Makefile             | 13 +++++++------
 math/py-CyLP/distinfo             |  6 +++---
 math/py-CyLP/files/patch-setup.py | 13 +++++++++++--
 3 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/math/py-CyLP/Makefile b/math/py-CyLP/Makefile
index ffe1617773e1..1113e2aa086e 100644
--- a/math/py-CyLP/Makefile
+++ b/math/py-CyLP/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	CyLP
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.91.6
+DISTVERSION=	0.92.2
 CATEGORIES=	math python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -13,9 +13,9 @@ LICENSE_NAME=	Common Public License Version 1.0
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
 
-PY_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}scipy>=0.10.0:science/py-scipy@${PY_FLAVOR}
-BUILD_DEPENDS=	${PY_DEPENDS}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3 \
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libblas.so:math/blas \
 		libCbc.so:math/cbc \
 		libCgl.so:math/cgl \
@@ -23,10 +23,11 @@ LIB_DEPENDS=	libblas.so:math/blas \
 		libCoinUtils.so:math/coinutils \
 		liblapack.so:math/lapack \
 		libOsi.so:math/osi
-RUN_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=0.10.0:science/py-scipy@${PY_FLAVOR}
 
 USES=		compiler:c++11-lang python
-USE_PYTHON=	distutils cython autoplist pytest
+USE_PYTHON=	pep517 cython autoplist pytest
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	coin-or
diff --git a/math/py-CyLP/distinfo b/math/py-CyLP/distinfo
index 0defb60d93f2..dd51899b86c6 100644
--- a/math/py-CyLP/distinfo
+++ b/math/py-CyLP/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685780281
-SHA256 (coin-or-CyLP-v0.91.6_GH0.tar.gz) = e05a4db7f86646a0103235d2b9620ec3bb1d88ca34e11319f9feb98ed11e3156
-SIZE (coin-or-CyLP-v0.91.6_GH0.tar.gz) = 7667335
+TIMESTAMP = 1703097807
+SHA256 (coin-or-CyLP-v0.92.2_GH0.tar.gz) = d107e457754e6da71877f4e192eedd5fdcd80c00c601b4d99fdebc8f9ff9afec
+SIZE (coin-or-CyLP-v0.92.2_GH0.tar.gz) = 7666830
diff --git a/math/py-CyLP/files/patch-setup.py b/math/py-CyLP/files/patch-setup.py
index f2607cf7e063..a7d9511dcb83 100644
--- a/math/py-CyLP/files/patch-setup.py
+++ b/math/py-CyLP/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig	2014-02-14 17:25:06 UTC
+--- setup.py.orig	2023-11-01 20:21:56 UTC
 +++ setup.py
-@@ -108,7 +108,7 @@ ext_modules = []
+@@ -124,7 +124,7 @@ ext_modules = []
  
  if operatingSystem == 'mac':
      extra_link_args = ['-Wl,-framework', '-Wl,Accelerate', '-headerpad_max_install_names']
@@ -9,3 +9,12 @@
      extra_link_args = ['-lrt']
  else:
      # Assuming Windows
+@@ -396,7 +396,7 @@ s_AUTHORS = open('AUTHORS').read()
+ 
+ extra_files = ['cpp/*.hpp', 'cpp/*.h', 'cy/*.pxd', 'VERSION']
+ 
+-setup(name='cylp',
++setup(name='CyLP',
+       version=VERSION,
+       description='A Python interface for CLP, CBC, and CGL',
+       long_description=s_README,