summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-09-30 17:21:21 +0000
committerwiz <wiz@pkgsrc.org>2013-09-30 17:21:21 +0000
commitb7e5b95189c02b4ffe60fc260e118c940f1087d2 (patch)
tree0c17a33e2919a84d4e44794471046ffaf5073b64 /devel
parent72e468d512a70057c8bc0168d92f8346bb54f240 (diff)
downloadpkgsrc-b7e5b95189c02b4ffe60fc260e118c940f1087d2.tar.gz
Import py27-cparser-2.10 as devel/py-cparser.
pycparser is a parser for the C language, written in pure Python. It is a module designed to be easily integrated into applications that need to parse C source code.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-cparser/DESCR3
-rw-r--r--devel/py-cparser/Makefile14
-rw-r--r--devel/py-cparser/PLIST51
-rw-r--r--devel/py-cparser/distinfo5
4 files changed, 73 insertions, 0 deletions
diff --git a/devel/py-cparser/DESCR b/devel/py-cparser/DESCR
new file mode 100644
index 00000000000..93edf7fe2ff
--- /dev/null
+++ b/devel/py-cparser/DESCR
@@ -0,0 +1,3 @@
+pycparser is a parser for the C language, written in pure Python.
+It is a module designed to be easily integrated into applications
+that need to parse C source code.
diff --git a/devel/py-cparser/Makefile b/devel/py-cparser/Makefile
new file mode 100644
index 00000000000..0e9a79578fe
--- /dev/null
+++ b/devel/py-cparser/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2013/09/30 17:21:21 wiz Exp $
+
+DISTNAME= pycparser-2.10
+PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/}
+CATEGORIES= lang
+MASTER_SITES= https://pypi.python.org/packages/source/p/pycparser/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.python.org/pypi/pycparser
+COMMENT= C parser in Python
+LICENSE= modified-bsd
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-cparser/PLIST b/devel/py-cparser/PLIST
new file mode 100644
index 00000000000..856c603fcc2
--- /dev/null
+++ b/devel/py-cparser/PLIST
@@ -0,0 +1,51 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/30 17:21:21 wiz Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/pycparser/__init__.py
+${PYSITELIB}/pycparser/__init__.pyc
+${PYSITELIB}/pycparser/__init__.pyo
+${PYSITELIB}/pycparser/_ast_gen.py
+${PYSITELIB}/pycparser/_ast_gen.pyc
+${PYSITELIB}/pycparser/_ast_gen.pyo
+${PYSITELIB}/pycparser/_build_tables.py
+${PYSITELIB}/pycparser/_build_tables.pyc
+${PYSITELIB}/pycparser/_build_tables.pyo
+${PYSITELIB}/pycparser/_c_ast.cfg
+${PYSITELIB}/pycparser/ast_transforms.py
+${PYSITELIB}/pycparser/ast_transforms.pyc
+${PYSITELIB}/pycparser/ast_transforms.pyo
+${PYSITELIB}/pycparser/c_ast.py
+${PYSITELIB}/pycparser/c_ast.pyc
+${PYSITELIB}/pycparser/c_ast.pyo
+${PYSITELIB}/pycparser/c_generator.py
+${PYSITELIB}/pycparser/c_generator.pyc
+${PYSITELIB}/pycparser/c_generator.pyo
+${PYSITELIB}/pycparser/c_lexer.py
+${PYSITELIB}/pycparser/c_lexer.pyc
+${PYSITELIB}/pycparser/c_lexer.pyo
+${PYSITELIB}/pycparser/c_parser.py
+${PYSITELIB}/pycparser/c_parser.pyc
+${PYSITELIB}/pycparser/c_parser.pyo
+${PYSITELIB}/pycparser/lextab.py
+${PYSITELIB}/pycparser/lextab.pyc
+${PYSITELIB}/pycparser/lextab.pyo
+${PYSITELIB}/pycparser/ply/__init__.py
+${PYSITELIB}/pycparser/ply/__init__.pyc
+${PYSITELIB}/pycparser/ply/__init__.pyo
+${PYSITELIB}/pycparser/ply/cpp.py
+${PYSITELIB}/pycparser/ply/cpp.pyc
+${PYSITELIB}/pycparser/ply/cpp.pyo
+${PYSITELIB}/pycparser/ply/ctokens.py
+${PYSITELIB}/pycparser/ply/ctokens.pyc
+${PYSITELIB}/pycparser/ply/ctokens.pyo
+${PYSITELIB}/pycparser/ply/lex.py
+${PYSITELIB}/pycparser/ply/lex.pyc
+${PYSITELIB}/pycparser/ply/lex.pyo
+${PYSITELIB}/pycparser/ply/yacc.py
+${PYSITELIB}/pycparser/ply/yacc.pyc
+${PYSITELIB}/pycparser/ply/yacc.pyo
+${PYSITELIB}/pycparser/plyparser.py
+${PYSITELIB}/pycparser/plyparser.pyc
+${PYSITELIB}/pycparser/plyparser.pyo
+${PYSITELIB}/pycparser/yacctab.py
+${PYSITELIB}/pycparser/yacctab.pyc
+${PYSITELIB}/pycparser/yacctab.pyo
diff --git a/devel/py-cparser/distinfo b/devel/py-cparser/distinfo
new file mode 100644
index 00000000000..81fac79f7cb
--- /dev/null
+++ b/devel/py-cparser/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/30 17:21:21 wiz Exp $
+
+SHA1 (pycparser-2.10.tar.gz) = 378a7a987d40e2c1c42cad0b351a6fc0a51ed004
+RMD160 (pycparser-2.10.tar.gz) = 2fbb253348d90d55492a063b96b71511dadefa04
+Size (pycparser-2.10.tar.gz) = 206166 bytes