aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-15 19:43:37 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-15 20:09:49 +0000
commitb8bbe744896f8887e2c623e5e013738c62b984dd (patch)
treed9b2c8e013d006f428f4c56149d8722e2107df81
parent05a5925907c135e651286f5db6a6448b44951229 (diff)
downloadports-b8bbe744896f8887e2c623e5e013738c62b984dd.tar.gz
ports-b8bbe744896f8887e2c623e5e013738c62b984dd.zip
devel/py-thinc:devel/py-thinc: Update to 9.1.0
-rw-r--r--devel/py-thinc/Makefile11
-rw-r--r--devel/py-thinc/distinfo6
-rw-r--r--devel/py-thinc/files/patch-pyproject.toml13
-rw-r--r--devel/py-thinc/files/patch-setup.cfg20
4 files changed, 41 insertions, 9 deletions
diff --git a/devel/py-thinc/Makefile b/devel/py-thinc/Makefile
index 808eca322802..330c5406fa44 100644
--- a/devel/py-thinc/Makefile
+++ b/devel/py-thinc/Makefile
@@ -1,6 +1,5 @@
PORTNAME= thinc
-PORTVERSION= 9.0.0
-PORTREVISION= 1
+PORTVERSION= 9.1.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,19 +12,19 @@ WWW= https://thinc.ai/ \
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis07>=0.7.8<0.8.0:math/py-blis07@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis>=1.0.0<1.1.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.25.0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=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}blis07>=0.7.8<0.8.0:math/py-blis07@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis>=1.0.0<1.1.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} \
${PYTHON_PKGNAMEPREFIX}murmurhash>=0.28.0<1.1.0:devel/py-murmurhash@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=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} \
diff --git a/devel/py-thinc/distinfo b/devel/py-thinc/distinfo
index e971f2f207de..7c6021626c94 100644
--- a/devel/py-thinc/distinfo
+++ b/devel/py-thinc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713624706
-SHA256 (thinc-9.0.0.tar.gz) = bbe7fc3dca4f2b89a2c1429e8bf1c9dc20b0faad13f0ac29053bbb3c2531ad57
-SIZE (thinc-9.0.0.tar.gz) = 191333
+TIMESTAMP = 1726081027
+SHA256 (thinc-9.1.0.tar.gz) = d5bd57b7b1745804ca305256e8283aaab3ee5b9701925fa6539587a275792bc5
+SIZE (thinc-9.1.0.tar.gz) = 191893
diff --git a/devel/py-thinc/files/patch-pyproject.toml b/devel/py-thinc/files/patch-pyproject.toml
new file mode 100644
index 000000000000..df635be76ba4
--- /dev/null
+++ b/devel/py-thinc/files/patch-pyproject.toml
@@ -0,0 +1,13 @@
+--- pyproject.toml.orig 2024-09-02 09:57:44 UTC
++++ pyproject.toml
+@@ -6,8 +6,8 @@ requires = [
+ "cymem>=2.0.2,<2.1.0",
+ "preshed>=3.0.2,<3.1.0",
+ "blis>=1.0.0,<1.1.0",
+- "numpy>=2.0.0,<3.0.0; python_version < '3.9'",
+- "numpy>=2.0.0,<3.0.0; python_version >= '3.9'",
++ "numpy>=0,<3.0.0; python_version < '3.9'",
++ "numpy>=0,<3.0.0; python_version >= '3.9'",
+ ]
+ build-backend = "setuptools.build_meta"
+
diff --git a/devel/py-thinc/files/patch-setup.cfg b/devel/py-thinc/files/patch-setup.cfg
new file mode 100644
index 000000000000..94cc684ce603
--- /dev/null
+++ b/devel/py-thinc/files/patch-setup.cfg
@@ -0,0 +1,20 @@
+--- setup.cfg.orig 2024-09-02 09:57:54 UTC
++++ setup.cfg
+@@ -29,7 +29,7 @@ setup_requires =
+ python_requires = >=3.9
+ setup_requires =
+ cython>=0.25,<3.0
+- numpy>=2.0.0,<3.0.0
++ numpy>=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
+@@ -44,7 +44,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>=0,<3.0.0
+ pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0
+ packaging>=20.0
+