aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2016-05-26 23:20:36 +0800
committerrobak <robak@FreeBSD.org>2016-05-26 23:20:36 +0800
commite258feda55d84cb8f91f3ba40f0b2cf70d691639 (patch)
treea03444c812031f876cdf058f5931c5192b9625ee /textproc
parent77c5f4c9c2cfa71dea33826d019611c04f49494e (diff)
downloadfreebsd-ports-gnome-e258feda55d84cb8f91f3ba40f0b2cf70d691639.tar.gz
freebsd-ports-gnome-e258feda55d84cb8f91f3ba40f0b2cf70d691639.tar.zst
freebsd-ports-gnome-e258feda55d84cb8f91f3ba40f0b2cf70d691639.zip
textproc/py-parsimonious: NEW PORT - PEGs based parser in Python
Parsimonious aims to be the fastest arbitrary-lookahead parser written in pure Python and the most usable. It's based on parsing expression grammars (PEGs), which means you feed it a simplified sort of EBNF notation. Parsimonious was designed to undergird a MediaWiki parser that wouldn't take 5 seconds or a GB of RAM to do one page, but it's applicable to all sorts of languages. WWW: https://pypi.python.org/pypi/parsimonious PR: 209732 Submitted by: Danilo G. Baio <dbaio@bsd.com.br>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-parsimonious/Makefile19
-rw-r--r--textproc/py-parsimonious/distinfo3
-rw-r--r--textproc/py-parsimonious/pkg-descr8
3 files changed, 30 insertions, 0 deletions
diff --git a/textproc/py-parsimonious/Makefile b/textproc/py-parsimonious/Makefile
new file mode 100644
index 000000000000..03785d4b8139
--- /dev/null
+++ b/textproc/py-parsimonious/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= parsimonious
+PORTVERSION= 0.6.2
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dbaio@bsd.com.br
+COMMENT= PEGs based parser in Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NO_ARCH= yes
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/textproc/py-parsimonious/distinfo b/textproc/py-parsimonious/distinfo
new file mode 100644
index 000000000000..9218da990671
--- /dev/null
+++ b/textproc/py-parsimonious/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1463703191
+SHA256 (parsimonious-0.6.2.tar.gz) = 423ae2e16061504418ab7abf0a740e26a781f9bc7674a6cf5e2f11edb4ae8029
+SIZE (parsimonious-0.6.2.tar.gz) = 35529
diff --git a/textproc/py-parsimonious/pkg-descr b/textproc/py-parsimonious/pkg-descr
new file mode 100644
index 000000000000..fe527479e17e
--- /dev/null
+++ b/textproc/py-parsimonious/pkg-descr
@@ -0,0 +1,8 @@
+Parsimonious aims to be the fastest arbitrary-lookahead parser written
+in pure Python and the most usable. It's based on parsing expression
+grammars (PEGs), which means you feed it a simplified sort of EBNF
+notation. Parsimonious was designed to undergird a MediaWiki parser
+that wouldn't take 5 seconds or a GB of RAM to do one page, but it's
+applicable to all sorts of languages.
+
+WWW: https://pypi.python.org/pypi/parsimonious