1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

devel/py-thinc8: Add py-thinc8 8.2.3 (copied from py-thinc)

- Add PORTSCOUT
This commit is contained in:
Po-Chuan Hsieh 2024-04-21 02:27:49 +08:00
parent ce8cae48ff
commit 6a6b9df0a2
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 54 additions and 0 deletions

View File

@ -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

44
devel/py-thinc8/Makefile Normal file
View File

@ -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>

3
devel/py-thinc8/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1708448828
SHA256 (thinc-8.2.3.tar.gz) = f5afc5222912a80bda8bdcec958362a2ba538d7027dc8db6154845d2859dca76
SIZE (thinc-8.2.3.tar.gz) = 192870

View File

@ -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.