Opened 17 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)
Change History (5)
Changed 17 years ago by xunil@…
Attachment: | patch-python25-1.0.tcl added |
---|
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|---|
Milestone: | MacPorts base bugs → 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 16 years ago by jmroot (Joshua Root)
Cc: | jmr@… removed |
---|---|
Owner: | changed from macports-tickets@… to jmr@… |
Status: | new → assigned |
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: | assigned → closed |
Marking fixed, targeted for 1.7.0.
Patch to python25 PortGroup definition, resolves incorrect setting for python.include; adds python.libdir