summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-03-08 16:31:18 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-03-08 16:31:18 +0000
commitc5603efaac4e463f91f3d1d24ae05c15a3212ff6 (patch)
tree6dc854c9a4c885a5dc1daa5683fdd56964520517
parentRemove net-p2p/libtorrent-rasterbar11: It's not used any more (diff)
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
Notes
Notes: svn path=/head/; revision=528053
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-itanium_demangler/Makefile22
-rw-r--r--devel/py-itanium_demangler/distinfo3
-rw-r--r--devel/py-itanium_demangler/pkg-descr11
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 06403a1987bd..b2206acf8259 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/py-itanium_demangler/Makefile b/devel/py-itanium_demangler/Makefile
new file mode 100644
index 000000000000..b520fda5b079
--- /dev/null
+++ b/devel/py-itanium_demangler/Makefile
@@ -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>
diff --git a/devel/py-itanium_demangler/distinfo b/devel/py-itanium_demangler/distinfo
new file mode 100644
index 000000000000..285a8aa2d440
--- /dev/null
+++ b/devel/py-itanium_demangler/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1583574437
+SHA256 (itanium_demangler-1.0.tar.gz) = bca0fae4cb0ad582a3c7ede97d66b325d13445fdf87c28947233d8559430967c
+SIZE (itanium_demangler-1.0.tar.gz) = 6882
diff --git a/devel/py-itanium_demangler/pkg-descr b/devel/py-itanium_demangler/pkg-descr
new file mode 100644
index 000000000000..886679c1de30
--- /dev/null
+++ b/devel/py-itanium_demangler/pkg-descr
@@ -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