pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/py-cxxheaderparser



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Apr 17 15:45:50 UTC 2025

Added Files:
        pkgsrc/lang/py-cxxheaderparser: DESCR Makefile PLIST distinfo

Log Message:
py-cxxheaderparser: added version 1.5.0

A pure python C++ header parser that parses C++ headers in a mildly naive
manner that allows it to handle many C++ constructs, including many modern
(C++11 and beyond) features.

This is a complete rewrite of the CppHeaderParser library. CppHeaderParser is
really useful for some tasks, but it's implementation is a truly terrible ugly
hack built on top of other terrible hacks. This rewrite tries to learn from
CppHeaderParser and leave its ugly baggage behind.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-cxxheaderparser/DESCR \
    pkgsrc/lang/py-cxxheaderparser/Makefile \
    pkgsrc/lang/py-cxxheaderparser/PLIST \
    pkgsrc/lang/py-cxxheaderparser/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/lang/py-cxxheaderparser/DESCR
diff -u /dev/null pkgsrc/lang/py-cxxheaderparser/DESCR:1.1
--- /dev/null   Thu Apr 17 15:45:50 2025
+++ pkgsrc/lang/py-cxxheaderparser/DESCR        Thu Apr 17 15:45:50 2025
@@ -0,0 +1,8 @@
+A pure python C++ header parser that parses C++ headers in a mildly naive
+manner that allows it to handle many C++ constructs, including many modern
+(C++11 and beyond) features.
+
+This is a complete rewrite of the CppHeaderParser library. CppHeaderParser is
+really useful for some tasks, but it's implementation is a truly terrible ugly
+hack built on top of other terrible hacks. This rewrite tries to learn from
+CppHeaderParser and leave its ugly baggage behind.
Index: pkgsrc/lang/py-cxxheaderparser/Makefile
diff -u /dev/null pkgsrc/lang/py-cxxheaderparser/Makefile:1.1
--- /dev/null   Thu Apr 17 15:45:50 2025
+++ pkgsrc/lang/py-cxxheaderparser/Makefile     Thu Apr 17 15:45:50 2025
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2025/04/17 15:45:50 adam Exp $
+
+DISTNAME=      cxxheaderparser-1.5.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    lang python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cxxheaderparser/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/robotpy/cxxheaderparser
+COMMENT=       Parse C++ header files and generate a data structure
+LICENSE=       modified-bsd
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/py-cxxheaderparser/PLIST
diff -u /dev/null pkgsrc/lang/py-cxxheaderparser/PLIST:1.1
--- /dev/null   Thu Apr 17 15:45:50 2025
+++ pkgsrc/lang/py-cxxheaderparser/PLIST        Thu Apr 17 15:45:50 2025
@@ -0,0 +1,58 @@
+@comment $NetBSD: PLIST,v 1.1 2025/04/17 15:45:50 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/cxxheaderparser/__init__.py
+${PYSITELIB}/cxxheaderparser/__init__.pyc
+${PYSITELIB}/cxxheaderparser/__init__.pyo
+${PYSITELIB}/cxxheaderparser/__main__.py
+${PYSITELIB}/cxxheaderparser/__main__.pyc
+${PYSITELIB}/cxxheaderparser/__main__.pyo
+${PYSITELIB}/cxxheaderparser/_ply/__init__.py
+${PYSITELIB}/cxxheaderparser/_ply/__init__.pyc
+${PYSITELIB}/cxxheaderparser/_ply/__init__.pyo
+${PYSITELIB}/cxxheaderparser/_ply/lex.py
+${PYSITELIB}/cxxheaderparser/_ply/lex.pyc
+${PYSITELIB}/cxxheaderparser/_ply/lex.pyo
+${PYSITELIB}/cxxheaderparser/dump.py
+${PYSITELIB}/cxxheaderparser/dump.pyc
+${PYSITELIB}/cxxheaderparser/dump.pyo
+${PYSITELIB}/cxxheaderparser/errors.py
+${PYSITELIB}/cxxheaderparser/errors.pyc
+${PYSITELIB}/cxxheaderparser/errors.pyo
+${PYSITELIB}/cxxheaderparser/gentest.py
+${PYSITELIB}/cxxheaderparser/gentest.pyc
+${PYSITELIB}/cxxheaderparser/gentest.pyo
+${PYSITELIB}/cxxheaderparser/lexer.py
+${PYSITELIB}/cxxheaderparser/lexer.pyc
+${PYSITELIB}/cxxheaderparser/lexer.pyo
+${PYSITELIB}/cxxheaderparser/options.py
+${PYSITELIB}/cxxheaderparser/options.pyc
+${PYSITELIB}/cxxheaderparser/options.pyo
+${PYSITELIB}/cxxheaderparser/parser.py
+${PYSITELIB}/cxxheaderparser/parser.pyc
+${PYSITELIB}/cxxheaderparser/parser.pyo
+${PYSITELIB}/cxxheaderparser/parserstate.py
+${PYSITELIB}/cxxheaderparser/parserstate.pyc
+${PYSITELIB}/cxxheaderparser/parserstate.pyo
+${PYSITELIB}/cxxheaderparser/preprocessor.py
+${PYSITELIB}/cxxheaderparser/preprocessor.pyc
+${PYSITELIB}/cxxheaderparser/preprocessor.pyo
+${PYSITELIB}/cxxheaderparser/py.typed
+${PYSITELIB}/cxxheaderparser/simple.py
+${PYSITELIB}/cxxheaderparser/simple.pyc
+${PYSITELIB}/cxxheaderparser/simple.pyo
+${PYSITELIB}/cxxheaderparser/tokfmt.py
+${PYSITELIB}/cxxheaderparser/tokfmt.pyc
+${PYSITELIB}/cxxheaderparser/tokfmt.pyo
+${PYSITELIB}/cxxheaderparser/types.py
+${PYSITELIB}/cxxheaderparser/types.pyc
+${PYSITELIB}/cxxheaderparser/types.pyo
+${PYSITELIB}/cxxheaderparser/version.py
+${PYSITELIB}/cxxheaderparser/version.pyc
+${PYSITELIB}/cxxheaderparser/version.pyo
+${PYSITELIB}/cxxheaderparser/visitor.py
+${PYSITELIB}/cxxheaderparser/visitor.pyc
+${PYSITELIB}/cxxheaderparser/visitor.pyo
Index: pkgsrc/lang/py-cxxheaderparser/distinfo
diff -u /dev/null pkgsrc/lang/py-cxxheaderparser/distinfo:1.1
--- /dev/null   Thu Apr 17 15:45:50 2025
+++ pkgsrc/lang/py-cxxheaderparser/distinfo     Thu Apr 17 15:45:50 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/04/17 15:45:50 adam Exp $
+
+BLAKE2s (cxxheaderparser-1.5.0.tar.gz) = c1bf3d7dc56df2d9a5caec92f7ca6a10b3c9a530fca6d2a072bf95da2bc3e11a
+SHA512 (cxxheaderparser-1.5.0.tar.gz) = 2629dc4da86735bae5e5b818e99cbd2d67fad115aca0658a7e1bca4f5cb5a24b732b3833566ee71de723198d265d93de91addaa5597f22aea55e80b61a2a1525
+Size (cxxheaderparser-1.5.0.tar.gz) = 93022 bytes



Home | Main Index | Thread Index | Old Index