git: d91bc78803a4 - main - textproc/py-pygments: Update to 2.18.0

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Thu, 01 Aug 2024 15:34:47 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d91bc78803a4fcc8be16c406893c57f69f749823

commit d91bc78803a4fcc8be16c406893c57f69f749823
Author:     Nicholas Kirby <nick@kirby.cx>
AuthorDate: 2024-08-01 15:31:46 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-08-01 15:31:46 +0000

    textproc/py-pygments: Update to 2.18.0
    
    - Update test dependencies
    
    Release changes:        https://github.com/pygments/pygments/releases/tag/2.18.0
    
    PR:             280547
---
 textproc/py-pygments/Makefile | 8 +++++---
 textproc/py-pygments/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile
index 6d517a14573e..b2441910a97b 100644
--- a/textproc/py-pygments/Makefile
+++ b/textproc/py-pygments/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pygments
-DISTVERSION=	2.17.2
+DISTVERSION=	2.18.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +12,15 @@ LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.18.0:devel/py-hatchling@${PY_FLAVOR}
-# test: 4216 passed, 11 skipped
+# tests: 4400 passed, 3 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
+USES=		cpe python tex
 USE_PYTHON=	autoplist concurrent pep517 pytest
+USES+=		tex
+USE_TEX=	latex:test
 
 CONFLICTS_INSTALL=	py??-pygments-25
 
diff --git a/textproc/py-pygments/distinfo b/textproc/py-pygments/distinfo
index 869a1217fdc5..f770e34de730 100644
--- a/textproc/py-pygments/distinfo
+++ b/textproc/py-pygments/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1700600307
-SHA256 (pygments-2.17.2.tar.gz) = da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367
-SIZE (pygments-2.17.2.tar.gz) = 4827772
+TIMESTAMP = 1722488116
+SHA256 (pygments-2.18.0.tar.gz) = 786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199
+SIZE (pygments-2.18.0.tar.gz) = 4891905