freebsd-ports/textproc/py-jsx-lexer/Makefile
Po-Chuan Hsieh 2919b933d1
textproc/py-jsx-lexer: Remove PY_PYGMENTS
With hat:	python
2021-06-21 00:16:18 +08:00

27 lines
562 B
Makefile

PORTNAME= jsx-lexer
PORTVERSION= 0.0.7
PORTREVISION= 1
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:3.6+
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>