textproc/py-pygments: Clean up BUILD_DEPENDS

from pyproject.toml:
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

from CHANGES:
- Use Hatchling as a build backend instead of setuptools.
  This change is transparent to most users. Distribution packagers
  who build without build isolation need to add hatchling as a build
  dependency and remove setuptools. People downloading source distributions
  and wheels from PyPI directly should note that they now have ``pygments``
  in their file names instead of ``Pygments``. (#2573)

Reference:	https://github.com/pygments/pygments/blob/master/pyproject.toml#L1-L3
		https://github.com/pygments/pygments/blob/master/CHANGES#L84-L89
This commit is contained in:
Po-Chuan Hsieh 2023-11-27 18:09:22 +08:00
parent 1f5f61be52
commit 0f685049a1
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
1 changed files with 1 additions and 3 deletions

View File

@ -11,9 +11,7 @@ WWW= https://pygments.org/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}hatchling>=1.18.0:devel/py-hatchling@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0.40.0:devel/py-wheel@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.18.0:devel/py-hatchling@${PY_FLAVOR}
# test: 4216 passed, 11 skipped
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1.0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-randomly>=3.12.0:devel/py-pytest-randomly@${PY_FLAVOR} \