git: 16a637e66824 - main - textproc/py-jupyterlab-pygments: Update to 0.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Nov 2023 18:09:18 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=16a637e66824c56b64021b97b9349e3a94153e62 commit 16a637e66824c56b64021b97b9349e3a94153e62 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-11-27 18:03:42 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-11-27 18:07:57 +0000 textproc/py-jupyterlab-pygments: Update to 0.3.0 - Remove py-jupyterlab from BUILD_DEPENDS to avoid cyclic dependency - Convert to USE_PYTHON=pep517 Changes: https://github.com/jupyterlab/jupyterlab_pygments/commits/main --- textproc/py-jupyterlab-pygments/Makefile | 8 +++++--- textproc/py-jupyterlab-pygments/distinfo | 6 +++--- textproc/py-jupyterlab-pygments/files/patch-pyproject.toml | 10 ++++++++++ 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/textproc/py-jupyterlab-pygments/Makefile b/textproc/py-jupyterlab-pygments/Makefile index f6211942021a..c2563463feae 100644 --- a/textproc/py-jupyterlab-pygments/Makefile +++ b/textproc/py-jupyterlab-pygments/Makefile @@ -1,5 +1,5 @@ PORTNAME= jupyterlab-pygments -PORTVERSION= 0.2.2 +PORTVERSION= 0.3.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +12,13 @@ WWW= https://github.com/jupyterlab/jupyterlab_pygments LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-packaging>=0:devel/py-jupyter-packaging@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>=0.5:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-nodejs-version>=0.3.2:devel/py-hatch-nodejs-version@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=1.5.0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=2.4.1<3:textproc/py-pygments@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/textproc/py-jupyterlab-pygments/distinfo b/textproc/py-jupyterlab-pygments/distinfo index 3a84c5d5a262..dc3841a683b7 100644 --- a/textproc/py-jupyterlab-pygments/distinfo +++ b/textproc/py-jupyterlab-pygments/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1650228818 -SHA256 (jupyterlab_pygments-0.2.2.tar.gz) = 7405d7fde60819d905a9fa8ce89e4cd830e318cdad22a0030f7a901da705585d -SIZE (jupyterlab_pygments-0.2.2.tar.gz) = 132378 +TIMESTAMP = 1701083408 +SHA256 (jupyterlab_pygments-0.3.0.tar.gz) = 721aca4d9029252b11cfa9d185e5b5af4d54772bb8072f9b7036f4170054d35d +SIZE (jupyterlab_pygments-0.3.0.tar.gz) = 512900 diff --git a/textproc/py-jupyterlab-pygments/files/patch-pyproject.toml b/textproc/py-jupyterlab-pygments/files/patch-pyproject.toml new file mode 100644 index 000000000000..749ce643fbb2 --- /dev/null +++ b/textproc/py-jupyterlab-pygments/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -1,7 +1,6 @@ + [build-system] + requires = [ + "hatchling>=1.5.0", +- "jupyterlab>=4.0.0,<5", + "hatch-nodejs-version>=0.3.2", + ] + build-backend = "hatchling.build"