Lines 1-18
Link Here
|
1 |
PORTNAME= markdown2 |
1 |
PORTNAME= markdown2 |
2 |
PORTVERSION= 2.3.6 |
2 |
PORTVERSION= 2.4.10 |
3 |
CATEGORIES= textproc python |
3 |
CATEGORIES= textproc python |
4 |
MASTER_SITES= PYPI |
4 |
MASTER_SITES= PYPI |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
|
6 |
|
7 |
MAINTAINER= wen@FreeBSD.org |
7 |
MAINTAINER= wen@FreeBSD.org |
8 |
COMMENT= Fast and complete Python implementation of Markdown |
8 |
COMMENT= Fast and complete Python implementation of Markdown |
9 |
WWW= https://code.google.com/p/python-markdown2/ |
9 |
WWW= https://github.com/trentm/python-markdown2 |
10 |
|
10 |
|
11 |
LICENSE= MIT |
11 |
LICENSE= MIT |
|
|
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
12 |
|
13 |
|
13 |
USES= python zip |
14 |
USES= python |
14 |
USE_PYTHON= autoplist distutils |
15 |
USE_PYTHON= autoplist concurrent distutils |
|
|
16 |
|
17 |
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} |
15 |
|
18 |
|
16 |
NO_ARCH= yes |
19 |
NO_ARCH= yes |
17 |
|
20 |
|
|
|
21 |
OPTIONS_DEFINE= SYNTAX WAVEDROM |
22 |
OPTIONS_DEFAULT= SYNTAX WAVEDROM |
23 |
|
24 |
SYNTAX_DESC= Code syntax highlighting support |
25 |
WAVEDROM_DESC= WaveDrom support |
26 |
|
27 |
SYNTAX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=2.7.3:textproc/py-pygments@${PY_FLAVOR} |
28 |
WAVEDROM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wavedrom>0:textproc/py-wavedrom@${PY_FLAVOR} |
29 |
|
30 |
# One test (= markdown2/tm/issue52_hang) always results in an error which |
31 |
# is a known failure. |
32 |
do-test: |
33 |
cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} test.py |
34 |
|
18 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |