git: e848b7c0bae2 - main - devel/py-thinc8: Update to 8.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 17:22:48 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e848b7c0bae27c671885d90323abf8525b28cbbb commit e848b7c0bae27c671885d90323abf8525b28cbbb Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-08-04 17:08:12 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-08-04 17:14:07 +0000 devel/py-thinc8: Update to 8.3.0 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 | 21 +++++++++++++++++++++ 4 files changed, 41 insertions(+), 8 deletions(-) diff --git a/devel/py-thinc8/Makefile b/devel/py-thinc8/Makefile index d77055b96c1e..ae55b887d718 100644 --- a/devel/py-thinc8/Makefile +++ b/devel/py-thinc8/Makefile @@ -1,5 +1,5 @@ PORTNAME= thinc -PORTVERSION= 8.2.5 +PORTVERSION= 8.3.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,19 +13,19 @@ WWW= https://thinc.ai/ \ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis>=0.7.8<0.8.0:math/py-blis@${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<2.0.0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=0,1<2.1.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>=0.7.8<0.8.0:math/py-blis@${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<2.0.0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=0,1<2.1.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-thinc8/distinfo b/devel/py-thinc8/distinfo index e409aa5b32ac..f25edfa16aef 100644 --- a/devel/py-thinc8/distinfo +++ b/devel/py-thinc8/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720022842 -SHA256 (thinc-8.2.5.tar.gz) = c2963791c934cc7fbd8f9b942d571cac79892ad11630bfca690a868c32752b75 -SIZE (thinc-8.2.5.tar.gz) = 193031 +TIMESTAMP = 1722711221 +SHA256 (thinc-8.3.0.tar.gz) = eb3bed54f5c00ec9addaaa208c51ccfa059483d73140cd515aa33373715c6e59 +SIZE (thinc-8.3.0.tar.gz) = 193550 diff --git a/devel/py-thinc8/files/patch-pyproject.toml b/devel/py-thinc8/files/patch-pyproject.toml new file mode 100644 index 000000000000..ae11f59a36f0 --- /dev/null +++ b/devel/py-thinc8/files/patch-pyproject.toml @@ -0,0 +1,12 @@ +--- pyproject.toml.orig 2024-07-31 10:32:18 UTC ++++ pyproject.toml +@@ -6,8 +6,7 @@ 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,<2.1.0; python_version < '3.9'", +- "numpy>=2.0.0,<2.1.0; python_version >= '3.9'", ++ "numpy>=0,<2.1.0", + ] + build-backend = "setuptools.build_meta" + diff --git a/devel/py-thinc8/files/patch-setup.cfg b/devel/py-thinc8/files/patch-setup.cfg new file mode 100644 index 000000000000..b7cc4d1e4a16 --- /dev/null +++ b/devel/py-thinc8/files/patch-setup.cfg @@ -0,0 +1,21 @@ +--- setup.cfg.orig 2024-07-31 10:32:29 UTC ++++ setup.cfg +@@ -32,7 +32,7 @@ setup_requires = + python_requires = >=3.6 + setup_requires = + cython>=0.25,<3.0 +- numpy>=2.0.1,<2.1.0 ++ numpy>=0,<2.1.0 + cymem>=2.0.2,<2.1.0 + preshed>=3.0.2,<3.1.0 + murmurhash>=1.0.2,<1.1.0 +@@ -47,8 +47,7 @@ install_requires = + catalogue>=2.0.4,<2.1.0 + confection>=0.0.1,<1.0.0 + setuptools +- numpy>=2.0.0,<2.1.0; python_version < "3.9" +- numpy>=2.0.0,<2.1.0; python_version >= "3.9" ++ numpy>=0,<2.1.0 + pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0 + packaging>=20.0 + dataclasses>=0.6,<1.0; python_version < "3.7"