Created attachment 252550 [details] git patch I would like to add pycdc to the ports tree. NOTE: I have disabled the optimization in the CMakeFiles.txt, otherwise the program crashes with segmentation fault for some tests. This is something I will be reporting upstream. This also happens if I compile the software under Linux; therefore, this is not FreeBSD-specific issue, but rather a problem upstream (my best guess is UB in code).
(In reply to gatekeeper from comment #0) https://github.com/zrax/pycdc/issues/486
Created attachment 252562 [details] git patch Fix copy-paste error: set license to GPLv3
Created attachment 252564 [details] git patch Update pycdc with upstream fix for UB
1. PORTVERSION=0.20240806 => DISTVERSION=g20240806 2. Why pkg-descr use name "Decompyle++", but PORTNAME=pycdc? Perhaps it is worth adding a brief explanation.
Created attachment 252571 [details] git patch Changed version, and rephrased the pkg-descr. Seems that the official name for the project is pycdc, but the authors refer to it in the readme files as Decompyle++. Therefore, also added a note illustrating just that.
Created attachment 252574 [details] git patch Reverted back the text, but just kept the note in the first line of pkg-descr
distinfo is not updated - I fixed it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b5336de74e52f5e2ac15fa8def3cfdfcd61b3e3 commit 3b5336de74e52f5e2ac15fa8def3cfdfcd61b3e3 Author: gatekeeper <tiago.gasiba@gmail.com> AuthorDate: 2024-08-06 23:59:19 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-06 23:59:19 +0000 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 devel/pycdc/Makefile (new) | 28 ++++++++++++++++++++++++++++ devel/pycdc/distinfo (new) | 3 +++ devel/pycdc/pkg-descr (new) | 9 +++++++++ 3 files changed, 40 insertions(+)
Thanks.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c6f4c98ac6e2d356aadb65767cc134e3e3f2572a commit c6f4c98ac6e2d356aadb65767cc134e3e3f2572a Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-08-10 11:32:20 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-10 11:36:27 +0000 devel/Makefile: add port devel/pycdc PR: 280659 Reported by: antoine (via email) Fixes: 3b5336de74e5 (New port: Python bytecode disassembler and decompiler) devel/Makefile | 1 + 1 file changed, 1 insertion(+)