git: 37509f50c160 - main - textproc/py-pygments: Update to 2.17.1

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Sun, 19 Nov 2023 14:52:04 UTC
The branch main has been updated by nivit:

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

commit 37509f50c160be7ea5786e8843cc51be4236c618
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2023-11-19 14:49:37 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2023-11-19 14:49:37 +0000

    textproc/py-pygments: Update to 2.17.1
    
    Release notes:  https://pygments.org/docs/changelog/#version-2-17-1
    Reported by:    Matthäus G. Chajdas <notifications@github.com>
---
 textproc/py-pygments/Makefile | 10 ++++++----
 textproc/py-pygments/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile
index 509b40cbdf4c..ceb43593bd63 100644
--- a/textproc/py-pygments/Makefile
+++ b/textproc/py-pygments/Makefile
@@ -1,9 +1,8 @@
 PORTNAME=	pygments
-DISTVERSION=	2.16.1
+DISTVERSION=	2.17.1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	Pygments-${PORTVERSION}
 
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	Syntax highlighter written in Python
@@ -13,9 +12,12 @@ LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=1.18.0:devel/py-hatchling@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0.40.0:devel/py-wheel@${PY_FLAVOR}
-# test: 4152 passed, 3 skipped
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wcag-contrast-ratio>=0.9:www/py-wcag-contrast-ratio@${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
diff --git a/textproc/py-pygments/distinfo b/textproc/py-pygments/distinfo
index ea1ece9261d2..cdbe00cbc13a 100644
--- a/textproc/py-pygments/distinfo
+++ b/textproc/py-pygments/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1691352091
-SHA256 (Pygments-2.16.1.tar.gz) = 1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29
-SIZE (Pygments-2.16.1.tar.gz) = 4872980
+TIMESTAMP = 1700399037
+SHA256 (pygments-2.17.1.tar.gz) = e45a0e74bf9c530f564ca81b8952343be986a29f6afe7f5ad95c5f06b7bdf5e8
+SIZE (pygments-2.17.1.tar.gz) = 4827687