[crux-commits] ports/opt (3.6): python3-pycparser: contrib -> opt

crux at crux.nu crux at crux.nu
Mon Apr 12 14:26:00 UTC 2021


commit 4606626a9b6141a9d92c3f2dac4b452cea4fc0ff
Author: Danny Rawlins <contact at romster.me>
Date:   Mon Apr 12 23:52:55 2021 +1000

    python3-pycparser: contrib -> opt

diff --git a/python3-pycparser/.footprint b/python3-pycparser/.footprint
new file mode 100644
index 000000000..be9e0000a
--- /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.9/
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/pycparser-2.20-py3.9.egg-info/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser-2.20-py3.9.egg-info/PKG-INFO
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser-2.20-py3.9.egg-info/SOURCES.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser-2.20-py3.9.egg-info/dependency_links.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser-2.20-py3.9.egg-info/top_level.txt
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/pycparser/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__init__.py
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/__init__.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/__init__.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/_ast_gen.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/_ast_gen.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/_build_tables.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/_build_tables.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/ast_transforms.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/ast_transforms.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/c_ast.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/c_ast.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/c_generator.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/c_generator.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/c_lexer.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/c_lexer.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/c_parser.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/c_parser.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/lextab.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/lextab.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/plyparser.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/plyparser.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/yacctab.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/__pycache__/yacctab.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/_ast_gen.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/_build_tables.py
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/pycparser/_c_ast.cfg
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ast_transforms.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/c_ast.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/c_generator.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/c_lexer.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/c_parser.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/lextab.py
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/pycparser/ply/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__init__.py
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/__init__.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/__init__.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/cpp.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/cpp.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/ctokens.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/ctokens.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/lex.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/lex.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/yacc.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/yacc.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/ygen.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/__pycache__/ygen.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/cpp.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/ctokens.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/lex.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/yacc.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/ply/ygen.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/plyparser.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/pycparser/yacctab.py
diff --git a/python3-pycparser/.signature b/python3-pycparser/.signature
new file mode 100644
index 000000000..78b5e49c9
--- /dev/null
+++ b/python3-pycparser/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/opt.pub
+RWSE3ohX2g5d/TF7mg4rD77j3whjJm2Un2MlcMP5I24kDQAU1hgdqAzY2FvEOAaLkk7mSVh3Z6MA1AM4K8HDpWtxkXKwzaVDnws=
+SHA256 (Pkgfile) = f3b108104910b9136d2ca94cad6142fe2eb69ba0274d0f0178038efea9f34d8b
+SHA256 (.footprint) = 8c4ebbdb9b01b4cf2eb42b644afb3563c91f660d40ff56378fe7e0db9d51aec1
+SHA256 (release_v2.20.tar.gz) = 1b895b4f6fb5195ce9c516ca7e28c9bd2f9ecd0f02755302b8a717454abea806
diff --git a/python3-pycparser/Pkgfile b/python3-pycparser/Pkgfile
new file mode 100644
index 000000000..98b1f6b4f
--- /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.20
+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
+}


More information about the crux-commits mailing list