diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile index 9f97b959a78c..04bed4096329 100644 --- a/textproc/py-pygments/Makefile +++ b/textproc/py-pygments/Makefile @@ -1,29 +1,28 @@ # Created by: Nicola Vitale PORTNAME= pygments -DISTVERSION= 2.7.2 +DISTVERSION= 2.9.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Pygments-${PORTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Syntax highlighter written in Python LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + USES= cpe python:3.6+ USE_PYTHON= distutils concurrent autoplist CONFLICTS_INSTALL= py??-pygments-25 NO_ARCH= yes -.include - -.if ${PYTHON_VER} == ${PYTHON_DEFAULT} -CONFLICTS_INSTALL= paraview -.endif +do-test: + (cd ${TEST_WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=) -.include +.include diff --git a/textproc/py-pygments/distinfo b/textproc/py-pygments/distinfo index ab574768af8e..e0d96c48b5b6 100644 --- a/textproc/py-pygments/distinfo +++ b/textproc/py-pygments/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1608361332 -SHA256 (Pygments-2.7.2.tar.gz) = 381985fcc551eb9d37c52088a32914e00517e57f4a21609f48141ba08e193fa0 -SIZE (Pygments-2.7.2.tar.gz) = 2350457 +TIMESTAMP = 1625498300 +SHA256 (Pygments-2.9.0.tar.gz) = a18f47b506a429f6f4b9df81bb02beab9ca21d0a5fee38ed15aef65f0545519f +SIZE (Pygments-2.9.0.tar.gz) = 4048049