Opened 13 years ago
Closed 13 years ago
#32058 closed defect (fixed)
ipe-tools: python variants fail to select the correct python version
Reported by: | dbevans (David B. Evans) | Owned by: | m.thon@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | ipe-tools |
Description
As noted by ryandesign following the most recent commit, specifying a dependency on a particular flavor of python module is not sufficient to ensure that the corresponding python interpreter is invoked.
In this case, as is, the python script svgtoipe begins with the line
#!/usr/bin/env python
which may resolve to any installed MacPorts version or the system installed version depending on which is currently selected as the default.
The attached patch files propose to fix the problem by patching svgtoipe to use the specific path to the desired python version based on the variant selected.
In addition, a tentative fix for the currently broken livecheck function is included (based on my understanding of how the port's version number is determined -- please correct if I am wrong).
If you like, I can commit the patch based on your approval and/or modifications.
Attachments (2)
Change History (3)
Changed 13 years ago by dbevans (David B. Evans)
Attachment: | patch-ipe-tools.diff added |
---|
Changed 13 years ago by dbevans (David B. Evans)
Attachment: | patch-svgtoipe-python_path.diff added |
---|
Corresponding additional patchfile
comment:1 Changed 13 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r87500, maintainer timeout.
Proposed patch for Portfile