#29899: Updates to the OLA Portfile --------------------------------+------------------------------------------- Reporter: nomis52@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch maintainer Port: ola | --------------------------------+------------------------------------------- Comment(by macsforever2000@…): Replying to [comment:5 nomis52@…]:
I don't quite understand the python problem. Do you mind explaining it or pointing to a port in a similar situation?
The problem is that the variant needs to depend on a specific version of python otherwise the port will depend on a random version of python and if that version is uninstalled, then ola +python will not work. So what needs to be changed is that variants must be added for each version of python supported. For example, python26, python27, python31, etc. At least supporting python26 and python27 at first would be good enough. Then add dependencies based on the specific version of python. Finally, you need to specify the directory(s) for the python library(s) based on the version of python. Many ports do this, but you can look at the mesa or qgis ports for an example. I hope that's clear. I think follow-ups should move to the macports-developers mailing list though. -- Ticket URL: <https://trac.macports.org/ticket/29899#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS