[MacPorts] #60868: port lint PortGroup false alarm when "PortGroup" appears in string
MacPorts
noreply at macports.org
Fri Jul 17 12:41:51 UTC 2020
#60868: port lint PortGroup false alarm when "PortGroup" appears in string
----------------------------+--------------------
Reporter: essandess | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Keywords: lint PortGroup | Port:
----------------------------+--------------------
port lint produces a false alarm when the word {{{PortGroup}}} appears in
a string.
Example Portfile: https://github.com/macports/macports-
ports/blob/fe68b73c76d793aa022455ac4f84a4e0d5ca2083/graphics/opencv4/Portfile
{{{
---> Verifying Portfile for opencv4
Error: Line 59 repeats inclusion of PortGroup make
}}}
But line 59 has {{{PortGroup}}} as a string: https://github.com/macports
/macports-
ports/blob/fe68b73c76d793aa022455ac4f84a4e0d5ca2083/graphics/opencv4/Portfile#L59
{{{
ui_error "\n\ngithub PortGroup: Error: \${worksrcpath} does
not exist after extracting distfiles. This might indicate that the author
or project is different than set in the Portfile due to a rename at
GitHub. Please examine the extracted directory in ${workpath} and try to
correct the Portfile by either changing the author or project or adding
the worksrcdir option with the correct directory name.\n"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60868>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list