Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2018 06:16:35 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473800 - in head/textproc: . py-grako
Message-ID:  <201807030616.w636GZRh043815@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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