diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-08-04 16:43:51 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-08-04 17:13:49 +0000 |
| commit | 943bf0341d58b1081523d53439c0ad6b5dfb2784 (patch) | |
| tree | 94d8a20f0a404345d12493fe6c2deae92d52ccb4 | |
| parent | e2543b11f7c888212389ffd82775945a51ca8fd2 (diff) | |
devel/decompyle3: Add decompyle3 3.9.2
decompyle3 is a native Python cross-version decompiler and fragment decompiler.
It is a reworking of uncompyle6.
decompyle3 translates Python bytecode back into equivalent Python source code.
It accepts bytecodes from Python version 3.7 on.
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/decompyle3/Makefile | 25 | ||||
| -rw-r--r-- | devel/decompyle3/distinfo | 3 | ||||
| -rw-r--r-- | devel/decompyle3/pkg-descr | 5 |
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9cf314f5db3f..02d275285a96 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -562,6 +562,7 @@ SUBDIR += dconf SUBDIR += dconf-editor SUBDIR += debugedit + SUBDIR += decompyle3 SUBDIR += dee SUBDIR += deforaos-libsystem SUBDIR += deheader diff --git a/devel/decompyle3/Makefile b/devel/decompyle3/Makefile new file mode 100644 index 000000000000..b8ffea6894e8 --- /dev/null +++ b/devel/decompyle3/Makefile @@ -0,0 +1,25 @@ +PORTNAME= decompyle3 +PORTVERSION= 3.9.2 +CATEGORIES= devel python +MASTER_SITES= PYPI \ + https://github.com/rocky/python-uncompyle6/releases/download/${PORTVERSION}/ + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python cross-version byte-code decompiler +WWW= https://github.com/rocky/python-decompile3 + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}spark-parser>=1.8.9<1.9.0:devel/py-spark-parser@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xdis>=6.1.0<6.2.0:devel/py-xdis@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist noflavors pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/decompyle3/distinfo b/devel/decompyle3/distinfo new file mode 100644 index 000000000000..cb631735a457 --- /dev/null +++ b/devel/decompyle3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722711111 +SHA256 (decompyle3-3.9.2.tar.gz) = bf4a177c5d53bd764496709fe60ea351103efc01b921c596382af9a7ee0433f3 +SIZE (decompyle3-3.9.2.tar.gz) = 869783 diff --git a/devel/decompyle3/pkg-descr b/devel/decompyle3/pkg-descr new file mode 100644 index 000000000000..3dfb119f6f8a --- /dev/null +++ b/devel/decompyle3/pkg-descr @@ -0,0 +1,5 @@ +decompyle3 is a native Python cross-version decompiler and fragment decompiler. +It is a reworking of uncompyle6. + +decompyle3 translates Python bytecode back into equivalent Python source code. +It accepts bytecodes from Python version 3.7 on. |
