freebsd-ports/textproc/py-mwparserfromhell/Makefile
Yuri Victorovich 2f85f8ce3e textproc/py-mwparserfromhell: update 0.6.4 → 0.6.5
Reported by:	portscout
2023-09-06 00:44:13 -07:00

26 lines
707 B
Makefile

PORTNAME= mwparserfromhell
DISTVERSION= 0.6.5
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
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mwparserfromhell/parser/_tokenizer*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>