1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

add decompyle 2.2.b1

Python byte-code decompiler

PR:		35595
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
This commit is contained in:
Ying-Chieh Liao 2002-03-06 17:12:31 +00:00
parent 5ca78e6531
commit d962fc53b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55646
6 changed files with 72 additions and 0 deletions

View File

@ -116,6 +116,7 @@
SUBDIR += cxref
SUBDIR += dbregc
SUBDIR += ddd
SUBDIR += decompyle
SUBDIR += devtodo
SUBDIR += dia2code
SUBDIR += diffconvert

30
devel/decompyle/Makefile Normal file
View File

@ -0,0 +1,30 @@
# New ports collection makefile for: decompyle
# Date created: 7 March 2002
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
#
PORTNAME= decompyle
PORTVERSION= 2.2.b1
CATEGORIES= devel python
MASTER_SITES= http://www.goebel-consult.de/decompyle/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/g}
MAINTAINER= perky@fallin.lv
USE_PYTHON= yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,${LOCALBASE}/,,g}
DISTUTIL_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
post-patch:
${PERL} -pi -e 's,/usr/bin/env python2,${PYTHON_CMD},' \
${WRKSRC}/scripts/decompyle
do-build:
${DISTUTIL_CMD} build
do-install:
${DISTUTIL_CMD} install
.include <bsd.port.mk>

1
devel/decompyle/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (decompyle-2.2beta1.tar.gz) = 2c7f9bdc85740295500509344e5eb9c5

View File

@ -0,0 +1 @@
Python byte-code decompiler

View File

@ -0,0 +1,8 @@
'decompyle' converts Python byte-code back into equivalent Python source.
It accepts byte-code from any Python version starting with 1.5 up to 2.2
The generated source is very readable: docstrings, lists, tuples and
hashes get pretty-printed.
'decompyle' may also verify the equivalence of the generated source by
compiling it and comparing both byte-codes.
WWW: http://www.goebel-consult.de/decompyle/

31
devel/decompyle/pkg-plist Normal file
View File

@ -0,0 +1,31 @@
bin/decompyle
%%PYTHON_SITELIBDIR%%/decompyle/Parser.py
%%PYTHON_SITELIBDIR%%/decompyle/Parser.pyc
%%PYTHON_SITELIBDIR%%/decompyle/Scanner.py
%%PYTHON_SITELIBDIR%%/decompyle/Scanner.pyc
%%PYTHON_SITELIBDIR%%/decompyle/Walker.py
%%PYTHON_SITELIBDIR%%/decompyle/Walker.pyc
%%PYTHON_SITELIBDIR%%/decompyle/__init__.py
%%PYTHON_SITELIBDIR%%/decompyle/__init__.pyc
%%PYTHON_SITELIBDIR%%/decompyle/dis_15.py
%%PYTHON_SITELIBDIR%%/decompyle/dis_15.pyc
%%PYTHON_SITELIBDIR%%/decompyle/dis_16.py
%%PYTHON_SITELIBDIR%%/decompyle/dis_16.pyc
%%PYTHON_SITELIBDIR%%/decompyle/dis_20.py
%%PYTHON_SITELIBDIR%%/decompyle/dis_20.pyc
%%PYTHON_SITELIBDIR%%/decompyle/dis_21.py
%%PYTHON_SITELIBDIR%%/decompyle/dis_21.pyc
%%PYTHON_SITELIBDIR%%/decompyle/dis_22.py
%%PYTHON_SITELIBDIR%%/decompyle/dis_22.pyc
%%PYTHON_SITELIBDIR%%/decompyle/dis_files.py
%%PYTHON_SITELIBDIR%%/decompyle/dis_files.pyc
%%PYTHON_SITELIBDIR%%/decompyle/magics.py
%%PYTHON_SITELIBDIR%%/decompyle/magics.pyc
%%PYTHON_SITELIBDIR%%/decompyle/marshal_20.so
%%PYTHON_SITELIBDIR%%/decompyle/marshal_files.py
%%PYTHON_SITELIBDIR%%/decompyle/marshal_files.pyc
%%PYTHON_SITELIBDIR%%/decompyle/spark.py
%%PYTHON_SITELIBDIR%%/decompyle/spark.pyc
%%PYTHON_SITELIBDIR%%/decompyle/verify.py
%%PYTHON_SITELIBDIR%%/decompyle/verify.pyc
@dirrm %%PYTHON_SITELIBDIR%%/decompyle