aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 14:13:40 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 15:06:10 +0000
commit77dddeede835446095a94952a822f39b98f09c6a (patch)
treed2cd14e1ede4061b47272fb0625f908f03fc580c
parent24bfd5932d0cfde2b58360c1655f65ddc9d07229 (diff)
textproc/py-spacy-loggers: Add py-spacy-loggers 1.0.5
Starting with spaCy v3.2, alternate loggers are moved into a separate package so that they can be added and updated independently from the core spaCy library. spacy-loggers also provides additional utility loggers to facilitate interoperation between individual loggers.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-spacy-loggers/Makefile23
-rw-r--r--textproc/py-spacy-loggers/distinfo3
-rw-r--r--textproc/py-spacy-loggers/pkg-descr5
4 files changed, 32 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 4580bdd05b85..2f50416bf058 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1560,6 +1560,7 @@
SUBDIR += py-spacy
SUBDIR += py-spacy-legacy
SUBDIR += py-spacy-llm
+ SUBDIR += py-spacy-loggers
SUBDIR += py-sparqlwrapper
SUBDIR += py-sphinx
SUBDIR += py-sphinx-argparse
diff --git a/textproc/py-spacy-loggers/Makefile b/textproc/py-spacy-loggers/Makefile
new file mode 100644
index 000000000000..cb56aff1ecb5
--- /dev/null
+++ b/textproc/py-spacy-loggers/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= spacy-loggers
+PORTVERSION= 1.0.5
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Logging utilities for SpaCy
+WWW= https://spacy.io/ \
+ https://github.com/explosion/spacy-loggers
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-spacy-loggers/distinfo b/textproc/py-spacy-loggers/distinfo
new file mode 100644
index 000000000000..bd175e2ae592
--- /dev/null
+++ b/textproc/py-spacy-loggers/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1708448858
+SHA256 (spacy-loggers-1.0.5.tar.gz) = d60b0bdbf915a60e516cc2e653baeff946f0cfc461b452d11a4d5458c6fe5f24
+SIZE (spacy-loggers-1.0.5.tar.gz) = 20811
diff --git a/textproc/py-spacy-loggers/pkg-descr b/textproc/py-spacy-loggers/pkg-descr
new file mode 100644
index 000000000000..fc005751fb33
--- /dev/null
+++ b/textproc/py-spacy-loggers/pkg-descr
@@ -0,0 +1,5 @@
+Starting with spaCy v3.2, alternate loggers are moved into a separate package so
+that they can be added and updated independently from the core spaCy library.
+
+spacy-loggers also provides additional utility loggers to facilitate
+interoperation between individual loggers.