From f656302a660134f45df66dc405542b10288cba06 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 8 Apr 2024 14:47:19 +0800 Subject: [PATCH] textproc/py-spacy: Allow build with py-weasel 0.4.0 - Bump PORTREVISION for package change Obtained from: https://github.com/explosion/spaCy/commit/f5e85fa05a5de357ee6a516a907042ec28f4f580 --- textproc/py-spacy/Makefile | 3 ++- textproc/py-spacy/files/patch-setup.cfg | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/textproc/py-spacy/Makefile b/textproc/py-spacy/Makefile index cd62a75fc7e28..2f55714c0c70b 100644 --- a/textproc/py-spacy/Makefile +++ b/textproc/py-spacy/Makefile @@ -1,5 +1,6 @@ PORTNAME= spacy PORTVERSION= 3.7.4 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -38,7 +39,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.6<2.1.0:devel/py-catalogue@${ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.38.0<5.0.0:misc/py-tqdm@${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} \ - ${PYTHON_PKGNAMEPREFIX}weasel>=0.1.0<0.4.0:devel/py-weasel@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}weasel>=0.1.0<0.5.0:devel/py-weasel@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent cython pep517 diff --git a/textproc/py-spacy/files/patch-setup.cfg b/textproc/py-spacy/files/patch-setup.cfg index 37865b1d2a628..03cefa54ff92c 100644 --- a/textproc/py-spacy/files/patch-setup.cfg +++ b/textproc/py-spacy/files/patch-setup.cfg @@ -1,8 +1,11 @@ --- setup.cfg.orig 2024-02-14 13:54:32 UTC +++ setup.cfg -@@ -51,7 +51,7 @@ install_requires = +@@ -49,9 +49,9 @@ install_requires = + wasabi>=0.9.1,<1.2.0 + srsly>=2.4.3,<3.0.0 catalogue>=2.0.6,<2.1.0 - weasel>=0.1.0,<0.4.0 +- weasel>=0.1.0,<0.4.0 ++ weasel>=0.1.0,<0.5.0 typer>=0.3.0,<0.10.0 - smart-open>=5.2.1,<7.0.0 + smart-open>=5.2.1