[MacPorts] #47687: python portgroup should not auto-create ${destroot}${prefix}/share/doc/${subport}/examples

MacPorts noreply at macports.org
Sat May 9 01:43:47 PDT 2015


#47687: python portgroup should not auto-create
${destroot}${prefix}/share/doc/${subport}/examples
---------------------------+--------------------------
  Reporter:  ryandesign@…  |      Owner:  ryandesign@…
      Type:  enhancement   |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.99
Resolution:                |   Keywords:
      Port:  python        |
---------------------------+--------------------------

Comment (by petr@…):

 This change is (obviously) fine for me. Anyway, once we touch this, I
 would propose to also consider the following changes:

 * We should introduce a preset variable/option with the correct location
 of the doc and example directory. This should also help to enforce the
 "correct location". I myself usually use something like this in my
 Portfiles `set dest_doc ${destroot}${prefix}/share/doc/${subport}`.
 * We should audit ports for the correct location. I observed some
 inconsistencies.
 * We could use something like a `create_docdir` option to influence the
 behavior. If this defaults to `yes`, we should have a quite smooth
 migration path and can make the changes in the portgroup and the port
 audit independently.

-- 
Ticket URL: <https://trac.macports.org/ticket/47687#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list