31fef999d7
A JSX lexer for Pygments. Supports: * Sphinx * mkdocs WWW: https://github.com/fcurella/jsx-lexer
29 lines
554 B
Makefile
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>
|