Skip to content

Commit

Permalink
textproc/py-pygments: Clean up BUILD_DEPENDS
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sunpoet committed Nov 27, 2023
1 parent 1f5f61b commit 0f68504
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions textproc/py-pygments/Makefile
Expand Up @@ -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} \
Expand Down

0 comments on commit 0f68504

Please sign in to comment.