git: ebf9671aafe6 - main - textproc/py-spacy-legacy: Add py-spacy-legacy 3.0.12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 15:17:27 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ebf9671aafe639e8a0613516869668da8b22af0a commit ebf9671aafe639e8a0613516869668da8b22af0a Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-02-21 14:13:34 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-02-21 15:06:09 +0000 textproc/py-spacy-legacy: Add py-spacy-legacy 3.0.12 spacy-legacy includes outdated registered functions for spaCy v3.x, for example model architectures, pipeline components and utilities. It's installed automatically as a dependency of spaCy, and allows us to provide backwards compatibility, while keeping the core library tidy and up to date. All of this happens under the hood, so you typically shouldn't have to care about this package. --- textproc/Makefile | 1 + textproc/py-spacy-legacy/Makefile | 20 ++++++++++++++++++++ textproc/py-spacy-legacy/distinfo | 3 +++ textproc/py-spacy-legacy/pkg-descr | 6 ++++++ 4 files changed, 30 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 9037cc0cec99..384fdade7f50 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1558,6 +1558,7 @@ SUBDIR += py-smartypants SUBDIR += py-snowballstemmer SUBDIR += py-spacy + SUBDIR += py-spacy-legacy SUBDIR += py-sparqlwrapper SUBDIR += py-sphinx SUBDIR += py-sphinx-argparse diff --git a/textproc/py-spacy-legacy/Makefile b/textproc/py-spacy-legacy/Makefile new file mode 100644 index 000000000000..cb699afa9519 --- /dev/null +++ b/textproc/py-spacy-legacy/Makefile @@ -0,0 +1,20 @@ +PORTNAME= spacy-legacy +PORTVERSION= 3.0.12 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Legacy registered functions for spaCy backwards compatibility +WWW= https://spacy.io/ \ + https://github.com/explosion/spacy-legacy + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-spacy-legacy/distinfo b/textproc/py-spacy-legacy/distinfo new file mode 100644 index 000000000000..27c248ba92c2 --- /dev/null +++ b/textproc/py-spacy-legacy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448854 +SHA256 (spacy-legacy-3.0.12.tar.gz) = b37d6e0c9b6e1d7ca1cf5bc7152ab64a4c4671f59c85adaf7a3fcb870357a774 +SIZE (spacy-legacy-3.0.12.tar.gz) = 23806 diff --git a/textproc/py-spacy-legacy/pkg-descr b/textproc/py-spacy-legacy/pkg-descr new file mode 100644 index 000000000000..a333662e6fae --- /dev/null +++ b/textproc/py-spacy-legacy/pkg-descr @@ -0,0 +1,6 @@ +spacy-legacy includes outdated registered functions for spaCy v3.x, for example +model architectures, pipeline components and utilities. It's installed +automatically as a dependency of spaCy, and allows us to provide backwards +compatibility, while keeping the core library tidy and up to date. All of this +happens under the hood, so you typically shouldn't have to care about this +package.