diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /python/py-cppheaderparser | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'python/py-cppheaderparser')
| -rw-r--r-- | python/py-cppheaderparser/.footprint | 17 | ||||
| -rw-r--r-- | python/py-cppheaderparser/.signature | 6 | ||||
| -rw-r--r-- | python/py-cppheaderparser/MAKEPKG | 39 |
3 files changed, 62 insertions, 0 deletions
diff --git a/python/py-cppheaderparser/.footprint b/python/py-cppheaderparser/.footprint new file mode 100644 index 0000000..b43696c --- /dev/null +++ b/python/py-cppheaderparser/.footprint @@ -0,0 +1,17 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python3.14/ +drwxr-xr-x root/root usr/lib/python3.14/site-packages/ +drwxr-xr-x root/root usr/lib/python3.14/site-packages/CppHeaderParser/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/CppHeaderParser/CppHeaderParser.py +-rw-r--r-- root/root usr/lib/python3.14/site-packages/CppHeaderParser/__init__.py +drwxr-xr-x root/root usr/lib/python3.14/site-packages/CppHeaderParser/doc/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/CppHeaderParser/doc/CppHeaderParser.html +drwxr-xr-x root/root usr/lib/python3.14/site-packages/CppHeaderParser/examples/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/CppHeaderParser/examples/SampleClass.h +-rwxr-xr-x root/root usr/lib/python3.14/site-packages/CppHeaderParser/examples/readSampleClass.py +drwxr-xr-x root/root usr/lib/python3.14/site-packages/cppheaderparser-2.7.4.dist-info/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/cppheaderparser-2.7.4.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.14/site-packages/cppheaderparser-2.7.4.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.14/site-packages/cppheaderparser-2.7.4.dist-info/WHEEL +-rw-r--r-- root/root usr/lib/python3.14/site-packages/cppheaderparser-2.7.4.dist-info/top_level.txt diff --git a/python/py-cppheaderparser/.signature b/python/py-cppheaderparser/.signature new file mode 100644 index 0000000..41b799f --- /dev/null +++ b/python/py-cppheaderparser/.signature @@ -0,0 +1,6 @@ +RWTZ9IduCSQ/mLH93oEEMkuRmdlstZIQtfrqv3BBX7UxYQxGSGiNN6/O0q5IjP0wJky2TwrAaMzFOSOOI0aI3iYBhNfqukzH0g0= + +SHA256 (MAKEPKG) = a30ecf0d419076223cde858592f5bf5e542cfb102c5a1f10dc0f91d55f8c3f7d +SHA256 (.footprint) = d3c5f696db864e6ca4aba04e3408e3d0ef8975711d5fcb4e04d8d3b20d2d9055 +SHA256 (CppHeaderParser-2.7.4.tar.gz) = 382b30416d95b0a5e8502b214810dcac2a56432917e2651447d3abe253e3cc42 +SHA256 (py-cppheaderparser#2.7.4-3.pkg.tar.gz) = 282d54f1c4311b3028588a5a97ab72b674be229e2ced2a8cfaa0494a835cd026 diff --git a/python/py-cppheaderparser/MAKEPKG b/python/py-cppheaderparser/MAKEPKG new file mode 100644 index 0000000..07b4e8a --- /dev/null +++ b/python/py-cppheaderparser/MAKEPKG @@ -0,0 +1,39 @@ +#!/bin/mkpkg +# description: Parse C++ header files and generate a data structure representing the class +# url: http://senexcanis.com/open-source/cppheaderparser/ + +name=py-cppheaderparser +_name=CppHeaderParser +version=2.7.4 +release=3 +depends=(python3) +makedeps=(py-installer py-setuptools py-build py-wheel) +source=(https://files.pythonhosted.org/packages/source/c/cppheaderparser/$_name-$version.tar.gz) + +sha256sums=( + "382b30416d95b0a5e8502b214810dcac2a56432917e2651447d3abe253e3cc42" +) + +build() { + cd $_name-$version + + # Build wheel via PEP 517 frontend (backend from pyproject.toml) + /usr/bin/python3 -m build --no-isolation --wheel + + _pyver=$(/usr/bin/python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")') + _sitedir="$PKG/usr/lib/python${_pyver}/site-packages" + + install -dm755 "$_sitedir" + /usr/bin/python3 -m installer --no-compile-bytecode --destdir "$PKG" --prefix /usr dist/*.whl + + find "$_sitedir" -type d \( -name tests -o -name test \) -prune -exec rm -rf {} + + find "$_sitedir" -name "*.exe" -delete +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh + |
