svn commit: r448083 - in head/textproc: . py-pyPEG2
Ed Schouten
ed at FreeBSD.org
Thu Aug 17 09:45:15 UTC 2017
Author: ed (src committer)
Date: Thu Aug 17 09:45:13 2017
New Revision: 448083
URL: https://svnweb.freebsd.org/changeset/ports/448083
Log:
Add py-pyPEG2.
I am currently in the process of creating ports for various components
related to CloudABI, including ARPC (an RPC framework that supports file
descriptor passing) and Flower (a capability-based network backplane).
The former comes with a script called 'aprotoc' for creating C++
bindings for messages and RPC services. This script depends on Python's
pyPEG2 package to parse (a subset of) Protobuf's .proto grammar.
Reviewed by: wg
Differential Revision: https://reviews.freebsd.org/D12048
Added:
head/textproc/py-pyPEG2/
head/textproc/py-pyPEG2/Makefile (contents, props changed)
head/textproc/py-pyPEG2/distinfo (contents, props changed)
head/textproc/py-pyPEG2/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Thu Aug 17 08:26:25 2017 (r448082)
+++ head/textproc/Makefile Thu Aug 17 09:45:13 2017 (r448083)
@@ -1305,6 +1305,7 @@
SUBDIR += py-parsimonious
SUBDIR += py-pdfminer
SUBDIR += py-pss
+ SUBDIR += py-pyPEG2
SUBDIR += py-pyctpp2
SUBDIR += py-pyelasticsearch
SUBDIR += py-pyes
Added: head/textproc/py-pyPEG2/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-pyPEG2/Makefile Thu Aug 17 09:45:13 2017 (r448083)
@@ -0,0 +1,20 @@
+# Created by: Ed Schouten <ed at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pyPEG2
+PORTVERSION= 2.15.2
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ed at FreeBSD.org
+COMMENT= Parsing Expression Grammar (PEG) parser for Python
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES?= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/textproc/py-pyPEG2/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-pyPEG2/distinfo Thu Aug 17 09:45:13 2017 (r448083)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1502893061
+SHA256 (pyPEG2-2.15.2.tar.gz) = 2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d
+SIZE (pyPEG2-2.15.2.tar.gz) = 40334
Added: head/textproc/py-pyPEG2/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-pyPEG2/pkg-descr Thu Aug 17 09:45:13 2017 (r448083)
@@ -0,0 +1,7 @@
+PyPEG2 is a parser-interpreter for Parsing Expression Grammars (PEGs).
+
+PEGs look similar to context-free grammars (CFGs), except that the choice
+operator always picks the first matching option. This allows for parsing
+in linear time.
+
+WWW: https://fdik.org/pyPEG/
More information about the svn-ports-all
mailing list