[MacPorts] #39051: The example portfile in the "doc" folder of base should pass lint

MacPorts noreply at macports.org
Mon May 8 04:54:13 UTC 2017


#39051: The example portfile in the "doc" folder of base should pass lint
--------------------------+--------------------------------
  Reporter:  cooljeanius  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.4.1
Resolution:               |   Keywords:
      Port:  exampleport  |
--------------------------+--------------------------------
Changes (by l2dy):

 * version:  2.1.3 => 2.4.1


Old description:

> `port -v lint --nitpick` reports the following problems for
> doc/exampleport/Portfile:
> {{{
> Warning: Line 1 is missing RCS tag ($Id$)
> Warning: Variant puredarwin does not have a description
> Warning: Maintainer email address for ryandesign includes @macports.org
> Warning: no license set
> Error: Portfile parent directory doc does not match primary category
> devel
> Error: Portfile directory exampleport does not match port name glib2
> --->  2 errors and 4 warnings found.
> }}}
> Also `port lint` doesn't warn about missing modelines, but it'd probably
> be a good idea to add one.

New description:

 `port -v lint --nitpick` reports the following problems for
 doc/exampleport/Portfile:
 {{{
 --->  Verifying Portfile for glib2
 Warning: Variant puredarwin does not have a description
 Warning: Maintainer email address for ryandesign includes @macports.org
 Warning: no license set
 Error: Portfile parent directory doc does not match primary category devel
 Error: Portfile directory exampleport does not match port name glib2
 --->  2 errors and 3 warnings found.
 }}}

--

--
Ticket URL: <https://trac.macports.org/ticket/39051#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list