diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-06 17:12:31 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-06 17:12:31 +0000 |
commit | d962fc53b500eef001c7f09437e5617fa7c1dac0 (patch) | |
tree | 003bd8d456c85879ef19cdc1610b0e747d38a3d5 /devel/decompyle | |
parent | 5ca78e6531f9dcf30b62f261a59a9cf65f7fed38 (diff) | |
download | ports-d962fc53b500eef001c7f09437e5617fa7c1dac0.tar.gz ports-d962fc53b500eef001c7f09437e5617fa7c1dac0.zip |
Notes
Diffstat (limited to 'devel/decompyle')
-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 |
5 files changed, 71 insertions, 0 deletions
diff --git a/devel/decompyle/Makefile b/devel/decompyle/Makefile new file mode 100644 index 000000000000..418634ff9d5a --- /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 000000000000..674fcd53c026 --- /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 000000000000..51872128c8e9 --- /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 000000000000..1516f2e693a7 --- /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 000000000000..a818ebc3f9d7 --- /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 |