[MacPorts] #69563: aria2 @1.37.0_4+docs: can't read "python.version": no such variable

MacPorts noreply at macports.org
Fri Mar 22 04:44:42 UTC 2024


#69563: aria2 @1.37.0_4+docs: can't read "python.version": no such variable
---------------------------+-------------------------
  Reporter:  ShadSterling  |      Owner:  Schamschula
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.1
Resolution:                |   Keywords:
      Port:  aria2         |
---------------------------+-------------------------

Comment (by jmroot):

 Since `python.version` is not a pre-existing global variable when the
 variant runs, you have to declare it global or it will go out of scope at
 the end of the variant block. The pre-configure code is of course saved
 and run later as a separate procedure.

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


More information about the macports-tickets mailing list