pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ply initial import of ply-1.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4619927d6ec
branches:  trunk
changeset: 478085:f4619927d6ec
user:      recht <recht%pkgsrc.org@localhost>
date:      Fri Jul 16 15:36:50 2004 +0000

description:
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:

 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(+), 0 deletions(-)

diffs (97 lines):

diff -r 381df95b2ca9 -r f4619927d6ec devel/ply/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ply/DESCR   Fri Jul 16 15:36:50 2004 +0000
@@ -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 -r 381df95b2ca9 -r f4619927d6ec devel/ply/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ply/Makefile        Fri Jul 16 15:36:50 2004 +0000
@@ -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@localhost
+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 -r 381df95b2ca9 -r f4619927d6ec devel/ply/NEWS
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ply/NEWS    Fri Jul 16 15:36:50 2004 +0000
@@ -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 -r 381df95b2ca9 -r f4619927d6ec devel/ply/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ply/PLIST   Fri Jul 16 15:36:50 2004 +0000
@@ -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 -r 381df95b2ca9 -r f4619927d6ec devel/ply/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ply/distinfo        Fri Jul 16 15:36:50 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index