[Bug 236420] net/cgit has an error in the file /usr/local/lib/cgit/filters/syntax-highlighting.py - wrong shebang
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 9 12:40:40 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236420
Bug ID: 236420
Summary: net/cgit has an error in the file
/usr/local/lib/cgit/filters/syntax-highlighting.py -
wrong shebang
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: frank at am-knie.de
Port net/cgit has an error in the file
/usr/local/lib/cgit/filters/syntax-highlighting.py
The first line (shebang) lists an incorrect python-interpreter.
syntax-highlighting.py needs pyhton3.6 but pyhton2.7 is listed.
First line of the file syntax-highlighting.py from the port:
#!/usr/local/bin/pyhton2.7
It should be I think:
#!/usr/local/bin/python3.6
Otherwise syntax-highlighting with pygments doesn't not work and you will see
no text in cgit.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list