./lang/py-uncompyle6, Python cross-version byte-code decompiler

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.9.2, Package name: py312-uncompyle6-3.9.2, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [lang/python37] [lang/py-spark-parser] [devel/py-xdis]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 2441.426 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-07-22 07:28:31 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-uncompyle6: updated to 3.9.2

3.9.2
track xdis API changes
Bug fixes and lint
   2024-03-23 08:15:01 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-uncompyle6: updated to 3.9.1

3.9.1

Lots of changes major changes. track xdis API has changes.

Separate Phases more clearly:

disassembly
tokenization
parsing
abstracting to AST (more is done in newer projects)
printing
Although we do not decompile bytecode greater than 3.8, code supports running \ 
from up to 3.12.

Many bugs fixed.

A lot of Linting and coding style modernization.

Work done in preparation for Blackhat Asia 2024
   2023-11-05 12:49:51 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-uncompyle6: no support for Python 3.12 yet
   2023-01-16 10:27:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-uncompyle6: updated to 3.9.0

3.9.0: 2022-12-22
=================
* deparse generator expressions for Python 3.0 .. 3.2
* Python 3.0 list comprehension.
* Fix Issues
* Limited support for 3.8+ f-string "=" specifier
* Correct 2.5-7 relative import formatting
* Miscellaneous bug fixing
* remove \n in lambda
* Python 2.6 gramar cleanup
* Correct some Python 2.6 chain compare decompilation
* Ensure no parenthesis subscript slices
* Correct 2.x formatting "slice2" nonterminal
* Correct 3.7 imports
* Improve "async for" parsing
* Handle BUILD_MAP opcode
* match Python AT better
* Correct 3.7 positional args
* PyPy 3.7 and PyPy 3.8 support
* Miscellaneous linting, isorting, blacking
   2022-11-15 09:44:46 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-uncompyle6: does not support python 3.11
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS