Files
macports-ports/python/py-notebook/files/patch-pyproject.toml.diff
2024-03-01 11:36:55 +03:00

19 lines
524 B
Diff

--- pyproject.toml.orig 2024-03-01 11:09:17.000000000 +0300
+++ pyproject.toml 2024-03-01 11:31:40.000000000 +0300
@@ -1,5 +1,5 @@
[build-system]
-requires = ["hatchling>=1.11", "jupyterlab>=4.1.1,<4.2"]
+requires = ["hatchling>=1.11"]
build-backend = "hatchling.build"
[project]
@@ -162,7 +162,7 @@
build_cmd = "build:prod"
source_dir = "packages"
build_dir = "notebook/static"
-npm = ["jlpm"]
+npm = ["jlpm-@@PYTHON_BRANCH@@"]
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
build_cmd = "build"