pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang py-uncompyle6: added version 3.2.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36369846307a
branches:  trunk
changeset: 385338:36369846307a
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Sep 20 13:48:55 2018 +0000

description:
py-uncompyle6: added version 3.2.3

A native Python cross-version decompiler and fragment decompiler. The successor
to decompyle, uncompyle, and uncompyle2.

uncompyle6 translates Python bytecode back into equivalent Python source code.
It accepts bytecodes from Python version 1.3 to version 3.7, spanning over 22
years of Python releases. We include Dropbox's Python 2.5 bytecode and some
PyPy bytecode.

diffstat:

 lang/Makefile                   |    4 +-
 lang/py-uncompyle6/ALTERNATIVES |    2 +
 lang/py-uncompyle6/DESCR        |    7 +
 lang/py-uncompyle6/Makefile     |   24 ++++
 lang/py-uncompyle6/PLIST        |  223 ++++++++++++++++++++++++++++++++++++++++
 lang/py-uncompyle6/distinfo     |    6 +
 6 files changed, 265 insertions(+), 1 deletions(-)

diffs (300 lines):

diff -r 4ca6c347cbba -r 36369846307a lang/Makefile
--- a/lang/Makefile     Thu Sep 20 13:46:52 2018 +0000
+++ b/lang/Makefile     Thu Sep 20 13:48:55 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.495 2018/09/18 20:52:11 bsiegert Exp $
+# $NetBSD: Makefile,v 1.496 2018/09/20 13:48:55 adam Exp $
 #
 
 COMMENT=       Programming languages
@@ -204,6 +204,8 @@
 SUBDIR+=       py-python-lua
 SUBDIR+=       py-pythonz
 SUBDIR+=       py-six
+SUBDIR+=       py-spark-parser
+SUBDIR+=       py-uncompyle6
 SUBDIR+=       py27-html-docs
 SUBDIR+=       py34-html-docs
 SUBDIR+=       py35-html-docs
