freebsd-ports/textproc/py-jsx-lexer/Makefile
Kubilay Kocak 31fef999d7 [NEW] textproc/py-jsx-lexer: JSX lexer for Pygments
A JSX lexer for Pygments. Supports:

 * Sphinx
 * mkdocs

WWW: https://github.com/fcurella/jsx-lexer
2019-09-06 10:02:14 +00:00

29 lines
554 B
Makefile

# $FreeBSD$
PORTNAME= jsx-lexer
PORTVERSION= 0.0.7
DISTVERSIONPREFIX=v
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= JSX lexer for Pygments
LICENSE= MIT
#LICENSE_FILE= Not packaged yet in sdist
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=2.1:textproc/py-pygments@${PY_FLAVOR}
USES= python
USE_GITHUB= yes # tests not in sdist
USE_PYTHON= autoplist distutils
GH_ACCOUNT= fcurella
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>