git: 6298555d0516 - main - science/py-dwave-system: Update 1.18.0 → 1.20.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 14 Jun 2023 03:58:19 UTC
The branch main has been updated by yuri:

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

commit 6298555d05162375ed42572626037b35f1dcbb07
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-14 03:35:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-14 03:58:14 +0000

    science/py-dwave-system: Update 1.18.0 → 1.20.0
---
 science/py-dwave-system/Makefile             |  4 ++--
 science/py-dwave-system/distinfo             |  6 +++---
 science/py-dwave-system/files/patch-setup.py | 11 +++++++++++
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/science/py-dwave-system/Makefile b/science/py-dwave-system/Makefile
index ec17f5664004..105087dd870e 100644
--- a/science/py-dwave-system/Makefile
+++ b/science/py-dwave-system/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	dwave-system
-DISTVERSION=	1.18.0
-PORTREVISION=	1
+DISTVERSION=	1.20.0
 CATEGORIES=	science python # quantum-computing
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -19,6 +18,7 @@ PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dimod>=0.12.0:science/py-dimod@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dwave-samplers>=1.0.0:science/py-dwave-samplers@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}homebase>=1.0.1:devel/py-homebase@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}minorminer>=0.2.9:math/py-minorminer@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}networkx>=2.0:math/py-networkx@${PY_FLAVOR} \
 		${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=1.7.3:science/py-scipy@${PY_FLAVOR}
 BUILD_DEPENDS=	${PY_DEPENDS}
diff --git a/science/py-dwave-system/distinfo b/science/py-dwave-system/distinfo
index 86d7ac6f01a1..18bebdbcd1fc 100644
--- a/science/py-dwave-system/distinfo
+++ b/science/py-dwave-system/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671955428
-SHA256 (dwavesystems-dwave-system-1.18.0_GH0.tar.gz) = 6f56a35c95baf2a36dd0b34b38a7ef096fce8fd40687638c4c72654bcffee245
-SIZE (dwavesystems-dwave-system-1.18.0_GH0.tar.gz) = 680764
+TIMESTAMP = 1686711234
+SHA256 (dwavesystems-dwave-system-1.20.0_GH0.tar.gz) = 69b933d67f6c7c94fe9d8fa080900707d2170e9fb7c4509963071b4000843a44
+SIZE (dwavesystems-dwave-system-1.20.0_GH0.tar.gz) = 680433
diff --git a/science/py-dwave-system/files/patch-setup.py b/science/py-dwave-system/files/patch-setup.py
new file mode 100644
index 000000000000..e0a9fb3ef567
--- /dev/null
+++ b/science/py-dwave-system/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2023-06-14 03:20:31 UTC
++++ setup.py
+@@ -29,7 +29,7 @@ install_requires = ['dimod>=0.12.7,<0.14.0',
+                     'dwave-cloud-client>=0.9.1,<0.11.0',
+                     'dwave-networkx>=0.8.10',
+                     'dwave-preprocessing>=0.5.0',
+-                    'networkx>=2.0,<3.0',
++                    'networkx>=2.0',
+                     'homebase>=1.0.0,<2.0.0',
+                     'minorminer>=0.2.8,<0.3.0',
+                     'numpy>=1.20.0',