git: 42d3e5b065b8 - main - devel/py-weasel: Allow build with py-smart-open 7.0.1+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:13:34 UTC
The branch main has been updated by sunpoet:

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

commit 42d3e5b065b820bfe9a8c0d58c498522986f13a2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:48:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:06:08 +0000

    devel/py-weasel: Allow build with py-smart-open 7.0.1+
---
 devel/py-weasel/Makefile              |  2 +-
 devel/py-weasel/files/patch-setup.cfg | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/devel/py-weasel/Makefile b/devel/py-weasel/Makefile
index c11758b722d4..abb384522047 100644
--- a/devel/py-weasel/Makefile
+++ b/devel/py-weasel/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cloudpathlib>=0.7.0:devel/py-cloudpathlib@${
 		${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydantic2>=1.7.4<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.13.0<3.0.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}smart-open>=5.2.1<7.0.0:net/py-smart-open@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}smart-open>=5.2.1:net/py-smart-open@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}srsly>=2.4.3<3.0.0:devel/py-srsly@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typer>=0.3.0<0.10.0:devel/py-typer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wasabi>=0.9.1<1.2.0:textproc/py-wasabi@${PY_FLAVOR}
diff --git a/devel/py-weasel/files/patch-setup.cfg b/devel/py-weasel/files/patch-setup.cfg
index ff29acb5ebed..033ee542ea00 100644
--- a/devel/py-weasel/files/patch-setup.cfg
+++ b/devel/py-weasel/files/patch-setup.cfg
@@ -1,11 +1,11 @@
 --- setup.cfg.orig	2023-11-06 16:07:56 UTC
 +++ setup.cfg
-@@ -37,7 +37,7 @@ install_requires = 
- 	wasabi>=0.9.1,<1.2.0
+@@ -38,7 +38,7 @@ install_requires = 
  	srsly>=2.4.3,<3.0.0
  	typer>=0.3.0,<0.10.0
--	cloudpathlib>=0.7.0,<0.17.0
-+	cloudpathlib>=0.7.0
- 	smart-open>=5.2.1,<7.0.0
+ 	cloudpathlib>=0.7.0,<0.17.0
+-	smart-open>=5.2.1,<7.0.0
++	smart-open>=5.2.1
  	requests>=2.13.0,<3.0.0
  	pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0
+