aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-06 17:12:31 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-06 17:12:31 +0000
commitd962fc53b500eef001c7f09437e5617fa7c1dac0 (patch)
tree003bd8d456c85879ef19cdc1610b0e747d38a3d5
parent5ca78e6531f9dcf30b62f261a59a9cf65f7fed38 (diff)
downloadports-d962fc53b500eef001c7f09437e5617fa7c1dac0.tar.gz
ports-d962fc53b500eef001c7f09437e5617fa7c1dac0.zip
Notes
-rw-r--r--devel/Makefile1
-rw-r--r--devel/decompyle/Makefile30
-rw-r--r--devel/decompyle/distinfo1
-rw-r--r--devel/decompyle/pkg-comment1
-rw-r--r--devel/decompyle/pkg-descr8
-rw-r--r--devel/decompyle/pkg-plist31
6 files changed, 72 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index eab7d8ddfb5d..8d2907bfbee9 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 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