Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15226 (assigned defect)

Opened 4 months ago

Last modified 3 months ago

python25 PortGroup variables are incorrect

Reported by: xunil@… Owned by: jmr@…
Priority: Normal Milestone: MacPorts 1.6.1
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@… 4 months ago.
Patch to python25 PortGroup definition, resolves incorrect setting for python.include; adds python.libdir

Change History

Changed 4 months ago by xunil@…

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

Changed 4 months 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/.

Changed 3 months ago by jmr@…

  • cc jmr@… removed
  • owner changed from macports-tickets@… to jmr@…
  • status changed from new to assigned

Changed 3 months ago by jmr@…

Fixed in trunk for all python portgroups by r37336.

Note: See TracTickets for help on using tickets.