ports/textproc/py-mwparserfromhell/Makefile
Richard Gallamore c29d8ea247 * Updated to 0.5
* Added do-test

Changelog:	https://github.com/earwig/mwparserfromhell/blob/v0.5/CHANGELOG

PR:		220276
Submitted by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
Reviewed by:	lifanov (mentor)
Approved by:	lifanov (mentor)
Differential Revision:	https://reviews.freebsd.org/D11380
2017-06-29 18:23:00 +00:00

24 lines
522 B
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= mwparserfromhell
PORTVERSION= 0.5
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@rawbw.com
COMMENT= Parser for MediaWiki wikicode
LICENSE= MIT
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>