Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2019 10:02:14 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511289 - in head/textproc: . py-jsx-lexer
Message-ID:  <201909061002.x86A2ElO021847@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Sep  6 10:02:14 2019
New Revision: 511289
URL: https://svnweb.freebsd.org/changeset/ports/511289

Log:
  [NEW] textproc/py-jsx-lexer: JSX lexer for Pygments
  
  A JSX lexer for Pygments. Supports:
  
   * Sphinx
   * mkdocs
  
  WWW: https://github.com/fcurella/jsx-lexer

Added:
  head/textproc/py-jsx-lexer/
  head/textproc/py-jsx-lexer/Makefile   (contents, props changed)
  head/textproc/py-jsx-lexer/distinfo   (contents, props changed)
  head/textproc/py-jsx-lexer/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Fri Sep  6 09:59:48 2019	(r511288)
+++ head/textproc/Makefile	Fri Sep  6 10:02:14 2019	(r511289)
@@ -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

Added: head/textproc/py-jsx-lexer/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-jsx-lexer/Makefile	Fri Sep  6 10:02:14 2019	(r511289)
@@ -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>

Added: head/textproc/py-jsx-lexer/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-jsx-lexer/distinfo	Fri Sep  6 10:02:14 2019	(r511289)
@@ -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

Added: head/textproc/py-jsx-lexer/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-jsx-lexer/pkg-descr	Fri Sep  6 10:02:14 2019	(r511289)
@@ -0,0 +1,6 @@
+A JSX lexer for Pygments. Supports:
+
+ * Sphinx
+ * mkdocs
+
+WWW: https://github.com/fcurella/jsx-lexer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909061002.x86A2ElO021847>