www/py-notebook: Allow build with py-jupyterlab 4.3.0+

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-11-15 18:21:17 +08:00
parent 9b3b7566cb
commit 3feab25185
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 21 additions and 2 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= notebook
DISTVERSION= 7.2.2
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,9 +14,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>=0.5:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=1.11:devel/py-hatchling@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.2.0<4.3:devel/py-jupyterlab@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.2.0<4.4:devel/py-jupyterlab@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-server>=2.4.0<3:devel/py-jupyter-server@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.2.0<4.3:devel/py-jupyterlab@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.2.0<4.4:devel/py-jupyterlab@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jupyterlab-server>=2.27.1<3:devel/py-jupyterlab-server@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}notebook-shim>=0.2<0.3:devel/py-notebook-shim@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tornado>=6.2.0:www/py-tornado@${PY_FLAVOR}

View File

@ -0,0 +1,18 @@
--- pyproject.toml.orig 2020-02-02 00:00:00 UTC
+++ pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["hatchling>=1.11", "jupyterlab>=4.2.0,<4.3"]
+requires = ["hatchling>=1.11", "jupyterlab>=4.2.0,<4.4"]
build-backend = "hatchling.build"
[project]
@@ -32,7 +32,7 @@ dependencies = [
]
dependencies = [
"jupyter_server>=2.4.0,<3",
- "jupyterlab>=4.2.0,<4.3",
+ "jupyterlab>=4.2.0,<4.4",
"jupyterlab_server>=2.27.1,<3",
"notebook_shim>=0.2,<0.3",
"tornado>=6.2.0",