blob: 906e58f6198497d5320b5ac60ab6882aced7bde3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
PORTNAME= misaka
PORTVERSION= 2.1.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= CFFI binding for Hoedown, a markdown parsing library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
TEST_DEPENDS= tidy5:www/tidy-html5
# Actually 2.7,3.4+
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
PYDISTUTILS_BUILDARGS= build_ext -i
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/misaka/*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} tests/run_tests.py
.include <bsd.port.mk>
|