git: 4b481e4dd048 - main - textproc/py-pygments: Update to 2.19.2

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Sun, 22 Jun 2025 06:32:08 UTC
The branch main has been updated by nivit:

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

commit 4b481e4dd048eae94f907060ae72078c2194e95a
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2025-06-22 06:30:13 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2025-06-22 06:30:13 +0000

    textproc/py-pygments: Update to 2.19.2
    
    - Disable autoloading of Pytest plugins, in particular devel/py-ruff
      (linter) if available in the system
    
    Release changes:        https://github.com/pygments/pygments/releases/tag/2.19.2
    Reported by:    "Matthäus G. Chajdas" <notifications@github.com>
---
 textproc/py-pygments/Makefile | 7 +++++--
 textproc/py-pygments/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile
index 3655bb1f897b..cd875c34d8e1 100644
--- a/textproc/py-pygments/Makefile
+++ b/textproc/py-pygments/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pygments
-DISTVERSION=	2.19.1
+DISTVERSION=	2.19.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.18.0:devel/py-hatchling@${PY_FLAVOR}
-# tests: 5184 passed, 7 skipped
+# tests: 5186 passed, 7 skipped, 1 warning
 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}
@@ -21,6 +21,9 @@ USES=		cpe python tex
 USE_PYTHON=	autoplist concurrent pep517 pytest
 USE_TEX=	latex:test
 
+# We don't want to use Pytest plugins, for example devel/py-ruff, if available in the system
+TEST_ENV=	PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/textproc/py-pygments/distinfo b/textproc/py-pygments/distinfo
index ac9567c3f21c..6adf922fde7f 100644
--- a/textproc/py-pygments/distinfo
+++ b/textproc/py-pygments/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1737292768
-SHA256 (pygments-2.19.1.tar.gz) = 61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f
-SIZE (pygments-2.19.1.tar.gz) = 4968581
+TIMESTAMP = 1750573109
+SHA256 (pygments-2.19.2.tar.gz) = 636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887
+SIZE (pygments-2.19.2.tar.gz) = 4968631