pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-PEG2: import py-PEG2-2.15.2 as wip/py-PEG2



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Fri Sep 16 19:53:34 2016 +0200
Changeset:	fc9bb04e19240e6c119896a3c70f834dcf67ff61

Modified Files:
	Makefile
Added Files:
	py-PEG2/DESCR
	py-PEG2/Makefile
	py-PEG2/PLIST
	py-PEG2/distinfo

Log Message:
py-PEG2: import py-PEG2-2.15.2 as wip/py-PEG2

Python is a nice scripting language. It even gives you access to
its own parser and compiler. It also gives you access to different
other parsers for special purposes like XML and string templates.

But sometimes you may want to have your own parser. This is what's
pyPEG for. And pyPEG supports Unicode.

pyPEG is a plain and simple intrinsic parser interpreter framework
for Python version 2.7 and 3.x. It is based on Parsing Expression
Grammar, PEG. With pyPEG you can parse many formal languages in a
very easy way.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fc9bb04e19240e6c119896a3c70f834dcf67ff61

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile         |  1 +
 py-PEG2/DESCR    | 11 +++++++++++
 py-PEG2/Makefile | 16 ++++++++++++++++
 py-PEG2/PLIST    | 17 +++++++++++++++++
 py-PEG2/distinfo |  6 ++++++
 5 files changed, 51 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6233b4f..1003662 100644
--- a/Makefile
+++ b/Makefile
@@ -2634,6 +2634,7 @@ SUBDIR+=	py-IOSXR
 SUBDIR+=	py-Kallithea
 SUBDIR+=	py-Netzob
 SUBDIR+=	py-OpenAL
+SUBDIR+=	py-PEG2
 SUBDIR+=	py-Py2Play
 SUBDIR+=	py-PyPE
 SUBDIR+=	py-PythonDirector
diff --git a/py-PEG2/DESCR b/py-PEG2/DESCR
new file mode 100644
index 0000000..f6a34d8
--- /dev/null
+++ b/py-PEG2/DESCR
@@ -0,0 +1,11 @@
+Python is a nice scripting language. It even gives you access to
+its own parser and compiler. It also gives you access to different
+other parsers for special purposes like XML and string templates.
+
+But sometimes you may want to have your own parser. This is what's
+pyPEG for. And pyPEG supports Unicode.
+
+pyPEG is a plain and simple intrinsic parser interpreter framework
+for Python version 2.7 and 3.x. It is based on Parsing Expression
+Grammar, PEG. With pyPEG you can parse many formal languages in a
+very easy way.
diff --git a/py-PEG2/Makefile b/py-PEG2/Makefile
new file mode 100644
index 0000000..2333b46
--- /dev/null
+++ b/py-PEG2/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	pyPEG2-2.15.2
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=	devel textproc python
+MASTER_SITES=	http://fdik.org/pyPEG2/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://fdik.org/pyPEG2/
+COMMENT=	Intrinsic PEG Parser-Interpreter for Python
+LICENSE=	gnu-gpl-v2
+
+DEPENDS+=	${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-PEG2/PLIST b/py-PEG2/PLIST
new file mode 100644
index 0000000..cc8139c
--- /dev/null
+++ b/py-PEG2/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/pypeg2/__init__.py
+${PYSITELIB}/pypeg2/__init__.pyc
+${PYSITELIB}/pypeg2/__init__.pyo
+${PYSITELIB}/pypeg2/test/__init__.py
+${PYSITELIB}/pypeg2/test/__init__.pyc
+${PYSITELIB}/pypeg2/test/__init__.pyo
+${PYSITELIB}/pypeg2/test/test_pyPEG2.py
+${PYSITELIB}/pypeg2/test/test_pyPEG2.pyc
+${PYSITELIB}/pypeg2/test/test_pyPEG2.pyo
+${PYSITELIB}/pypeg2/test/test_xmlast.py
+${PYSITELIB}/pypeg2/test/test_xmlast.pyc
+${PYSITELIB}/pypeg2/test/test_xmlast.pyo
+${PYSITELIB}/pypeg2/xmlast.py
+${PYSITELIB}/pypeg2/xmlast.pyc
+${PYSITELIB}/pypeg2/xmlast.pyo
diff --git a/py-PEG2/distinfo b/py-PEG2/distinfo
new file mode 100644
index 0000000..8ebab4e
--- /dev/null
+++ b/py-PEG2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (pyPEG2-2.15.2.tar.gz) = e8676585f24756a548bd099180e9312cad54ae4a
+RMD160 (pyPEG2-2.15.2.tar.gz) = 54c893319d3696536c3e75ae962ffd6dfe1d0d8e
+SHA512 (pyPEG2-2.15.2.tar.gz) = 58ef468e165a05f1e99e1c7f45818c0d80d931ba718885e7699901069df1c651bf11f5fd589c41de234a2eeb353e8348eed7b79885b3ab30b6a7fe348894b2a6
+Size (pyPEG2-2.15.2.tar.gz) = 40326 bytes


Home | Main Index | Thread Index | Old Index