Bug 265430

Summary: devel/cgit: package still depends on python 3.8
Product: Ports & Packages Reporter: Julien Dessaux <julien.dessaux>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Many People CC: grahamperrin, lwhsu, tatsuki_makino
Priority: --- Flags: lwhsu: maintainer-feedback?
Version: Latest   
Hardware: Any   
OS: Any   

Description Julien Dessaux 2022-07-25 09:00:26 UTC
When installing cgit from packages, the bundled python scripts are looking for python 3.8 in their shebangs:
- /usr/local/lib/cgit/filters/html-converters/man2html
- /usr/local/lib/cgit/filters/syntax-highlighting.py

The installation is therefore broken.

Installing from ports does not have this problem, it sets python 3.9 as expected.
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-07-26 02:11:24 UTC
Please edit the summary line here to have this prefix: 

devel/cgit:
Comment 2 Tatsuki Makino 2022-07-27 08:42:48 UTC
This problem is probably because USES=python has the argument env. So I think poudriere has excluded it from the rebuild.
Elsewhere, it seems that RUN_DEPENDS for scripts installed in filters is missing. also bash, lua...