aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 14:13:34 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 15:06:09 +0000
commitebf9671aafe639e8a0613516869668da8b22af0a (patch)
treef969774826debbd10b25664663f547642c7580d4
parentaeb1cd15055e17f7ba1c5e1ce77c4148d5a7e817 (diff)
downloadports-ebf9671aafe639e8a0613516869668da8b22af0a.tar.gz
ports-ebf9671aafe639e8a0613516869668da8b22af0a.zip
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.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-spacy-legacy/Makefile20
-rw-r--r--textproc/py-spacy-legacy/distinfo3
-rw-r--r--textproc/py-spacy-legacy/pkg-descr6
4 files changed, 30 insertions, 0 deletions
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.