git: 531a8b3c4af4 - main - textproc/py-pygments: upgrade to 2.9.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Feb 2022 15:11:35 UTC
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=531a8b3c4af4c6009eaa053a4c991ca4fd0020cf
commit 531a8b3c4af4c6009eaa053a4c991ca4fd0020cf
Author: Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-07-05 15:32:05 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-02-19 15:08:48 +0000
textproc/py-pygments: upgrade to 2.9.0
Release notes at <https://github.com/pygments/pygments/releases/tag/2.9.0>.
- Remove conflict with the defunct paraview.
- Add a test target (3710 passed, 3 skipped).
Exp-run by antoine.
PR: 256995
Approved by: maintainer’s time-out
---
textproc/py-pygments/Makefile | 13 ++++++-------
textproc/py-pygments/distinfo | 6 +++---
2 files changed, 9 insertions(+), 10 deletions(-)
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,7 +1,7 @@
# Created by: Nicola Vitale <nivit@FreeBSD.org>
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= cpe python:3.6+
USE_PYTHON= distutils concurrent autoplist
@@ -20,10 +22,7 @@ CONFLICTS_INSTALL= py??-pygments-25
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} == ${PYTHON_DEFAULT}
-CONFLICTS_INSTALL= paraview
-.endif
+do-test:
+ (cd ${TEST_WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
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