git: e0af541c07f4 - main - devel/py-jupyter-events: Add py-jupyter-events 0.6.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:23:51 UTC
The branch main has been updated by sunpoet:

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

commit e0af541c07f4e80a34b69e5871e4717276b806a4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:35:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:19:51 +0000

    devel/py-jupyter-events: Add py-jupyter-events 0.6.3
    
    Jupyter Events enables Jupyter Python Applications (e.g. Jupyter Server,
    JupyterLab Server, JupyterHub, etc.) to emit events -- structured data
    describing things happening inside the application. Other software (e.g. client
    applications like JupyterLab) can listen and respond to these events.
---
 devel/Makefile                    |  1 +
 devel/py-jupyter-events/Makefile  | 37 +++++++++++++++++++++++++++++++++++++
 devel/py-jupyter-events/distinfo  |  3 +++
 devel/py-jupyter-events/pkg-descr |  4 ++++
 4 files changed, 45 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 45e3b4421efb..eb1109e19375 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4800,6 +4800,7 @@
     SUBDIR += py-jsonsir
     SUBDIR += py-jupyter-client
     SUBDIR += py-jupyter-core
+    SUBDIR += py-jupyter-events
     SUBDIR += py-jupyter-packaging
     SUBDIR += py-jupyter-server
     SUBDIR += py-jupyter-server-mathjax
diff --git a/devel/py-jupyter-events/Makefile b/devel/py-jupyter-events/Makefile
new file mode 100644
index 000000000000..7584df2f7844
--- /dev/null
+++ b/devel/py-jupyter-events/Makefile
@@ -0,0 +1,37 @@
+PORTNAME=	jupyter-events
+PORTVERSION=	0.6.3
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	jupyter_events-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Jupyter Event System library
+WWW=		https://github.com/jupyter/jupyter_events
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING.md
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.5:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jsonschema>=3.2.0:devel/py-jsonschema@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-json-logger>=2.0.4:devel/py-python-json-logger@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=5.3:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rfc3339-validator>=0:devel/py-rfc3339-validator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rfc3986-validator>=0.1.1:devel/py-rfc3986-validator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}traitlets>=5.3:devel/py-traitlets@${PY_FLAVOR}
+# jsonschema[format-nongpl,format_nongpl]
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}fqdn>=0:www/py-fqdn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}isoduration>=0:devel/py-isoduration@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jsonpointer>=1.13:devel/py-jsonpointer@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rfc3339-validator>=0:devel/py-rfc3339-validator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rfc3986-validator>=0.1.0:devel/py-rfc3986-validator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}uri-template>=0:net/py-uri-template@${PY_FLAVOR}
+#		${PYTHON_PKGNAMEPREFIX}webcolors>=1.11:graphics/py-webcolors@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jupyter-events/distinfo b/devel/py-jupyter-events/distinfo
new file mode 100644
index 000000000000..c6251e809c14
--- /dev/null
+++ b/devel/py-jupyter-events/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677770931
+SHA256 (jupyter_events-0.6.3.tar.gz) = 9a6e9995f75d1b7146b436ea24d696ce3a35bfa8bfe45e0c33c334c79464d0b3
+SIZE (jupyter_events-0.6.3.tar.gz) = 59393
diff --git a/devel/py-jupyter-events/pkg-descr b/devel/py-jupyter-events/pkg-descr
new file mode 100644
index 000000000000..935f8e73132a
--- /dev/null
+++ b/devel/py-jupyter-events/pkg-descr
@@ -0,0 +1,4 @@
+Jupyter Events enables Jupyter Python Applications (e.g. Jupyter Server,
+JupyterLab Server, JupyterHub, etc.) to emit events -- structured data
+describing things happening inside the application. Other software (e.g. client
+applications like JupyterLab) can listen and respond to these events.