git: 1d25d0d08e7d - main - science/py-dwave-inspector: Update 0.3.0 -> 0.4.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 25 Dec 2022 09:58:03 UTC
The branch main has been updated by yuri:

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

commit 1d25d0d08e7da4c3e476ea44509868d41411ef37
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-25 08:17:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-25 09:57:45 +0000

    science/py-dwave-inspector: Update 0.3.0 -> 0.4.0
    
    Reported by:    portscout
---
 science/py-dwave-inspector/Makefile  | 8 ++++----
 science/py-dwave-inspector/distinfo  | 6 +++---
 science/py-dwave-inspector/pkg-plist | 6 ++++++
 3 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/science/py-dwave-inspector/Makefile b/science/py-dwave-inspector/Makefile
index fde949c69aef..9f2a2dfb6d37 100644
--- a/science/py-dwave-inspector/Makefile
+++ b/science/py-dwave-inspector/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dwave-inspector
-DISTVERSION=	0.3.0
+DISTVERSION=	0.4.0
 CATEGORIES=	science python # quantum-computing
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,16 +10,16 @@ WWW=		https://docs.ocean.dwavesys.com/projects/inspector/en/latest/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dimod>=0.8.17:science/py-dimod@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dimod>=0.10.0:science/py-dimod@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dwave-cloud-client>=0.8.3:science/py-dwave-cloud-client@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dwave-system>=1.3.0:science/py-dwave-system@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Flask>=1.1.1:www/py-flask@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Flask>=2.2:www/py-flask@${PY_FLAVOR} \
 		${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR}
 
 USES=		python:3.9+
-USE_PYTHON=	distutils cython unittest
+USE_PYTHON=	distutils cython unittest # few tests fail, see https://github.com/dwavesystems/dwave-inspector/issues/151
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	dwavesystems
diff --git a/science/py-dwave-inspector/distinfo b/science/py-dwave-inspector/distinfo
index c92d33d9cfc0..97c2e4068cbf 100644
--- a/science/py-dwave-inspector/distinfo
+++ b/science/py-dwave-inspector/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660605010
-SHA256 (dwavesystems-dwave-inspector-0.3.0_GH0.tar.gz) = 8f96d87177ecd1a11473e515f383ec61c67f1b3d7c02ddffc226baea528dc7ae
-SIZE (dwavesystems-dwave-inspector-0.3.0_GH0.tar.gz) = 842401
+TIMESTAMP = 1671955894
+SHA256 (dwavesystems-dwave-inspector-0.4.0_GH0.tar.gz) = 365af4384c0dc38289b05c110f87b00e6cc8a06291d07bf154550f26e88dcf43
+SIZE (dwavesystems-dwave-inspector-0.4.0_GH0.tar.gz) = 848144
diff --git a/science/py-dwave-inspector/pkg-plist b/science/py-dwave-inspector/pkg-plist
index 4ddd12f8bcc1..f8f6c5a27501 100644
--- a/science/py-dwave-inspector/pkg-plist
+++ b/science/py-dwave-inspector/pkg-plist
@@ -3,8 +3,12 @@
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/adapters%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/adapters%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/config%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/config%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/package_info%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/package_info%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/proxies%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/proxies%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/server%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/server%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/storage%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
@@ -14,7 +18,9 @@
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/viewers%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/viewers%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/dwave/inspector/adapters.py
+%%PYTHON_SITELIBDIR%%/dwave/inspector/config.py
 %%PYTHON_SITELIBDIR%%/dwave/inspector/package_info.py
+%%PYTHON_SITELIBDIR%%/dwave/inspector/proxies.py
 %%PYTHON_SITELIBDIR%%/dwave/inspector/server.py
 %%PYTHON_SITELIBDIR%%/dwave/inspector/storage.py
 %%PYTHON_SITELIBDIR%%/dwave/inspector/utils.py