2015-11-05 22:21:21 +01:00
|
|
|
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mwparserfromhell
|
2019-05-19 01:09:51 +02:00
|
|
|
DISTVERSION= 0.5.4
|
2015-11-05 22:21:21 +01:00
|
|
|
CATEGORIES= textproc python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2018-02-25 01:40:37 +01:00
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
2015-11-05 22:21:21 +01:00
|
|
|
COMMENT= Parser for MediaWiki wikicode
|
|
|
|
|
|
|
|
LICENSE= MIT
|
2018-03-05 06:19:23 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2015-11-05 22:21:21 +01:00
|
|
|
|
|
|
|
USES= python
|
|
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
|
2016-03-02 23:44:29 +01:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mwparserfromhell/parser/_tokenizer.so
|
|
|
|
|
2017-06-29 20:23:00 +02:00
|
|
|
do-test:
|
|
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
|
2015-11-05 22:21:21 +01:00
|
|
|
.include <bsd.port.mk>
|