diff --git a/devel/py-thinc/Makefile b/devel/py-thinc/Makefile index 28254992217a..8b21f7d4925a 100644 --- a/devel/py-thinc/Makefile +++ b/devel/py-thinc/Makefile @@ -1,43 +1,43 @@ PORTNAME= thinc PORTVERSION= 9.1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/explosion/thinc/releases/download/release-v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Refreshing functional take on deep learning WWW= https://thinc.ai/ \ https://github.com/explosion/thinc LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis>=1.0.0<1.3.0:math/py-blis@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis>=1.0.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>=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.0.0<1.3.0:math/py-blis@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis>=1.0.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} \ ${PYTHON_PKGNAMEPREFIX}murmurhash>=0.28.0<1.1.0:devel/py-murmurhash@${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} \ ${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+ USE_PYTHON= autoplist concurrent cython pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-thinc/files/patch-pyproject.toml b/devel/py-thinc/files/patch-pyproject.toml index 5d6899a09385..c542d52b4d61 100644 --- a/devel/py-thinc/files/patch-pyproject.toml +++ b/devel/py-thinc/files/patch-pyproject.toml @@ -1,15 +1,15 @@ --- pyproject.toml.orig 2024-09-12 19:54:11 UTC +++ pyproject.toml @@ -5,9 +5,9 @@ requires = [ "murmurhash>=1.0.2,<1.1.0", "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'", -+ "blis>=1.0.0,<1.3.0", ++ "blis>=1.0.0,<1.4.0", + "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 index 6c03302134e3..5bfe8a4e5d17 100644 --- a/devel/py-thinc/files/patch-setup.cfg +++ b/devel/py-thinc/files/patch-setup.cfg @@ -1,28 +1,28 @@ --- setup.cfg.orig 2024-09-12 19:54:21 UTC +++ setup.cfg @@ -29,13 +29,13 @@ 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 - blis>=1.0.0,<1.1.0 -+ blis>=1.0.0,<1.3.0 ++ blis>=1.0.0,<1.4.0 install_requires = - blis>=1.0.0,<1.1.0 -+ blis>=1.0.0,<1.3.0 ++ blis>=1.0.0,<1.4.0 murmurhash>=1.0.2,<1.1.0 cymem>=2.0.2,<2.1.0 preshed>=3.0.2,<3.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