mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
devel/pycdc: New port: Python bytecode disassembler and decompiler
NOTE: pycdc is also known as Decompyle++. Decompyle++ aims to translate compiled Python byte-code back into valid and human-readable Python source code. While other projects have achieved this with varied success, Decompyle++ is unique in that it seeks to support byte-code from any version of Python. Decompyle++ includes both a byte-code disassembler (pycdas) and a decompiler (pycdc). https://github.com/zrax/pycdc PR: 280659
This commit is contained in:
committed by
Vladimir Druzenko
parent
733203af7d
commit
3b5336de74
@@ -0,0 +1,28 @@
|
||||
PORTNAME= pycdc
|
||||
DISTVERSION= g20240806
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= tiago.gasiba@gmail.com
|
||||
COMMENT= Python bytecode disassembler and decompiler
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= bash:shells/bash
|
||||
|
||||
USES= cmake shebangfix
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= zrax
|
||||
GH_TAGNAME= 48d1bfa
|
||||
|
||||
SHEBANG_FILES= tests/all_tests.sh \
|
||||
tests/decompyle_test.sh
|
||||
|
||||
PLIST_FILES= bin/pycdas \
|
||||
bin/pycdc
|
||||
|
||||
do-test:
|
||||
cd ${BUILD_WRKSRC} && ninja check
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1722986793
|
||||
SHA256 (zrax-pycdc-g20240806-48d1bfa_GH0.tar.gz) = 9cf11b5ed82f0527335bd83eb08f1c74c82430fa909d7168d9aabda651ab2d2a
|
||||
SIZE (zrax-pycdc-g20240806-48d1bfa_GH0.tar.gz) = 365803
|
||||
@@ -0,0 +1,9 @@
|
||||
NOTE: pycdc is also known as Decompyle++
|
||||
|
||||
Decompyle++ aims to translate compiled Python byte-code back into valid
|
||||
and human-readable Python source code. While other projects have achieved
|
||||
this with varied success, Decompyle++ is unique in that it seeks to
|
||||
support byte-code from any version of Python.
|
||||
|
||||
Decompyle++ includes both a byte-code disassembler (pycdas) and a
|
||||
decompiler (pycdc).
|
||||
Reference in New Issue
Block a user