[MacPorts] #14031: port lint should check for whitespace before/after variant descriptions

MacPorts trac at macosforge.org
Tue Jan 22 03:43:13 PST 2008


#14031: port lint should check for whitespace before/after variant descriptions
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  enhancement              |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts base enhancements           
Component:  base                     |     Version:  1.7.0                                
 Keywords:                           |  
-------------------------------------+--------------------------------------
 The syntax of variant descriptions lends itself to being written
 incorrectly, resulting in unintended whitespace before or after the
 description.

 Wrong:

 {{{
 variant foo description { foodesc } {
     ...
 }
 variant bar description " bardesc " {
     ...
 }
 }}}

 Right:

 {{{
 variant foo description {foodesc} {
     ...
 }
 variant bar description "bardesc" {
     ...
 }
 }}}

 `port lint` should warn of whitespace before or after a variant
 description.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14031>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list