From nobody Wed Feb 21 15:17:12 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tg0Hs0qHdz59dfg; Wed, 21 Feb 2024 15:17:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tg0Hr4zT2z4t99; Wed, 21 Feb 2024 15:17:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528632; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GKseTXdVTaFk2bXwAi1jK/C9vo0Wy776tENtuek7Nks=; b=kM88tN8Md+OgV8p+Xv2D079C9q4puP5sJyJIpstUDo5M24MonXyJs1m9V1D+p9NSnI7tjV /Ygw7269/ba1n+ro8TgklWPe/LpR6qpTGrVvRNOeaWBspRMPBo9p6cvYIGttJvJuJKCeU+ En8R1IKqmE1LjplCjKUnWuRFtFzio6aj3kfrCP93K0DeYR8TQ6AByTCAE5UuF+eXRJUfGJ gSHQlz25k+HN/EsQgt8aVvn+OnXbQZY3fMqyjH4uKi6Ex7cpmtOWSJeQzQYTuzq/1sEr6g kWDF1NLZriUmtUwz9b/iSeK2zSC4lmLUgIrGlc3Tf6csrIadDx5PaJn2YjQ5GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528632; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GKseTXdVTaFk2bXwAi1jK/C9vo0Wy776tENtuek7Nks=; b=sZV9BpqNamGNzDmN9PJ8ijqZbkierjP+GgP27zmmfDOHmuI6cb6ggylxhuq7kV1N7h51Mf SmmT6TfMgV7/MGH5swvSfqx2C1AbSdPMPAdk6qH0MN8OQZ7ci9+UYA/hx/6cWRDrtNjz5r h72Rv9+kYxH66VlpKXbidZW5ZxKwzQDHplsLMm8ZJLQbor4JIs2k8xhtd+Rpwb+tWd7K8X Auo6owg1eUPt75jAYbNRZS7fezsBbXUxjpT28nck5GRl00/lUdbUcD1xGCeFYlSu6TkVAc s7eE5JmcuKsPBvqUuAjrQX/K1Ws3eJOn1Wk0VDVw6Tj9ww5R5nfnefqYUpVdOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708528632; a=rsa-sha256; cv=none; b=f4z9W/zebfqLrfx9TSIZiqWmfUhZCCSHWF881SK1mwRk4AKXD3TcqGleDkgGF6MDgUi+2O rTnZAtxY7v+f0MJKwYtNQvKrrYsJH9Fdq6F2oSA03epptTvjceYerRzsWG7XxB+QRvyfNt LtkQv0fGs9Y3fVnlodqMUSsRnN9po916W4RpeLqK5rlWimoWL6gzKhrJtZjZ5Dml5dzihD RZas+xrPuo7BwtyZjjnJ/AsDcIHKEoRGK9T2B+IytRKFWz2rNxXEM9hh6sD+DIVA9Ys9F0 +yko0u8p+Z1ooxUK0dAFr//3yN2uvPkvaSt9wjzGFX3jLqVVpzHQt/TO+kM3MA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tg0Hr45C1z16wT; Wed, 21 Feb 2024 15:17:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41LFHCOW012083; Wed, 21 Feb 2024 15:17:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LFHCtf012080; Wed, 21 Feb 2024 15:17:12 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:17:12 GMT Message-Id: <202402211517.41LFHCtf012080@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: b0a0cacc08d7 - main - devel/py-thinc: Add py-thinc 8.2.3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b0a0cacc08d7ba9aad4fa2f176758c1bb332a1bf Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b0a0cacc08d7ba9aad4fa2f176758c1bb332a1bf commit b0a0cacc08d7ba9aad4fa2f176758c1bb332a1bf Author: Po-Chuan Hsieh AuthorDate: 2024-02-21 14:16:39 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-02-21 15:06:06 +0000 devel/py-thinc: Add py-thinc 8.2.3 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. --- devel/Makefile | 1 + devel/py-thinc/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ devel/py-thinc/distinfo | 3 +++ devel/py-thinc/pkg-descr | 6 ++++++ 4 files changed, 51 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 22274e2fa1b0..7a51b415a038 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5727,6 +5727,7 @@ SUBDIR += py-testscenarios SUBDIR += py-testtools SUBDIR += py-thefuzz + SUBDIR += py-thinc SUBDIR += py-threadpoolctl SUBDIR += py-threema-msgapi SUBDIR += py-thrift diff --git a/devel/py-thinc/Makefile b/devel/py-thinc/Makefile new file mode 100644 index 000000000000..349101d06b9b --- /dev/null +++ b/devel/py-thinc/Makefile @@ -0,0 +1,41 @@ +PORTNAME= thinc +PORTVERSION= 8.2.3 +CATEGORIES= devel python +MASTER_SITES= PYPI +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>=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 + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/devel/py-thinc/distinfo b/devel/py-thinc/distinfo new file mode 100644 index 000000000000..9391e7da1f83 --- /dev/null +++ b/devel/py-thinc/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-thinc/pkg-descr b/devel/py-thinc/pkg-descr new file mode 100644 index 000000000000..877f18b24753 --- /dev/null +++ b/devel/py-thinc/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.