spe for Python 2.7?

Ryan Schmidt ryandesign at macports.org
Thu Mar 22 10:18:51 PDT 2012


On Mar 22, 2012, at 10:41, Dave Curtis wrote:

> On Mar 22, 2012, at 12:30 AM, Ryan Schmidt wrote:
> 
>> Yes, it looks like the spe portfile declares dependencies on py26 modules. I don't know if it would work with the equivalent py27 modules. You could modify the portfile and try it out. If it does, then perhaps the port could be updated to use py27 modules, or to provide the user the choice (with variants). You could file an enhancement request in the issue tracker. If you can attach a patch, even better. (This port does not have a maintainer.)
> 
> I'm willing to give it a shot, but I'll need a clue or two.
> If I make the dependencies py-foo instead of py27-foo then  they should be satisfied by the py27 components on my system, correct?

Yes. I also see this port uses the python26 portgroup (at the top of the portfile) so that should change to python27 as well.

> Do I have to create a local portfile repository, or will port run a portfile from cwd?

You can copy the spe port's directory anywhere, edit the portfile, cd to the directory in the terminal, and type "sudo port install" (without specifying a port name) and it will use the port in the current directory.



More information about the macports-users mailing list