Files
ports/textproc/py-mwparserfromhell/Makefile
T
2026-06-04 23:28:20 -07:00

25 lines
620 B
Makefile

PORTNAME= mwparserfromhell
DISTVERSION= 0.7.2
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Parser for MediaWiki wikicode
WWW= https://github.com/earwig/mwparserfromhell
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils pytest
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mwparserfromhell/parser/_tokenizer*.so
# tests as of 0.7.2: 2 failed, 2006 passed, 1 skipped in 9.34s
.include <bsd.port.mk>