1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

[NEW] textproc/py-jsx-lexer: JSX lexer for Pygments

A JSX lexer for Pygments. Supports:

 * Sphinx
 * mkdocs

WWW: https://github.com/fcurella/jsx-lexer
This commit is contained in:
Kubilay Kocak 2019-09-06 10:02:14 +00:00
parent 8605cafcda
commit 31fef999d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511289
4 changed files with 38 additions and 0 deletions

View File

@ -1283,6 +1283,7 @@
SUBDIR += py-hypua2jamo
SUBDIR += py-jaxml
SUBDIR += py-jsonslicer
SUBDIR += py-jsx-lexer
SUBDIR += py-jtextfsm
SUBDIR += py-junit-xml
SUBDIR += py-langdetect

View File

@ -0,0 +1,28 @@
# $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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1567760207
SHA256 (fcurella-jsx-lexer-v0.0.7_GH0.tar.gz) = 0ee40ef9d210056b6e2d834bd57d5cf90f338b1ced2222f5b30a1b5ba71acd21
SIZE (fcurella-jsx-lexer-v0.0.7_GH0.tar.gz) = 5437

View File

@ -0,0 +1,6 @@
A JSX lexer for Pygments. Supports:
* Sphinx
* mkdocs
WWW: https://github.com/fcurella/jsx-lexer