[112518] trunk/base/src/port1.0/portlint.tcl
raimue at macports.org
raimue at macports.org
Fri Oct 25 00:34:36 PDT 2013
Revision: 112518
https://trac.macports.org/changeset/112518
Author: raimue at macports.org
Date: 2013-10-25 00:34:35 -0700 (Fri, 25 Oct 2013)
Log Message:
-----------
port1.0/portlint.tcl:
Ignore the license option on checking for hardcoded versions
Modified Paths:
--------------
trunk/base/src/port1.0/portlint.tcl
Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl 2013-10-25 06:43:10 UTC (rev 112517)
+++ trunk/base/src/port1.0/portlint.tcl 2013-10-25 07:34:35 UTC (rev 112518)
@@ -272,6 +272,7 @@
if {!$hashline
&& ![regexp {^\s*PortSystem|^\s*PortGroup|^\s*version} $line]
&& ![regexp {^\s*[A-Za-z0-9_]+\.setup} $line]
+ && ![regexp {^\s*license} $line]
&& [string first [option version] $line] != -1} {
ui_warn "Line $lineno seems to hardcode the version number, consider using \${version} instead"
incr warnings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131025/4ed85683/attachment.html>
More information about the macports-changes
mailing list