git: 943bf0341d58 - main - devel/decompyle3: Add decompyle3 3.9.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 17:21:35 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=943bf0341d58b1081523d53439c0ad6b5dfb2784 commit 943bf0341d58b1081523d53439c0ad6b5dfb2784 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-08-04 16:43:51 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-08-04 17:13:49 +0000 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. --- devel/Makefile | 1 + devel/decompyle3/Makefile | 25 +++++++++++++++++++++++++ devel/decompyle3/distinfo | 3 +++ devel/decompyle3/pkg-descr | 5 +++++ 4 files changed, 34 insertions(+) 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.