New port: devel/py-itanium_demangler

The Python Itanium Demangler is a pure Python parser for the Itanium C++
ABI symbol mangling language. Note that MSVC mangling language is not
supported.

This demangler generates an abstract syntax tree from mangled symbols,
which can be used for directly extracting type information, as opposed to
having to interpret the C++ source code corresponding to the demangled
symbol.

There is also a built-in AST stringifier, so the demangler can be used
as a replacement for c++filt or for formatting backtraces.

WWW: https://github.com/whitequark/python-itanium_demangler

PR:		244562
This commit is contained in:
Mateusz Piotrowski 2020-03-08 16:31:18 +00:00
parent 1e97750795
commit c5603efaac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528053
4 changed files with 37 additions and 0 deletions

View file

@ -4480,6 +4480,7 @@
SUBDIR += py-iso8601
SUBDIR += py-isodate
SUBDIR += py-isort
SUBDIR += py-itanium_demangler
SUBDIR += py-iterpipes
SUBDIR += py-itypes
SUBDIR += py-jaraco

View file

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= itanium_demangler
DISTVERSION= 1.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Pure Python parser for mangled itanium symbols
LICENSE= BSD0CLAUSE
LICENSE_NAME= 0-clause BSD
LICENSE_FILE= ${WRKSRC}/README.md
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1583574437
SHA256 (itanium_demangler-1.0.tar.gz) = bca0fae4cb0ad582a3c7ede97d66b325d13445fdf87c28947233d8559430967c
SIZE (itanium_demangler-1.0.tar.gz) = 6882

View file

@ -0,0 +1,11 @@
The Python Itanium Demangler is a pure Python parser for the Itanium C++ ABI
symbol mangling language. Note that MSVC mangling language is not supported.
This demangler generates an abstract syntax tree from mangled symbols, which
can be used for directly extracting type information, as opposed to having
to interpret the C++ source code corresponding to the demangled symbol.
There is also a built-in AST stringifier, so the demangler can be used
as a replacement for c++filt or for formatting backtraces.
WWW: https://github.com/whitequark/python-itanium_demangler