git: 333a451d5826 - main - science/py-OpenFermion: update 1.5.1 → 1.6.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 30 Oct 2023 04:47:17 UTC
The branch main has been updated by yuri:

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

commit 333a451d5826e4f8771088d9ad9b9d5124bca0d5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-10-30 04:19:20 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-10-30 04:19:20 +0000

    science/py-OpenFermion: update 1.5.1 → 1.6.0
    
    Reported by:    portscout
---
 science/py-OpenFermion/Makefile | 7 +++----
 science/py-OpenFermion/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/science/py-OpenFermion/Makefile b/science/py-OpenFermion/Makefile
index 24c337d45509..488adbbe68a1 100644
--- a/science/py-OpenFermion/Makefile
+++ b/science/py-OpenFermion/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	OpenFermion
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.5.1
-PORTREVISION=	2
+DISTVERSION=	1.6.0
 CATEGORIES=	science python # quantum-computing
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,7 +11,7 @@ WWW=		https://github.com/quantumlib/OpenFermion
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cirq-core>=0.15.0:science/py-cirq-core@${PY_FLAVOR} \
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cirq-core>=1.0:science/py-cirq-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cirq-google>=0.15.0:science/py-cirq-google@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}deprecation>0:devel/py-deprecation@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}h5py>=2.8:science/py-h5py@${PY_FLAVOR} \
@@ -26,7 +25,7 @@ BUILD_DEPENDS=	${PY_DEPENDS}
 RUN_DEPENDS=	${PY_DEPENDS}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist pytest # 91 tests fail, see https://github.com/quantumlib/OpenFermion/issues/851
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	quantumlib
diff --git a/science/py-OpenFermion/distinfo b/science/py-OpenFermion/distinfo
index d519ba4b6d9f..07a1a76fe1e5 100644
--- a/science/py-OpenFermion/distinfo
+++ b/science/py-OpenFermion/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659900543
-SHA256 (quantumlib-OpenFermion-v1.5.1_GH0.tar.gz) = 8f55d5d48175c42267793cc7890faa0e0bd4b5d10a337f6406ca08b0697d37b0
-SIZE (quantumlib-OpenFermion-v1.5.1_GH0.tar.gz) = 44590093
+TIMESTAMP = 1698636606
+SHA256 (quantumlib-OpenFermion-v1.6.0_GH0.tar.gz) = 4a346a5e308be2383993a202fdb901e4b85d586aa756678f42907c65eb5dd30e
+SIZE (quantumlib-OpenFermion-v1.6.0_GH0.tar.gz) = 45091606