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

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


commit 2bd05291d3fe6006f59cbd1c1a4af94a86ec41c3
Author: Danny Rawlins <contact at romster.me>
Date:   Mon Apr 12 23:53:42 2021 +1000

    python3-cffi: contrib -> opt

diff --git a/python3-cffi/.footprint b/python3-cffi/.footprint
new file mode 100644
index 000000000..c34e70a79
--- /dev/null
+++ b/python3-cffi/.footprint
@@ -0,0 +1,67 @@
+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/
+-rwxr-xr-x	root/root	usr/lib/python3.9/site-packages/_cffi_backend.cpython-39-x86_64-linux-gnu.so
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cffi-1.14.5-py3.9.egg-info/
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi-1.14.5-py3.9.egg-info/PKG-INFO
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi-1.14.5-py3.9.egg-info/SOURCES.txt
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi-1.14.5-py3.9.egg-info/dependency_links.txt
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi-1.14.5-py3.9.egg-info/entry_points.txt
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi-1.14.5-py3.9.egg-info/not-zip-safe
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi-1.14.5-py3.9.egg-info/requires.txt
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi-1.14.5-py3.9.egg-info/top_level.txt
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cffi/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__init__.py
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/__init__.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/__init__.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/api.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/api.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/backend_ctypes.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/backend_ctypes.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/cffi_opcode.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/cffi_opcode.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/commontypes.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/commontypes.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/cparser.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/cparser.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/error.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/error.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/ffiplatform.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/ffiplatform.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/lock.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/lock.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/model.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/model.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/pkgconfig.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/pkgconfig.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/recompiler.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/recompiler.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/setuptools_ext.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/setuptools_ext.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/vengine_cpy.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/vengine_cpy.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/vengine_gen.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/vengine_gen.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/verifier.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/__pycache__/verifier.cpython-39.pyc
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi/_cffi_errors.h
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi/_cffi_include.h
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi/_embedding.h
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/api.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/backend_ctypes.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/cffi_opcode.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/commontypes.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/cparser.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/error.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/ffiplatform.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/lock.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/model.py
+-rw-rw-r--	root/root	usr/lib/python3.9/site-packages/cffi/parse_c_type.h
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/pkgconfig.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/recompiler.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/setuptools_ext.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/vengine_cpy.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/vengine_gen.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cffi/verifier.py
diff --git a/python3-cffi/.signature b/python3-cffi/.signature
new file mode 100644
index 000000000..f31aebd73
--- /dev/null
+++ b/python3-cffi/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/opt.pub
+RWSE3ohX2g5d/VMf+gB8cxk76L7TLruuJv/YxBATN8tsUyxhIXA72PJIYAtQZyfRaxRKC0iXHbJeqecQ3aFDx3J6DuJ0jO1m3wA=
+SHA256 (Pkgfile) = a7bd67c9f48c69fb9b9d7c0aff50ed8e857e2012504319cfb0e9f9a35500641a
+SHA256 (.footprint) = b8c65c59b13a156acb3e94ef58cb7354805911e6fdf427ea1322c3dc4cdd7414
+SHA256 (cffi-1.14.5.tar.gz) = fd78e5fee591709f32ef6edb9a015b4aa1a5022598e36227500c8f4e02328d9c
diff --git a/python3-cffi/Pkgfile b/python3-cffi/Pkgfile
new file mode 100644
index 000000000..920ef528d
--- /dev/null
+++ b/python3-cffi/Pkgfile
@@ -0,0 +1,15 @@
+# Description: Foreign Function Interface for Python calling C code.
+# URL: http://cffi.readthedocs.org/
+# Maintainer: Danny Rawlins, crux at romster dot me
+# Depends on: python3-pycparser
+
+name=python3-cffi
+version=1.14.5
+release=1
+source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
+
+build() {
+	cd ${name#*-}-$version
+	/usr/bin/python3 setup.py build
+	/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
+}


More information about the crux-commits mailing list