diff options
author | recht <recht@pkgsrc.org> | 2004-07-16 15:36:50 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-07-16 15:36:50 +0000 |
commit | e9021af640e82905482258d28e85eb97572f3863 (patch) | |
tree | caddc38196900bb4c4fc32a22732ddb138607c00 /devel/ply | |
parent | 330662f6096730fe5bd5d1fc8f93898342f24781 (diff) | |
download | pkgsrc-e9021af640e82905482258d28e85eb97572f3863.tar.gz |
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.
Diffstat (limited to 'devel/ply')
-rw-r--r-- | devel/ply/DESCR | 7 | ||||
-rw-r--r-- | devel/ply/Makefile | 28 | ||||
-rw-r--r-- | devel/ply/NEWS | 14 | ||||
-rw-r--r-- | devel/ply/PLIST | 24 | ||||
-rw-r--r-- | devel/ply/distinfo | 4 |
5 files changed, 77 insertions, 0 deletions
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 |