New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15226 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

python25 PortGroup variables are incorrect

Reported by: xunil@… Owned by: jmr@…
Priority: Normal Milestone: MacPorts 1.7.0
Component: base Version: 1.6.0
Keywords: Cc:
Port:

Description

The python.include predefined variable is incorrect in the python25-1.0 PortGroup definition. It expands to:

  ${prefix}/include/python/2.5

But the correct location for python include files (at least, for 2.5) is:

  ${prefix}/include/python2.5

Additionally it seems that the PortGroup could use another predefined variable, perhaps called python.libdir (python.lib is already taken as the location of libpython2.5.dylib), which would expand to:

  ${prefix}/lib/python2.5

I'll attach a patch to the python25-1.0.tcl PortGroup definition.

Attachments

patch-python25-1.0.tcl (447 bytes) - added by xunil@… 5 years ago.
Patch to python25 PortGroup definition, resolves incorrect setting for python.include; adds python.libdir

Change History

Changed 5 years ago by xunil@…

Patch to python25 PortGroup definition, resolves incorrect setting for python.include; adds python.libdir

comment:1 Changed 5 years ago by jmr@…

  • Cc jmr@… added
  • Milestone changed from MacPorts base bugs to MacPorts 1.6.1

Need to get this into the next release. (Or #14553, which would enable updating portgroups independent of base releases.) The python24 and python30 portgroups also need this fix, except their variables need to point to the directories under ${prefix}/Library/Frameworks/Python.framework/Versions/.

comment:2 Changed 5 years ago by jmr@…

  • Cc jmr@… removed
  • Owner changed from macports-tickets@… to jmr@…
  • Status changed from new to assigned

comment:3 Changed 5 years ago by jmr@…

Fixed in trunk for all python portgroups by r37336.

comment:4 Changed 5 years ago by raimue@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Marking fixed, targeted for 1.7.0.

Note: See TracTickets for help on using tickets.