git: 1e6337310ef9 - main - textproc/py-spacy: Allow build with py-smart-open 7.0.1+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Mar 2024 14:14:14 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e6337310ef958ea4c039123f598baa9e8bc6ba5 commit 1e6337310ef958ea4c039123f598baa9e8bc6ba5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-03-09 13:50:27 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-09 14:06:17 +0000 textproc/py-spacy: Allow build with py-smart-open 7.0.1+ --- textproc/py-spacy/Makefile | 2 +- textproc/py-spacy/files/patch-setup.cfg | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/textproc/py-spacy/Makefile b/textproc/py-spacy/Makefile index eae8b11184a2..cd62a75fc7e2 100644 --- a/textproc/py-spacy/Makefile +++ b/textproc/py-spacy/Makefile @@ -30,7 +30,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.6<2.1.0:devel/py-catalogue@${ ${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}setuptools>=0:devel/py-setuptools@${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}spacy-legacy>=3.0.11<3.1.0:textproc/py-spacy-legacy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}spacy-loggers>=1.0.0<2.0.0:textproc/py-spacy-loggers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}srsly>=2.4.3<3.0.0:devel/py-srsly@${PY_FLAVOR} \ diff --git a/textproc/py-spacy/files/patch-setup.cfg b/textproc/py-spacy/files/patch-setup.cfg new file mode 100644 index 000000000000..37865b1d2a62 --- /dev/null +++ b/textproc/py-spacy/files/patch-setup.cfg @@ -0,0 +1,11 @@ +--- setup.cfg.orig 2024-02-14 13:54:32 UTC ++++ setup.cfg +@@ -51,7 +51,7 @@ install_requires = + catalogue>=2.0.6,<2.1.0 + weasel>=0.1.0,<0.4.0 + typer>=0.3.0,<0.10.0 +- smart-open>=5.2.1,<7.0.0 ++ smart-open>=5.2.1 + tqdm>=4.38.0,<5.0.0 + numpy>=1.15.0; python_version < "3.9" + numpy>=1.19.0; python_version >= "3.9"