Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2024 04:57:41 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bbc21aec679e - main - www/py-notebook: update 6.4.13 =?utf-8?Q?=E2=86=92?= 7.2.2
Message-ID:  <202409170457.48H4vfxt038502@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit bbc21aec679ea889809d44f686ab9761f066704f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-17 04:55:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-17 04:56:00 +0000

    www/py-notebook: update 6.4.13 → 7.2.2
    
    PR:     281260
    Approved by:    python@FreeBSD.org (maintainer's timeout; 14 days)
---
 www/py-notebook/Makefile | 39 +++++++++++++++++++++------------------
 www/py-notebook/distinfo |  6 +++---
 2 files changed, 24 insertions(+), 21 deletions(-)

diff --git a/www/py-notebook/Makefile b/www/py-notebook/Makefile
index 342f8be9bd1a..9384b6c2e3d5 100644
--- a/www/py-notebook/Makefile
+++ b/www/py-notebook/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	notebook
-PORTVERSION=	6.4.13
-PORTREVISION=	1
+DISTVERSION=	7.2.2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,27 +11,31 @@ WWW=		https://jupyter.org/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}argon2-cffi>=0:security/py-argon2-cffi@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ipykernel>=0:devel/py-ipykernel@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ipython_genutils>=0:devel/py-ipython_genutils@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}jupyter-client>=5.3.4:devel/py-jupyter-client@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}jupyter-core>=4.6.1:devel/py-jupyter-core@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}nbconvert>=5:devel/py-nbconvert@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}nbformat>=0:devel/py-nbformat@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}nest-asyncio>=1.5:devel/py-nest-asyncio@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyzmq>=17:net/py-pyzmq@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}send2trash>=1.8.0:deskutils/py-send2trash@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}terminado>=0.8.3:net/py-terminado@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tornado>=6.1:www/py-tornado@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}traitlets>=4.2.1:devel/py-traitlets@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>0:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=1.11:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.2.0:devel/py-jupyterlab@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jupyter-server>=2.4.0:devel/py-jupyter-server@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.2.0:devel/py-jupyterlab@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyterlab-server>=2.27.1:devel/py-jupyterlab-server@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}notebook-shim>=0.2:devel/py-notebook-shim@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tornado>=6.2.0:www/py-tornado@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipykernel>0:devel/py-ipykernel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}nbval>0:devel/py-nbval@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-console-scripts>0:devel/py-pytest-console-scripts@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-tornasync>0:devel/py-pytest-tornasync@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyter-server>=2.4.0:devel/py-jupyter-server@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyterlab-server>=2.27.1:devel/py-jupyterlab-server@${PY_FLAVOR}
 
 USES=		cpe desktop-file-utils python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	pep517 concurrent autoplist pytest # tests fail to run, see https://github.com/jupyter/notebook/issues/7451
 
 NO_ARCH=	yes
 
 CPE_VENDOR=	jupyter
 
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC=	${WRKSRC}/tests
+
 .include <bsd.port.mk>
diff --git a/www/py-notebook/distinfo b/www/py-notebook/distinfo
index 33a6a0fe94ee..e53286ddfcc0 100644
--- a/www/py-notebook/distinfo
+++ b/www/py-notebook/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695143531
-SHA256 (notebook-6.4.13.tar.gz) = 08da6c8e2d1748c8acfa6addcfb95501d8a52ef9e7ca238b0e242bfa829cecb7
-SIZE (notebook-6.4.13.tar.gz) = 14387089
+TIMESTAMP = 1725416147
+SHA256 (notebook-7.2.2.tar.gz) = 2ef07d4220421623ad3fe88118d687bc0450055570cdd160814a59cf3a1c516e
+SIZE (notebook-7.2.2.tar.gz) = 4948876



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409170457.48H4vfxt038502>