Lines 1-7
Link Here
|
1 |
# Created by: Nicola Vitale <nivit@FreeBSD.org> |
1 |
# Created by: Nicola Vitale <nivit@FreeBSD.org> |
2 |
|
2 |
|
3 |
PORTNAME= pygments |
3 |
PORTNAME= pygments |
4 |
DISTVERSION= 2.7.2 |
4 |
DISTVERSION= 2.9.0 |
5 |
CATEGORIES= textproc python |
5 |
CATEGORIES= textproc python |
6 |
MASTER_SITES= CHEESESHOP |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 13-18
COMMENT= Syntax highlighter written in Python
Link Here
|
13 |
LICENSE= BSD2CLAUSE |
13 |
LICENSE= BSD2CLAUSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
15 |
|
|
|
16 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} |
17 |
|
16 |
USES= python:3.6+ |
18 |
USES= python:3.6+ |
17 |
USE_PYTHON= distutils concurrent autoplist |
19 |
USE_PYTHON= distutils concurrent autoplist |
18 |
|
20 |
|
Lines 20-29
CONFLICTS_INSTALL= py??-pygments-25
Link Here
|
20 |
|
22 |
|
21 |
NO_ARCH= yes |
23 |
NO_ARCH= yes |
22 |
|
24 |
|
23 |
.include <bsd.port.pre.mk> |
25 |
do-test: |
24 |
|
26 |
(cd ${TEST_WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=) |
25 |
.if ${PYTHON_VER} == ${PYTHON_DEFAULT} |
|
|
26 |
CONFLICTS_INSTALL= paraview |
27 |
.endif |
28 |
|
27 |
|
29 |
.include <bsd.port.post.mk> |
28 |
.include <bsd.port.mk> |