aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-10-11 12:57:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-10-11 12:57:54 +0000
commit53f6a4c4ed5633f5504f157162ee87ebb9d790e6 (patch)
treec5c6af1c69fb23481c54db5371ce3058ebffbd6e
parent2f1ea814fa02a63f871cb437f0a88e4a889ab8b3 (diff)
downloadports-53f6a4c4ed5633f5504f157162ee87ebb9d790e6.tar.gz
ports-53f6a4c4ed5633f5504f157162ee87ebb9d790e6.zip
devel/py-jupyterlab: Update to 4.0.6
-rw-r--r--devel/py-jupyterlab/Makefile31
-rw-r--r--devel/py-jupyterlab/distinfo6
-rw-r--r--devel/py-jupyterlab/files/patch-setup.cfg11
3 files changed, 23 insertions, 25 deletions
diff --git a/devel/py-jupyterlab/Makefile b/devel/py-jupyterlab/Makefile
index 91be38bcf13d..1393dc6c276d 100644
--- a/devel/py-jupyterlab/Makefile
+++ b/devel/py-jupyterlab/Makefile
@@ -1,5 +1,5 @@
PORTNAME= jupyterlab
-PORTVERSION= 3.6.3
+PORTVERSION= 4.0.6
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,18 +12,19 @@ WWW= https://jupyter.org/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-packaging>=0.9<2:devel/py-jupyter-packaging@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython>=0:devel/ipython@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.1:devel/py-Jinja2@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>=0.3.2:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.5.0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}async-lru>=1.0.0:devel/py-async-lru@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ipykernel>=0:devel/py-ipykernel@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.3:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jupyter-core>=0:devel/py-jupyter-core@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}jupyter-server>=1.16.0<3:devel/py-jupyter-server@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}jupyter-server-ydoc>=0.8.0<0.9:devel/py-jupyter-server-ydoc@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}jupyter-ydoc>=0.2.3<0.4.0:devel/py-jupyter-ydoc@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}jupyterlab-server>=2.19<3:devel/py-jupyterlab-server@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}nbclassic>=0:devel/py-nbclassic@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}notebook>=0<7:www/py-notebook@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyter-lsp>=2.0.0:devel/py-jupyter-lsp@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyter-server>=2.4.0<3:devel/py-jupyter-server@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyterlab-server>=2.19.0<3:devel/py-jupyterlab-server@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}notebook-shim>=0.2:devel/py-notebook-shim@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tornado>=6.1.0:www/py-tornado@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}tornado>=6.2.0:www/py-tornado@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}traitlets>=0:devel/py-traitlets@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
@@ -32,6 +33,14 @@ NO_ARCH= yes
.include <bsd.port.pre.mk>
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.4:devel/py-importlib-resources@${PY_FLAVOR}
+.endif
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.8.3:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
.if ${PYTHON_REL} < 31100
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
.endif
diff --git a/devel/py-jupyterlab/distinfo b/devel/py-jupyterlab/distinfo
index a3454b86ab27..4417f5d776f0 100644
--- a/devel/py-jupyterlab/distinfo
+++ b/devel/py-jupyterlab/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680726148
-SHA256 (jupyterlab-3.6.3.tar.gz) = 373e9cfb8a72edd294be14f16662563a220cecf0fb26de7aab1af9a29b689b82
-SIZE (jupyterlab-3.6.3.tar.gz) = 16847186
+TIMESTAMP = 1696904126
+SHA256 (jupyterlab-4.0.6.tar.gz) = 6c43ae5a6a1fd2fdfafcb3454004958bde6da76331abb44cffc6f9e436b19ba1
+SIZE (jupyterlab-4.0.6.tar.gz) = 18236816
diff --git a/devel/py-jupyterlab/files/patch-setup.cfg b/devel/py-jupyterlab/files/patch-setup.cfg
deleted file mode 100644
index 3bb5471b3905..000000000000
--- a/devel/py-jupyterlab/files/patch-setup.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.cfg.orig 2023-03-20 10:51:04 UTC
-+++ setup.cfg
-@@ -38,7 +38,7 @@ install_requires =
- jupyter_core
- jupyterlab_server~=2.19
- jupyter_server>=1.16.0,<3
-- jupyter_ydoc~=0.2.3
-+ jupyter_ydoc>=0.2.3,<0.4.0
- jupyter_server_ydoc~=0.8.0
- nbclassic
- notebook<7