freebsd-ports/textproc/py-pygments/Makefile
Nicola Vitale 4b34c03a5e
textproc/py-pygments: Update to 2.19.1
Release changes:	https://github.com/pygments/pygments/releases/tag/2.19.1
Reported by:	"Matthäus G. Chajdas" <notifications@github.com>
2025-01-19 14:24:28 +01:00

26 lines
801 B
Makefile

PORTNAME= pygments
DISTVERSION= 2.19.1
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}
# tests: 5184 passed, 7 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 tex
USE_PYTHON= autoplist concurrent pep517 pytest
USE_TEX= latex:test
NO_ARCH= yes
.include <bsd.port.mk>