mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
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
27 lines
814 B
Makefile
27 lines
814 B
Makefile
PORTNAME= pygments
|
|
DISTVERSION= 2.17.2
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Syntax highlighter written in Python
|
|
WWW= https://pygments.org/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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} \
|
|
${PYTHON_PKGNAMEPREFIX}wcag-contrast-ratio>=0.9:www/py-wcag-contrast-ratio@${PY_FLAVOR}
|
|
|
|
USES= cpe python
|
|
USE_PYTHON= autoplist concurrent pep517 pytest
|
|
|
|
CONFLICTS_INSTALL= py??-pygments-25
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|