diff -r 4ca6c347cbba -r 36369846307a lang/py-uncompyle6/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-uncompyle6/ALTERNATIVES   Thu Sep 20 13:48:55 2018 +0000
@@ -0,0 +1,2 @@
+bin/pydisassemble @PREFIX@/bin/pydisassemble-@PYVERSSUFFIX@
+bin/uncompyle6 @PREFIX@/bin/uncompyle6-@PYVERSSUFFIX@
diff -r 4ca6c347cbba -r 36369846307a lang/py-uncompyle6/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-uncompyle6/DESCR  Thu Sep 20 13:48:55 2018 +0000
@@ -0,0 +1,7 @@
+A native Python cross-version decompiler and fragment decompiler. The successor
+to decompyle, uncompyle, and uncompyle2.
+
+uncompyle6 translates Python bytecode back into equivalent Python source code.
+It accepts bytecodes from Python version 1.3 to version 3.7, spanning over 22
+years of Python releases. We include Dropbox's Python 2.5 bytecode and some
+PyPy bytecode.
diff -r 4ca6c347cbba -r 36369846307a lang/py-uncompyle6/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-uncompyle6/Makefile       Thu Sep 20 13:48:55 2018 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2018/09/20 13:48:55 adam Exp $
+
+DISTNAME=      uncompyle6-3.2.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    lang python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uncompyle6/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/rocky/python-uncompyle6
+COMMENT=       Python cross-version byte-code decompiler
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=      ${PYPKGPREFIX}-spark-parser>=1.8.5:../../lang/py-spark-parser
+DEPENDS+=      ${PYPKGPREFIX}-xdis>=3.8.4:../../devel/py-xdis
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} pydisassemble pydisassemble-${PYVERSSUFFIX} && \
+               ${MV} uncompyle6 uncompyle6-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4ca6c347cbba -r 36369846307a lang/py-uncompyle6/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-uncompyle6/PLIST  Thu Sep 20 13:48:55 2018 +0000
@@ -0,0 +1,223 @@
+@comment $NetBSD: PLIST,v 1.1 2018/09/20 13:48:55 adam Exp $
+bin/pydisassemble-${PYVERSSUFFIX}
+bin/uncompyle6-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/uncompyle6/__init__.py
+${PYSITELIB}/uncompyle6/__init__.pyc
+${PYSITELIB}/uncompyle6/__init__.pyo
+${PYSITELIB}/uncompyle6/bin/__init__.py
+${PYSITELIB}/uncompyle6/bin/__init__.pyc
+${PYSITELIB}/uncompyle6/bin/__init__.pyo
+${PYSITELIB}/uncompyle6/bin/pydisassemble.py
+${PYSITELIB}/uncompyle6/bin/pydisassemble.pyc
+${PYSITELIB}/uncompyle6/bin/pydisassemble.pyo
+${PYSITELIB}/uncompyle6/bin/uncompile.py
+${PYSITELIB}/uncompyle6/bin/uncompile.pyc
+${PYSITELIB}/uncompyle6/bin/uncompile.pyo
+${PYSITELIB}/uncompyle6/disas.py
+${PYSITELIB}/uncompyle6/disas.pyc
+${PYSITELIB}/uncompyle6/disas.pyo
+${PYSITELIB}/uncompyle6/linenumbers.py
+${PYSITELIB}/uncompyle6/linenumbers.pyc
+${PYSITELIB}/uncompyle6/linenumbers.pyo
+${PYSITELIB}/uncompyle6/main.py
+${PYSITELIB}/uncompyle6/main.pyc
+${PYSITELIB}/uncompyle6/main.pyo
+${PYSITELIB}/uncompyle6/parser.py
+${PYSITELIB}/uncompyle6/parser.pyc
+${PYSITELIB}/uncompyle6/parser.pyo
+${PYSITELIB}/uncompyle6/parsers/__init__.py
+${PYSITELIB}/uncompyle6/parsers/__init__.pyc
+${PYSITELIB}/uncompyle6/parsers/__init__.pyo
+${PYSITELIB}/uncompyle6/parsers/astnode.py
+${PYSITELIB}/uncompyle6/parsers/astnode.pyc
+${PYSITELIB}/uncompyle6/parsers/astnode.pyo
+${PYSITELIB}/uncompyle6/parsers/parse13.py
+${PYSITELIB}/uncompyle6/parsers/parse13.pyc
+${PYSITELIB}/uncompyle6/parsers/parse13.pyo
+${PYSITELIB}/uncompyle6/parsers/parse14.py
+${PYSITELIB}/uncompyle6/parsers/parse14.pyc
+${PYSITELIB}/uncompyle6/parsers/parse14.pyo
+${PYSITELIB}/uncompyle6/parsers/parse15.py
+${PYSITELIB}/uncompyle6/parsers/parse15.pyc
+${PYSITELIB}/uncompyle6/parsers/parse15.pyo
+${PYSITELIB}/uncompyle6/parsers/parse2.py
+${PYSITELIB}/uncompyle6/parsers/parse2.pyc
+${PYSITELIB}/uncompyle6/parsers/parse2.pyo
+${PYSITELIB}/uncompyle6/parsers/parse21.py
+${PYSITELIB}/uncompyle6/parsers/parse21.pyc
+${PYSITELIB}/uncompyle6/parsers/parse21.pyo
+${PYSITELIB}/uncompyle6/parsers/parse22.py
+${PYSITELIB}/uncompyle6/parsers/parse22.pyc
+${PYSITELIB}/uncompyle6/parsers/parse22.pyo
+${PYSITELIB}/uncompyle6/parsers/parse23.py
+${PYSITELIB}/uncompyle6/parsers/parse23.pyc
+${PYSITELIB}/uncompyle6/parsers/parse23.pyo
+${PYSITELIB}/uncompyle6/parsers/parse24.py
+${PYSITELIB}/uncompyle6/parsers/parse24.pyc
+${PYSITELIB}/uncompyle6/parsers/parse24.pyo
+${PYSITELIB}/uncompyle6/parsers/parse25.py
+${PYSITELIB}/uncompyle6/parsers/parse25.pyc
+${PYSITELIB}/uncompyle6/parsers/parse25.pyo
+${PYSITELIB}/uncompyle6/parsers/parse26.py
+${PYSITELIB}/uncompyle6/parsers/parse26.pyc
+${PYSITELIB}/uncompyle6/parsers/parse26.pyo
+${PYSITELIB}/uncompyle6/parsers/parse27.py
+${PYSITELIB}/uncompyle6/parsers/parse27.pyc
+${PYSITELIB}/uncompyle6/parsers/parse27.pyo
+${PYSITELIB}/uncompyle6/parsers/parse3.py
+${PYSITELIB}/uncompyle6/parsers/parse3.pyc
+${PYSITELIB}/uncompyle6/parsers/parse3.pyo
+${PYSITELIB}/uncompyle6/parsers/parse30.py
+${PYSITELIB}/uncompyle6/parsers/parse30.pyc
+${PYSITELIB}/uncompyle6/parsers/parse30.pyo
+${PYSITELIB}/uncompyle6/parsers/parse31.py
+${PYSITELIB}/uncompyle6/parsers/parse31.pyc
+${PYSITELIB}/uncompyle6/parsers/parse31.pyo
+${PYSITELIB}/uncompyle6/parsers/parse32.py
+${PYSITELIB}/uncompyle6/parsers/parse32.pyc
+${PYSITELIB}/uncompyle6/parsers/parse32.pyo
+${PYSITELIB}/uncompyle6/parsers/parse33.py
+${PYSITELIB}/uncompyle6/parsers/parse33.pyc
+${PYSITELIB}/uncompyle6/parsers/parse33.pyo
+${PYSITELIB}/uncompyle6/parsers/parse34.py
+${PYSITELIB}/uncompyle6/parsers/parse34.pyc
+${PYSITELIB}/uncompyle6/parsers/parse34.pyo
+${PYSITELIB}/uncompyle6/parsers/parse35.py
+${PYSITELIB}/uncompyle6/parsers/parse35.pyc
+${PYSITELIB}/uncompyle6/parsers/parse35.pyo
+${PYSITELIB}/uncompyle6/parsers/parse36.py
+${PYSITELIB}/uncompyle6/parsers/parse36.pyc
+${PYSITELIB}/uncompyle6/parsers/parse36.pyo
+${PYSITELIB}/uncompyle6/parsers/parse37.py
+${PYSITELIB}/uncompyle6/parsers/parse37.pyc
+${PYSITELIB}/uncompyle6/parsers/parse37.pyo
+${PYSITELIB}/uncompyle6/scanner.py
+${PYSITELIB}/uncompyle6/scanner.pyc
+${PYSITELIB}/uncompyle6/scanner.pyo
+${PYSITELIB}/uncompyle6/scanners/__init__.py
+${PYSITELIB}/uncompyle6/scanners/__init__.pyc
+${PYSITELIB}/uncompyle6/scanners/__init__.pyo
+${PYSITELIB}/uncompyle6/scanners/pypy27.py
+${PYSITELIB}/uncompyle6/scanners/pypy27.pyc
+${PYSITELIB}/uncompyle6/scanners/pypy27.pyo
+${PYSITELIB}/uncompyle6/scanners/pypy32.py
+${PYSITELIB}/uncompyle6/scanners/pypy32.pyc
+${PYSITELIB}/uncompyle6/scanners/pypy32.pyo
+${PYSITELIB}/uncompyle6/scanners/pypy35.py
+${PYSITELIB}/uncompyle6/scanners/pypy35.pyc
+${PYSITELIB}/uncompyle6/scanners/pypy35.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner13.py
+${PYSITELIB}/uncompyle6/scanners/scanner13.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner13.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner14.py
+${PYSITELIB}/uncompyle6/scanners/scanner14.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner14.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner15.py
+${PYSITELIB}/uncompyle6/scanners/scanner15.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner15.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner2.py
+${PYSITELIB}/uncompyle6/scanners/scanner2.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner2.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner21.py
+${PYSITELIB}/uncompyle6/scanners/scanner21.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner21.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner22.py
+${PYSITELIB}/uncompyle6/scanners/scanner22.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner22.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner23.py
+${PYSITELIB}/uncompyle6/scanners/scanner23.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner23.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner24.py
+${PYSITELIB}/uncompyle6/scanners/scanner24.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner24.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner25.py
+${PYSITELIB}/uncompyle6/scanners/scanner25.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner25.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner26.py
+${PYSITELIB}/uncompyle6/scanners/scanner26.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner26.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner27.py
+${PYSITELIB}/uncompyle6/scanners/scanner27.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner27.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner3.py
+${PYSITELIB}/uncompyle6/scanners/scanner3.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner3.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner30.py
+${PYSITELIB}/uncompyle6/scanners/scanner30.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner30.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner31.py
+${PYSITELIB}/uncompyle6/scanners/scanner31.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner31.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner32.py
+${PYSITELIB}/uncompyle6/scanners/scanner32.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner32.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner33.py
+${PYSITELIB}/uncompyle6/scanners/scanner33.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner33.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner34.py
+${PYSITELIB}/uncompyle6/scanners/scanner34.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner34.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner35.py
+${PYSITELIB}/uncompyle6/scanners/scanner35.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner35.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner36.py
+${PYSITELIB}/uncompyle6/scanners/scanner36.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner36.pyo
+${PYSITELIB}/uncompyle6/scanners/scanner37.py
+${PYSITELIB}/uncompyle6/scanners/scanner37.pyc
+${PYSITELIB}/uncompyle6/scanners/scanner37.pyo
+${PYSITELIB}/uncompyle6/scanners/tok.py
+${PYSITELIB}/uncompyle6/scanners/tok.pyc
+${PYSITELIB}/uncompyle6/scanners/tok.pyo
+${PYSITELIB}/uncompyle6/semantics/__init__.py
+${PYSITELIB}/uncompyle6/semantics/__init__.pyc
+${PYSITELIB}/uncompyle6/semantics/__init__.pyo
+${PYSITELIB}/uncompyle6/semantics/aligner.py
+${PYSITELIB}/uncompyle6/semantics/aligner.pyc
+${PYSITELIB}/uncompyle6/semantics/aligner.pyo
+${PYSITELIB}/uncompyle6/semantics/check_ast.py
+${PYSITELIB}/uncompyle6/semantics/check_ast.pyc
+${PYSITELIB}/uncompyle6/semantics/check_ast.pyo
+${PYSITELIB}/uncompyle6/semantics/consts.py
+${PYSITELIB}/uncompyle6/semantics/consts.pyc
+${PYSITELIB}/uncompyle6/semantics/consts.pyo
+${PYSITELIB}/uncompyle6/semantics/customize.py
+${PYSITELIB}/uncompyle6/semantics/customize.pyc
+${PYSITELIB}/uncompyle6/semantics/customize.pyo
+${PYSITELIB}/uncompyle6/semantics/customize3.py
+${PYSITELIB}/uncompyle6/semantics/customize3.pyc
+${PYSITELIB}/uncompyle6/semantics/customize3.pyo
+${PYSITELIB}/uncompyle6/semantics/fragments.py
+${PYSITELIB}/uncompyle6/semantics/fragments.pyc
+${PYSITELIB}/uncompyle6/semantics/fragments.pyo
+${PYSITELIB}/uncompyle6/semantics/helper.py
+${PYSITELIB}/uncompyle6/semantics/helper.pyc
+${PYSITELIB}/uncompyle6/semantics/helper.pyo
+${PYSITELIB}/uncompyle6/semantics/linemap.py
+${PYSITELIB}/uncompyle6/semantics/linemap.pyc
+${PYSITELIB}/uncompyle6/semantics/linemap.pyo
+${PYSITELIB}/uncompyle6/semantics/make_function.py
+${PYSITELIB}/uncompyle6/semantics/make_function.pyc
+${PYSITELIB}/uncompyle6/semantics/make_function.pyo
+${PYSITELIB}/uncompyle6/semantics/parser_error.py
+${PYSITELIB}/uncompyle6/semantics/parser_error.pyc
+${PYSITELIB}/uncompyle6/semantics/parser_error.pyo
+${PYSITELIB}/uncompyle6/semantics/pysource.py
+${PYSITELIB}/uncompyle6/semantics/pysource.pyc
+${PYSITELIB}/uncompyle6/semantics/pysource.pyo
+${PYSITELIB}/uncompyle6/show.py
+${PYSITELIB}/uncompyle6/show.pyc
+${PYSITELIB}/uncompyle6/show.pyo
+${PYSITELIB}/uncompyle6/verify.py
+${PYSITELIB}/uncompyle6/verify.pyc
+${PYSITELIB}/uncompyle6/verify.pyo
+${PYSITELIB}/uncompyle6/version.py
+${PYSITELIB}/uncompyle6/version.pyc
+${PYSITELIB}/uncompyle6/version.pyo
diff -r 4ca6c347cbba -r 36369846307a lang/py-uncompyle6/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-uncompyle6/distinfo       Thu Sep 20 13:48:55 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/09/20 13:48:55 adam Exp $
+
+SHA1 (uncompyle6-3.2.3.tar.gz) = 46a63450b2dd140a147d82792f4c6f4efc6264b4
+RMD160 (uncompyle6-3.2.3.tar.gz) = a574487b748f33b5968f8567eeab58d3f660022a
+SHA512 (uncompyle6-3.2.3.tar.gz) = d90c645c7a5720418af74c4d592c8a3149d2fff35145334cd1ef5730c5dac3969388e954e1923095770fc080ca93cc36d4776644d2a82f22e28560ee0ccb5461
+Size (uncompyle6-3.2.3.tar.gz) = 1611159 bytes



Home | Main Index | Thread Index | Old Index