Date: Sat, 20 Apr 2024 18:30:59 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6a6b9df0a22e - main - devel/py-thinc8: Add py-thinc8 8.2.3 (copied from py-thinc) Message-ID: <202404201830.43KIUxM9027817@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6a6b9df0a22e47ac759fa2d8a5c41d7ed7f905cc commit 6a6b9df0a22e47ac759fa2d8a5c41d7ed7f905cc Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-04-20 18:27:49 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-04-20 18:27:49 +0000 devel/py-thinc8: Add py-thinc8 8.2.3 (copied from py-thinc) - Add PORTSCOUT --- devel/Makefile | 1 + devel/py-thinc8/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ devel/py-thinc8/distinfo | 3 +++ devel/py-thinc8/pkg-descr | 6 ++++++ 4 files changed, 54 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 229e53c7db5c..1586aa897b3f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5768,6 +5768,7 @@ SUBDIR += py-testtools SUBDIR += py-thefuzz SUBDIR += py-thinc + SUBDIR += py-thinc8 SUBDIR += py-threadpoolctl SUBDIR += py-threema-msgapi SUBDIR += py-thrift diff --git a/devel/py-thinc8/Makefile b/devel/py-thinc8/Makefile new file mode 100644 index 000000000000..1b82d0304e91 --- /dev/null +++ b/devel/py-thinc8/Makefile @@ -0,0 +1,44 @@ +PORTNAME= thinc +PORTVERSION= 8.2.3 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 8 + +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>=0.7.8<0.8.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}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} \ + ${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}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 +USE_PYTHON= autoplist concurrent cython pep517 + +PORTSCOUT= limit:^8\. + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include <bsd.port.mk> diff --git a/devel/py-thinc8/distinfo b/devel/py-thinc8/distinfo new file mode 100644 index 000000000000..9391e7da1f83 --- /dev/null +++ b/devel/py-thinc8/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448828 +SHA256 (thinc-8.2.3.tar.gz) = f5afc5222912a80bda8bdcec958362a2ba538d7027dc8db6154845d2859dca76 +SIZE (thinc-8.2.3.tar.gz) = 192870 diff --git a/devel/py-thinc8/pkg-descr b/devel/py-thinc8/pkg-descr new file mode 100644 index 000000000000..877f18b24753 --- /dev/null +++ b/devel/py-thinc8/pkg-descr @@ -0,0 +1,6 @@ +Thinc is a lightweight deep learning library that offers an elegant, +type-checked, functional-programming API for composing models, with support for +layers defined in other frameworks such as PyTorch, TensorFlow and MXNet. You +can use Thinc as an interface layer, a standalone toolkit or a flexible way to +develop new models. Previous versions of Thinc have been running quietly in +production in thousands of companies, via both spaCy and Prodigy.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404201830.43KIUxM9027817>