ports/devel/decompyle3/Makefile
Po-Chuan Hsieh 943bf0341d
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.
2024-08-05 01:13:49 +08:00

25 lines
821 B
Makefile

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>