2919b933d1
With hat: python
27 lines
562 B
Makefile
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>
|