git: 0d8b87e10b37 - main - devel/py-thinc8: Update to 8.3.6

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 18 Apr 2025 05:45:50 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d8b87e10b37b3a6ee246b2ed4c8eb589531b3d4

commit 0d8b87e10b37b3a6ee246b2ed4c8eb589531b3d4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-18 05:16:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-18 05:37:41 +0000

    devel/py-thinc8: Update to 8.3.6
    
    Changes:        https://github.com/explosion/thinc/releases
---
 devel/py-thinc8/Makefile                   | 10 +++++-----
 devel/py-thinc8/distinfo                   |  6 +++---
 devel/py-thinc8/files/patch-pyproject.toml | 12 +++++++++---
 devel/py-thinc8/files/patch-setup.cfg      | 19 +++++++++++++++----
 4 files changed, 32 insertions(+), 15 deletions(-)

diff --git a/devel/py-thinc8/Makefile b/devel/py-thinc8/Makefile
index 0ce68b58330c..f40d2248ccc4 100644
--- a/devel/py-thinc8/Makefile
+++ b/devel/py-thinc8/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	thinc
-PORTVERSION=	8.3.4
+PORTVERSION=	8.3.6
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI \
 		https://github.com/explosion/thinc/releases/download/release-v${PORTVERSION}/
@@ -14,14 +14,14 @@ WWW=		https://thinc.ai/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blis>=1.2.0<1.3.0:math/py-blis@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blis>=1.3.0<1.4.0:math/py-blis@${PY_FLAVOR} \
 		${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.19.0,1<3.0.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}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blis>=1.2.0<1.3.0:math/py-blis@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blis>=1.3.0<1.4.0:math/py-blis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.4<2.1.0:devel/py-catalogue@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}confection>=0.0.1<1.0.0:devel/py-confection@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLAVOR} \
@@ -29,12 +29,12 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blis>=1.2.0<1.3.0:math/py-blis@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}numpy>=1.19.0,1<3.0.0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}preshed3>=3.0.2<3.1.0:devel/py-preshed3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pydantic2>=1.7.4<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.0<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}srsly>=2.4.0<3.0.0:devel/py-srsly@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wasabi>=0.8.1<1.2.0:textproc/py-wasabi@${PY_FLAVOR}
 
-USES=		python:3.9+
+USES=		python
 USE_PYTHON=	autoplist concurrent cython pep517
 
 PORTSCOUT=	limit:^8\.
diff --git a/devel/py-thinc8/distinfo b/devel/py-thinc8/distinfo
index 81b283b41970..954f66d07795 100644
--- a/devel/py-thinc8/distinfo
+++ b/devel/py-thinc8/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738089074
-SHA256 (thinc-8.3.4.tar.gz) = b5925482498bbb6dca0771e375b35c915818f735891e93d93a662dab15f6ffd8
-SIZE (thinc-8.3.4.tar.gz) = 193903
+TIMESTAMP = 1744288988
+SHA256 (thinc-8.3.6.tar.gz) = 49983f9b7ddc4343a9532694a9118dd216d7a600520a21849a43b6c268ec6cad
+SIZE (thinc-8.3.6.tar.gz) = 194218
diff --git a/devel/py-thinc8/files/patch-pyproject.toml b/devel/py-thinc8/files/patch-pyproject.toml
index e53513a56a63..2f41f84601d5 100644
--- a/devel/py-thinc8/files/patch-pyproject.toml
+++ b/devel/py-thinc8/files/patch-pyproject.toml
@@ -1,9 +1,15 @@
---- pyproject.toml.orig	2025-01-13 12:16:06 UTC
+--- pyproject.toml.orig	2025-04-04 11:10:41 UTC
 +++ pyproject.toml
-@@ -6,7 +6,7 @@ requires = [
+@@ -1,12 +1,12 @@ requires = [
+ [build-system]
+ requires = [
+     "setuptools",
+-    "cython>=3.0,<4.0",
++    "cython>=0,<4.0",
+     "murmurhash>=1.0.2,<1.1.0",
      "cymem>=2.0.2,<2.1.0",
      "preshed>=3.0.2,<3.1.0",
-     "blis>=1.2.0,<1.3.0",
+     "blis>=1.3.0,<1.4.0",
 -    "numpy>=2.0.0,<3.0.0",
 +    "numpy>=1.19.0,<3.0.0",
  ]
diff --git a/devel/py-thinc8/files/patch-setup.cfg b/devel/py-thinc8/files/patch-setup.cfg
index 83cc0da2b67f..ebd64bbe746a 100644
--- a/devel/py-thinc8/files/patch-setup.cfg
+++ b/devel/py-thinc8/files/patch-setup.cfg
@@ -1,11 +1,22 @@
---- setup.cfg.orig	2024-12-16 12:19:05 UTC
+--- setup.cfg.orig	2025-04-04 11:10:50 UTC
 +++ setup.cfg
-@@ -33,7 +33,7 @@ setup_requires = 
- python_requires = >=3.9,<3.13
+@@ -32,8 +32,8 @@ setup_requires = 
+ include_package_data = true
+ python_requires = >=3.9,<3.14
  setup_requires = 
- 	cython>=0.29.0,<3.0
+-	cython>=3.0,<4.0
 -	numpy>=2.0.0,<3.0.0
++	cython>=0,<4.0
 +	numpy>=1.19.0,<3.0.0
  	cymem>=2.0.2,<2.1.0
  	preshed>=3.0.2,<3.1.0
  	murmurhash>=1.0.2,<1.1.0
+@@ -48,7 +48,7 @@ install_requires = 
+ 	catalogue>=2.0.4,<2.1.0
+ 	confection>=0.0.1,<1.0.0
+ 	setuptools
+-	numpy>=2.0.0,<3.0.0
++	numpy>=1.19.0,<3.0.0
+ 	pydantic>=2.0.0,<3.0.0
+ 	packaging>=20.0
+ 	dataclasses>=0.6,<1.0; python_version < "3.7"