Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2024 18:32:08 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c4b168f5b2c5 - main - devel/py-pyquil: Allow build with py-packaging 24.0+
Message-ID:  <202404201832.43KIW8fO034759@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit c4b168f5b2c58257ddac39c4a9889979173e0f6f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 18:29:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 18:29:28 +0000

    devel/py-pyquil: Allow build with py-packaging 24.0+
    
    - Bump PORTREVISION for package change
---
 devel/py-pyquil/Makefile              |  3 ++-
 devel/py-pyquil/files/patch-packaging | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/py-pyquil/Makefile b/devel/py-pyquil/Makefile
index cd863bad57ec..7ac4fab48044 100644
--- a/devel/py-pyquil/Makefile
+++ b/devel/py-pyquil/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyquil
 DISTVERSION=	4.6.1
+PORTREVISION=	1
 CATEGORIES=	devel python # quantum-computing
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +16,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lark>=0.11.1:devel/py-lark@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}networkx>=2.5:math/py-networkx@${PY_FLAVOR} \
 		${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}packaging>=23.1<24.0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=23.1<25:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydantic>=1.10.7:devel/py-pydantic@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}qcs-sdk-python>=0.16.3:devel/py-qcs-sdk-python@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}retry2>=0.9.2,<0.10.0:devel/py-retry2@${PY_FLAVOR} \
diff --git a/devel/py-pyquil/files/patch-packaging b/devel/py-pyquil/files/patch-packaging
new file mode 100644
index 000000000000..8909dfc9fbd2
--- /dev/null
+++ b/devel/py-pyquil/files/patch-packaging
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-02-06 00:30:08 UTC
++++ pyproject.toml
+@@ -31,7 +31,7 @@ types-retry = "^0.9.9"
+ tenacity = "^8.2.2"
+ types-python-dateutil = "^2.8.19"
+ types-retry = "^0.9.9"
+-packaging = "^23.1"
++packaging = ">=23.1,<25"
+ 
+ # latex extra
+ ipython = { version = "^7.21.0", optional = true }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404201832.43KIW8fO034759>