commit 9118e6fc38ea783485c17238bd0b33dc13f7eeac Author: Thierry Thomas Date: Mon Jul 5 17:32:05 2021 +0200 textproc/py-pygments: upgrade to 2.9.0 Release notes at . - Remove conflict with the defunct paraview. - Add a test target (3710 passed, 3 skipped). diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile index 87b5cc987d50..514a91e7536c 100644 --- a/textproc/py-pygments/Makefile +++ b/textproc/py-pygments/Makefile @@ -1,7 +1,7 @@ # Created by: Nicola Vitale PORTNAME= pygments -DISTVERSION= 2.7.2 +DISTVERSION= 2.9.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,6 +13,8 @@ COMMENT= Syntax highlighter written in Python LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + USES= python:3.6+ USE_PYTHON= distutils concurrent autoplist @@ -20,10 +22,7 @@ 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