git: 0f685049a1af - main - textproc/py-pygments: Clean up BUILD_DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Nov 2023 10:45:01 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0f685049a1afd6e38c29854a6e3049eb798d9089
commit 0f685049a1afd6e38c29854a6e3049eb798d9089
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 10:09:22 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 10:30:09 +0000
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
---
textproc/py-pygments/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile
index 7ba026ee2501..6d517a14573e 100644
--- a/textproc/py-pygments/Makefile
+++ b/textproc/py-pygments/Makefile
@@ -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} \