Opened 16 years ago

Closed 16 years ago

#15226 closed defect (fixed)

python25 PortGroup variables are incorrect

Reported by: xunil@… Owned by: jmroot (Joshua Root)
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 (1)

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

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by xunil@…

Attachment: patch-python25-1.0.tcl added

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

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Milestone: MacPorts base bugsMacPorts 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 16 years ago by jmroot (Joshua Root)

Cc: jmr@… removed
Owner: changed from macports-tickets@… to jmr@…
Status: newassigned

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Fixed in trunk for all python portgroups by r37336.

comment:4 Changed 16 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

Marking fixed, targeted for 1.7.0.

Note: See TracTickets for help on using tickets.