aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2023-04-19 16:43:50 +0000
committerNicola Vitale <nivit@FreeBSD.org>2023-04-19 16:46:28 +0000
commitededa8cdecb898b5ce5f72999b3a7fc35bdd512a (patch)
treebe5c89e51a20a0240866ee0b80e0927270113b06
parent931d277e9f7db6872299f8b948b7c403d194c9c1 (diff)
downloadports-ededa8cdecb898b5ce5f72999b3a7fc35bdd512a.tar.gz
ports-ededa8cdecb898b5ce5f72999b3a7fc35bdd512a.zip
textproc/py-pygments: Update to 2.15.1
- Add pytest to USE_PYTHON and remove do-test target (now included in python.mk) Release notes:://github.com/pygments/pygments/releases/tag/2.15.1
-rw-r--r--textproc/py-pygments/Makefile12
-rw-r--r--textproc/py-pygments/distinfo6
2 files changed, 7 insertions, 11 deletions
diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile
index 13ff60f6cdf1..c48207421493 100644
--- a/textproc/py-pygments/Makefile
+++ b/textproc/py-pygments/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pygments
-DISTVERSION= 2.15.0
+DISTVERSION= 2.15.1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,20 +14,16 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0.40.0:devel/py-wheel@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wcag-contrast-ratio>=0.9:www/py-wcag-contrast-ratio@${PY_FLAVOR}
+# test: 4035 passed, 3 skipped, 8076 warnings
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wcag-contrast-ratio>=0.9:www/py-wcag-contrast-ratio@${PY_FLAVOR}
USES= cpe python:3.7+
-USE_PYTHON= autoplist concurrent pep517
+USE_PYTHON= autoplist concurrent pep517 pytest
CONFLICTS_INSTALL= py??-pygments-25
NO_ARCH= yes
-# test: 4033 passed, 3 skipped, 8072 warnings
-do-test:
- (cd ${TEST_WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=)
-
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30800
diff --git a/textproc/py-pygments/distinfo b/textproc/py-pygments/distinfo
index b79868a06ab2..f867e923631b 100644
--- a/textproc/py-pygments/distinfo
+++ b/textproc/py-pygments/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681143350
-SHA256 (Pygments-2.15.0.tar.gz) = f7e36cffc4c517fbc252861b9a6e4644ca0e5abadf9a113c72d1358ad09b9500
-SIZE (Pygments-2.15.0.tar.gz) = 4818485
+TIMESTAMP = 1681921348
+SHA256 (Pygments-2.15.1.tar.gz) = 8ace4d3c1dd481894b2005f560ead0f9f19ee64fe983366be1a21e171d12775c
+SIZE (Pygments-2.15.1.tar.gz) = 4819591