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>
This commit is contained in:
Nicola Vitale 2025-06-22 08:30:13 +02:00
parent 869597fd58
commit 4b481e4dd0
No known key found for this signature in database
GPG Key ID: A51E190C4C0808D0
2 changed files with 8 additions and 5 deletions

View File

@ -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>

View File

@ -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