git: 5496159a9bcd - main - textproc/py-spacy: Update to 3.8.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:19:46 UTC
The branch main has been updated by sunpoet:

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

commit 5496159a9bcd2166e3871e7c82b0704c3276fbe8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:57:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:19 +0000

    textproc/py-spacy: Update to 3.8.0
    
    Changes:        https://github.com/explosion/spaCy/releases
---
 textproc/py-spacy/Makefile                   |  8 ++++----
 textproc/py-spacy/distinfo                   |  6 +++---
 textproc/py-spacy/files/patch-pyproject.toml | 16 +++++++++-------
 textproc/py-spacy/files/patch-setup.cfg      | 24 +++++++++---------------
 4 files changed, 25 insertions(+), 29 deletions(-)

diff --git a/textproc/py-spacy/Makefile b/textproc/py-spacy/Makefile
index 82a9d7fbc4f4..4f038f079afe 100644
--- a/textproc/py-spacy/Makefile
+++ b/textproc/py-spacy/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	spacy
-PORTVERSION=	3.7.6
+PORTVERSION=	3.8.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,10 +14,10 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}murmurhash>=0.28.0<1.1.0:devel/py-murmurhash@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.25.0,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.19.0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}preshed3>=3.0.2<3.1.0:devel/py-preshed3@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}thinc8>=8.2.2<8.3.0_99:devel/py-thinc8@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}thinc8>=8.3.0<8.4.0:devel/py-thinc8@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.6<2.1.0:devel/py-catalogue@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLAVOR} \
@@ -33,7 +33,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.6<2.1.0:devel/py-catalogue@${
 		${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} \
-		${PYTHON_PKGNAMEPREFIX}thinc8>=8.2.2<8.3.0_99:devel/py-thinc8@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}thinc8>=8.3.0<8.4.0:devel/py-thinc8@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tqdm>=4.38.0<5.0.0:misc/py-tqdm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typer>=0.3.0<1.0.0:devel/py-typer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wasabi>=0.9.1<1.2.0:textproc/py-wasabi@${PY_FLAVOR} \
diff --git a/textproc/py-spacy/distinfo b/textproc/py-spacy/distinfo
index b566bed7b01b..78330cc11ebb 100644
--- a/textproc/py-spacy/distinfo
+++ b/textproc/py-spacy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725559891
-SHA256 (spacy-3.7.6.tar.gz) = f4065c0aac5c48bbfb2ffe191d55ccb33bfb005376afbd4ccd6d5e9341514e34
-SIZE (spacy-3.7.6.tar.gz) = 1275615
+TIMESTAMP = 1726487384
+SHA256 (spacy-3.8.0.tar.gz) = 00ce46c8dbcd50deac38376c6f04e4d1b6ee67a2e4a2b64ede0cee09f203c3a7
+SIZE (spacy-3.8.0.tar.gz) = 1275629
diff --git a/textproc/py-spacy/files/patch-pyproject.toml b/textproc/py-spacy/files/patch-pyproject.toml
index 21e39f677180..fd3bb9e915e6 100644
--- a/textproc/py-spacy/files/patch-pyproject.toml
+++ b/textproc/py-spacy/files/patch-pyproject.toml
@@ -1,11 +1,13 @@
---- pyproject.toml.orig	2024-06-04 21:26:36 UTC
+--- pyproject.toml.orig	2024-09-11 19:33:13 UTC
 +++ pyproject.toml
-@@ -5,7 +5,7 @@ requires = [
-     "cymem>=2.0.2,<2.1.0",
+@@ -6,8 +6,8 @@ requires = [
      "preshed>=3.0.2,<3.1.0",
      "murmurhash>=0.28.0,<1.1.0",
--    "thinc>=8.2.2,<8.3.0",
-+    "thinc>=8.2.2,<=8.3.0",
-     "numpy>=1.15.0; python_version < '3.9'",
-     "numpy>=1.25.0; python_version >= '3.9'",
+     "thinc>=8.3.0,<8.4.0",
+-    "numpy>=2.0.0,<2.1.0; python_version < '3.9'",
+-    "numpy>=2.0.0,<2.1.0; python_version >= '3.9'",
++    "numpy>=1.15.0; python_version < '3.9'",
++    "numpy>=1.19.0; python_version >= '3.9'",
  ]
+ build-backend = "setuptools.build_meta"
+ 
diff --git a/textproc/py-spacy/files/patch-setup.cfg b/textproc/py-spacy/files/patch-setup.cfg
index 4ee91a8c5b0c..9e580cad5514 100644
--- a/textproc/py-spacy/files/patch-setup.cfg
+++ b/textproc/py-spacy/files/patch-setup.cfg
@@ -1,19 +1,13 @@
---- setup.cfg.orig	2024-06-04 21:27:44 UTC
+--- setup.cfg.orig	2024-09-11 19:34:12 UTC
 +++ setup.cfg
-@@ -39,14 +39,14 @@ setup_requires = 
+@@ -34,8 +34,8 @@ setup_requires = 
+ python_requires = >=3.7
+ setup_requires = 
+ 	cython>=0.25,<3.0
+-	numpy>=2.0.0,<2.1.0; python_version < "3.9"
+-	numpy>=2.0.0,<2.1.0; python_version >= "3.9"
++	numpy>=1.15.0; python_version < "3.9"
++	numpy>=1.19.0; python_version >= "3.9"
  	cymem>=2.0.2,<2.1.0
  	preshed>=3.0.2,<3.1.0
  	murmurhash>=0.28.0,<1.1.0
--	thinc>=8.2.2,<8.3.0
-+	thinc>=8.2.2,<=8.3.0
- install_requires = 
- 	spacy-legacy>=3.0.11,<3.1.0
- 	spacy-loggers>=1.0.0,<2.0.0
- 	murmurhash>=0.28.0,<1.1.0
- 	cymem>=2.0.2,<2.1.0
- 	preshed>=3.0.2,<3.1.0
--	thinc>=8.2.2,<8.3.0
-+	thinc>=8.2.2,<=8.3.0
- 	wasabi>=0.9.1,<1.2.0
- 	srsly>=2.4.3,<3.0.0
- 	catalogue>=2.0.6,<2.1.0