diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-03-06 17:12:31 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-03-06 17:12:31 +0000 |
commit | 29de1ad9856ad58e07e6c4a132b5be00b0304bc0 (patch) | |
tree | 69d791d654fd3e24af4cb510904b77bd9aaf3673 /devel | |
parent | c6df823fb953ca882d2e1d1a7bf689b936928064 (diff) | |
download | FreeBSD-ports-29de1ad9856ad58e07e6c4a132b5be00b0304bc0.zip FreeBSD-ports-29de1ad9856ad58e07e6c4a132b5be00b0304bc0.tar.gz |
add decompyle 2.2.b1
Python byte-code decompiler
PR: 35595
Submitted by: Hye-Shik Chang <perky@fallin.lv>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/decompyle/Makefile | 30 | ||||
-rw-r--r-- | devel/decompyle/distinfo | 1 | ||||
-rw-r--r-- | devel/decompyle/pkg-comment | 1 | ||||
-rw-r--r-- | devel/decompyle/pkg-descr | 8 | ||||
-rw-r--r-- | devel/decompyle/pkg-plist | 31 |
6 files changed, 72 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index eab7d8d..8d2907b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -116,6 +116,7 @@ SUBDIR += cxref SUBDIR += dbregc SUBDIR += ddd + SUBDIR += decompyle SUBDIR += devtodo SUBDIR += dia2code SUBDIR += diffconvert diff --git a/devel/decompyle/Makefile b/devel/decompyle/Makefile new file mode 100644 index 0000000..418634f --- /dev/null +++ b/devel/decompyle/Makefile @@ -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> diff --git a/devel/decompyle/distinfo b/devel/decompyle/distinfo new file mode 100644 index 0000000..674fcd5 --- /dev/null +++ b/devel/decompyle/distinfo @@ -0,0 +1 @@ +MD5 (decompyle-2.2beta1.tar.gz) = 2c7f9bdc85740295500509344e5eb9c5 diff --git a/devel/decompyle/pkg-comment b/devel/decompyle/pkg-comment new file mode 100644 index 0000000..5187212 --- /dev/null +++ b/devel/decompyle/pkg-comment @@ -0,0 +1 @@ +Python byte-code decompiler diff --git a/devel/decompyle/pkg-descr b/devel/decompyle/pkg-descr new file mode 100644 index 0000000..1516f2e --- /dev/null +++ b/devel/decompyle/pkg-descr @@ -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/ diff --git a/devel/decompyle/pkg-plist b/devel/decompyle/pkg-plist new file mode 100644 index 0000000..a818ebc --- /dev/null +++ b/devel/decompyle/pkg-plist @@ -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 |