Opened 3 years ago

Closed 15 months ago

#62981 closed defect (fixed)

octave: use Python 3.x or drop Python dependency

Reported by: Schamschula (Marius Schamschula) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: wrohv, mascguy (Christopher Nielsen)
Port: octave

Description

While checking which ports still need Python2.7, I found octave had the following in the Portfile:

# in configure.ac, listed as one of "[p]rograms used when running Octave"
depends_lib-append port:python27
configure.python ${prefix}/bin/python2.7

The octave build apparently doesn't use Python (neither FreeBSD FreshPorts nor Homebrew call out Python).

Locally, I tested a build using Python3.9.

However, Python really should be a depends_run dependency, if at all.

Note: The configure script does find, in trace mode, the macOS version of Python if the above lines are commented out.

Change History (3)

comment:1 Changed 2 years ago by wrohv

Cc: wrohv added

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 15 months ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.