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
This commit is contained in:
Po-Chuan Hsieh 2023-11-28 02:03:42 +08:00
parent c26f406ea0
commit 16a637e668
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 18 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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"