From e9021af640e82905482258d28e85eb97572f3863 Mon Sep 17 00:00:00 2001 From: recht Date: Fri, 16 Jul 2004 15:36:50 +0000 Subject: initial import of ply-1.5 The 1.4 version of the package was provided by NONAKA Kimihiro in PR 26344 . (And seems to be based upon the FreeBSD port.) Cleaned up and updated to 1.5 by me. PLY is a Python-only implementation of the popular compiler construction tools lex and yacc. The implementation borrows ideas from a number of previous efforts; most notably John Aycock's SPARK toolkit. However, the overall flavor of the implementation is more closely modeled after the C version of lex and yacc. The other significant feature of PLY is that it provides extensive input validation and error reporting--much more so than other Python parsing tools. --- devel/ply/DESCR | 7 +++++++ devel/ply/Makefile | 28 ++++++++++++++++++++++++++++ devel/ply/NEWS | 14 ++++++++++++++ devel/ply/PLIST | 24 ++++++++++++++++++++++++ devel/ply/distinfo | 4 ++++ 5 files changed, 77 insertions(+) create mode 100644 devel/ply/DESCR create mode 100644 devel/ply/Makefile create mode 100644 devel/ply/NEWS create mode 100644 devel/ply/PLIST create mode 100644 devel/ply/distinfo (limited to 'devel/ply') diff --git a/devel/ply/DESCR b/devel/ply/DESCR new file mode 100644 index 00000000000..7184fc4b17f --- /dev/null +++ b/devel/ply/DESCR @@ -0,0 +1,7 @@ +PLY is a Python-only implementation of the popular compiler construction +tools lex and yacc. The implementation borrows ideas from a number of +previous efforts; most notably John Aycock's SPARK toolkit. However, the +overall flavor of the implementation is more closely modeled after the C +version of lex and yacc. The other significant feature of PLY is that it +provides extensive input validation and error reporting--much more so than +other Python parsing tools. diff --git a/devel/ply/Makefile b/devel/ply/Makefile new file mode 100644 index 00000000000..6a3a8745907 --- /dev/null +++ b/devel/ply/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/07/16 15:36:50 recht Exp $ +# FreeBSD Id: ports/devel/ply/Makefile,v 1.6 2004/01/12 23:41:26 pav Exp + +DISTNAME= ply-1.5 +CATEGORIES= devel +MASTER_SITES= http://systems.cs.uchicago.edu/ply/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://systems.cs.uchicago.edu/ply/ +COMMENT= Python Lex-Yacc + +NO_BUILDLINK= yes +PYDISTUTILSPKG= yes + +PYTHON_VERSIONS_INCOMPATIBLE= 15 # 2.0 or greater + +DOCDIR= ${PREFIX}/share/doc/ply +EGDIR= ${PREFIX}/share/examples/ply + +post-install: + ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DOCDIR} + ${INSTALL_DATA_DIR} /${EGDIR} + cd ${WRKSRC}/example && ${PAX} -rwppm * ${EGDIR} + +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ply/NEWS b/devel/ply/NEWS new file mode 100644 index 00000000000..b272857bb8c --- /dev/null +++ b/devel/ply/NEWS @@ -0,0 +1,14 @@ +initial import of ply-1.5 + +The 1.4 version of the package was provided by NONAKA Kimihiro +in PR 26344 . (And seems to be based upon the FreeBSD port.) + +Cleaned up and updated to 1.5 by me. + +PLY is a Python-only implementation of the popular compiler construction +tools lex and yacc. The implementation borrows ideas from a number of +previous efforts; most notably John Aycock's SPARK toolkit. However, the +overall flavor of the implementation is more closely modeled after the C +version of lex and yacc. The other significant feature of PLY is that it +provides extensive input validation and error reporting--much more so than +other Python parsing tools. diff --git a/devel/ply/PLIST b/devel/ply/PLIST new file mode 100644 index 00000000000..1284e56b169 --- /dev/null +++ b/devel/ply/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/16 15:36:50 recht Exp $ +${PYSITELIB}/lex.py +${PYSITELIB}/lex.pyc +${PYSITELIB}/lex.pyo +${PYSITELIB}/yacc.py +${PYSITELIB}/yacc.pyc +${PYSITELIB}/yacc.pyo +share/doc/ply/README +share/doc/ply/ply.html +share/examples/ply/ansic/README +share/examples/ply/ansic/clex.py +share/examples/ply/ansic/cparse.py +share/examples/ply/calc/calc.py +share/examples/ply/classcalc/calc.py +share/examples/ply/hedit/hedit.py +share/examples/ply/optcalc/README +share/examples/ply/optcalc/calc.py +@dirrm share/examples/ply/optcalc +@dirrm share/examples/ply/hedit +@dirrm share/examples/ply/classcalc +@dirrm share/examples/ply/calc +@dirrm share/examples/ply/ansic +@dirrm share/examples/ply +@dirrm share/doc/ply diff --git a/devel/ply/distinfo b/devel/ply/distinfo new file mode 100644 index 00000000000..20c982a1641 --- /dev/null +++ b/devel/ply/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/07/16 15:36:50 recht Exp $ + +SHA1 (ply-1.5.tar.gz) = 453f9ed2742b59a170a83c7e52a8ccce8870894d +Size (ply-1.5.tar.gz) = 69278 bytes -- cgit v1.2.3