git: 401977855d09 - main - devel/py-jupyter: New port: Jupyter metapackage that installs all the Jupyter components in one go

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 27 Aug 2024 08:47:17 UTC
The branch main has been updated by yuri:

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

commit 401977855d094df75ea765c97274d66e13836803
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-27 08:46:16 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-27 08:46:16 +0000

    devel/py-jupyter: New port: Jupyter metapackage that installs all the Jupyter components in one go
---
 devel/Makefile             |  1 +
 devel/py-jupyter/Makefile  | 20 ++++++++++++++++++++
 devel/py-jupyter/distinfo  |  3 +++
 devel/py-jupyter/pkg-descr |  2 ++
 4 files changed, 26 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8eae45a7ad9e..c2ed1178460e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5044,6 +5044,7 @@
     SUBDIR += py-jsonschema3
     SUBDIR += py-jsonsir
     SUBDIR += py-junitparser
+    SUBDIR += py-jupyter
     SUBDIR += py-jupyter-client
     SUBDIR += py-jupyter-collaboration
     SUBDIR += py-jupyter-core
diff --git a/devel/py-jupyter/Makefile b/devel/py-jupyter/Makefile
new file mode 100644
index 000000000000..5e6d1138b384
--- /dev/null
+++ b/devel/py-jupyter/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	jupyter
+DISTVERSION=	1.0.0
+CATEGORIES=	devel python
+#MASTER_SITES=	PYPI # the jupyter project installs a file conflicting with jupyter_core, see https://github.com/jupyter/jupyter_core/issues/405
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Jupyter metapackage that installs all the Jupyter components in one go
+WWW=		https://jupyter.org/
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipykernel>0:devel/py-ipykernel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyter_console>0:devel/py-jupyter_console@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}notebook>0:www/py-notebook@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qtconsole>0:devel/py-qtconsole@${PY_FLAVOR}
+
+USES=		metaport python
+
+.include <bsd.port.mk>
diff --git a/devel/py-jupyter/distinfo b/devel/py-jupyter/distinfo
new file mode 100644
index 000000000000..38528b59e17a
--- /dev/null
+++ b/devel/py-jupyter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712509156
+SHA256 (jupyter-1.0.0.tar.gz) = d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f
+SIZE (jupyter-1.0.0.tar.gz) = 12916
diff --git a/devel/py-jupyter/pkg-descr b/devel/py-jupyter/pkg-descr
new file mode 100644
index 000000000000..39036450314d
--- /dev/null
+++ b/devel/py-jupyter/pkg-descr
@@ -0,0 +1,2 @@
+The jupyter metapackage installs the Jupyter system, including the notebook,
+qtconsole, and the IPython kernel.