diff --git a/python3-pycparser/.footprint b/python3-pycparser/.footprint new file mode 100644 index 000000000..f0f74f005 --- /dev/null +++ b/python3-pycparser/.footprint @@ -0,0 +1,65 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python3.6/ +drwxr-xr-x root/root usr/lib/python3.6/site-packages/ +drwxr-xr-x root/root usr/lib/python3.6/site-packages/pycparser-2.19-py3.6.egg-info/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser-2.19-py3.6.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser-2.19-py3.6.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser-2.19-py3.6.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser-2.19-py3.6.egg-info/top_level.txt +drwxr-xr-x root/root usr/lib/python3.6/site-packages/pycparser/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__init__.py +drwxr-xr-x root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/__init__.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/__init__.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/_ast_gen.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/_ast_gen.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/_build_tables.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/_build_tables.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/ast_transforms.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/ast_transforms.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/c_ast.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/c_ast.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/c_generator.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/c_generator.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/c_lexer.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/c_lexer.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/c_parser.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/c_parser.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/lextab.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/lextab.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/plyparser.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/plyparser.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/yacctab.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/__pycache__/yacctab.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/_ast_gen.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/_build_tables.py +-rw-rw-r-- root/root usr/lib/python3.6/site-packages/pycparser/_c_ast.cfg +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ast_transforms.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/c_ast.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/c_generator.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/c_lexer.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/c_parser.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/lextab.py +drwxr-xr-x root/root usr/lib/python3.6/site-packages/pycparser/ply/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__init__.py +drwxr-xr-x root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/__init__.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/__init__.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/cpp.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/cpp.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/ctokens.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/ctokens.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/lex.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/lex.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/yacc.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/yacc.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/ygen.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/__pycache__/ygen.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/cpp.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/ctokens.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/lex.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/yacc.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/ply/ygen.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/plyparser.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/pycparser/yacctab.py diff --git a/python3-pycparser/.signature b/python3-pycparser/.signature new file mode 100644 index 000000000..1545c712f --- /dev/null +++ b/python3-pycparser/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF325N+q6mb+b/9J4qHd+oOYnH75s5K5GbpOU3c3IxmppBs/CoJa6f6UggrloqC0gwxuQizyIIsuzdMUenKl7K/Qw= +SHA256 (Pkgfile) = 577adb06798b05ee44be14a77e9ed11effa3ef791aece82e6da3f5048398140a +SHA256 (.footprint) = 6914b9c13bda650086cdd42656e13466d2c2eedf084df227a4786ad55ca746fe +SHA256 (release_v2.19.tar.gz) = 893ec3d0f26c0faa7d0b992979940353a1682f86b5cd1228740637055b112379 diff --git a/python3-pycparser/Pkgfile b/python3-pycparser/Pkgfile new file mode 100644 index 000000000..904bda906 --- /dev/null +++ b/python3-pycparser/Pkgfile @@ -0,0 +1,21 @@ +# Description: C parser and AST generator written in Python. +# URL: https://github.com/eliben/pycparser +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: python3-setuptools + +name=python3-pycparser +version=2.19 +release=1 +source=(https://github.com/eliben/${name#*-*}/archive/release_v$version.tar.gz) + +build() { + cd ${name#*-}-release_v$version + + /usr/bin/python3 setup.py build + + cd pycparser + /usr/bin/python3 _build_tables.py + cd - + + /usr/bin/python3 setup.py install --root=$PKG --optimize=1 +}