aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-08 06:47:19 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-08 06:47:19 +0000
commitf656302a660134f45df66dc405542b10288cba06 (patch)
treeb28b9180fd93019288563c4f7185b051b47cd67c
parent9c5a4f8f204367adf64fc81d80153140a4109965 (diff)
downloadports-f656302a660134f45df66dc405542b10288cba06.tar.gz
ports-f656302a660134f45df66dc405542b10288cba06.zip
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
-rw-r--r--textproc/py-spacy/Makefile3
-rw-r--r--textproc/py-spacy/files/patch-setup.cfg7
2 files changed, 7 insertions, 3 deletions
diff --git a/textproc/py-spacy/Makefile b/textproc/py-spacy/Makefile
index cd62a75fc7e2..2f55714c0c70 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 37865b1d2a62..03cefa54ff92 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