svn commit: r473800 - in head/textproc: . py-grako
Yuri Victorovich
yuri at FreeBSD.org
Tue Jul 3 06:16:37 UTC 2018
Author: yuri
Date: Tue Jul 3 06:16:35 2018
New Revision: 473800
URL: https://svnweb.freebsd.org/changeset/ports/473800
Log:
New port: textproc/py-grako: Convert EBNF grammar to PEG/Packrat parser in Python
Added:
head/textproc/py-grako/
head/textproc/py-grako/Makefile (contents, props changed)
head/textproc/py-grako/distinfo (contents, props changed)
head/textproc/py-grako/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Tue Jul 3 05:30:30 2018 (r473799)
+++ head/textproc/Makefile Tue Jul 3 06:16:35 2018 (r473800)
@@ -1303,6 +1303,7 @@
SUBDIR += py-genshi
SUBDIR += py-gensim
SUBDIR += py-gfm
+ SUBDIR += py-grako
SUBDIR += py-guess-language
SUBDIR += py-hexdump
SUBDIR += py-html2text
Added: head/textproc/py-grako/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-grako/Makefile Tue Jul 3 06:16:35 2018 (r473800)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= grako
+DISTVERSION= 3.99.9
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Convert EBNF grammar to PEG/Packrat parser in Python
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
+
+USES= python zip
+USE_PYTHON= distutils cython autoplist
+
+.include <bsd.port.mk>
Added: head/textproc/py-grako/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-grako/distinfo Tue Jul 3 06:16:35 2018 (r473800)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1530596270
+SHA256 (grako-3.99.9.zip) = fcc37309eab7cd0cbbb26cfd6a54303fbb80a00a58ab295d1e665bc69189c364
+SIZE (grako-3.99.9.zip) = 159278
Added: head/textproc/py-grako/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-grako/pkg-descr Tue Jul 3 06:16:35 2018 (r473800)
@@ -0,0 +1,8 @@
+Grako (for grammar compiler) is a tool that takes grammars in a variation of
+EBNF as input, and outputs memoizing (Packrat) PEG parsers in Python.
+
+Grako can also compile a grammar stored in a string into a Grammar object that
+can be used to parse any given input, much like the re module does with regular
+expressions.
+
+WWW: https://bitbucket.org/neogeny/grako
More information about the svn-ports-all
mailing list