git: 77dddeede835 - main - textproc/py-spacy-loggers: Add py-spacy-loggers 1.0.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:17:29 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=77dddeede835446095a94952a822f39b98f09c6a

commit 77dddeede835446095a94952a822f39b98f09c6a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:13:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:10 +0000

    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.
---
 textproc/Makefile                   |  1 +
 textproc/py-spacy-loggers/Makefile  | 23 +++++++++++++++++++++++
 textproc/py-spacy-loggers/distinfo  |  3 +++
 textproc/py-spacy-loggers/pkg-descr |  5 +++++
 4 files changed, 32 insertions(+)

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.