[MacPorts] #66498: octave python27 dependency

MacPorts noreply at macports.org
Sun Dec 18 00:45:18 UTC 2022


#66498: octave python27 dependency
--------------------------+---------------------------------
  Reporter:  Schamschula  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  octave       |
--------------------------+---------------------------------
Description changed by Schamschula:

Old description:

> When I saw https://trac.macports.org/ticket/66299 I was reminded of the
> {{{python27}}} dependency in the octave Portfile.
>
> The upstream documentation does not mention Python:
>
> https://docs.octave.org/latest/External-Packages.html
>
> So I rebuilt octave from source and kept the logfile to see if Python
> actually gets used. Indeed a file is generated:
>
> {{{/opt/local/share/octave/7.3.0/m/miscellaneous/python.m}}}
>
> This file calls {{{system (["python ", script file,...}}}
>
> In other words, {{{octave}}} doesn't care about the Python version.
>
> Indeed, I have locally built octave against {{{python3x}}} several times
> in the past.

New description:

 When I saw https://trac.macports.org/ticket/66299 I was reminded of the
 {{{python27}}} dependency in the octave Portfile.

 The upstream documentation does not mention Python:

 https://docs.octave.org/latest/External-Packages.html

 So I rebuilt octave from source and kept the logfile to see if Python
 actually gets used. A file is generated:

 {{{/opt/local/share/octave/7.3.0/m/miscellaneous/python.m}}}

 This file calls {{{system (["python ", script file,...}}}

 In other words, {{{octave}}} doesn't care about the Python version.

 Indeed, I have locally built octave against {{{python3x}}} several times
 in the past.

--

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


More information about the macports-tickets mailing list