spe for Python 2.7?

Dave Curtis dave at dave-curtis.com
Thu Mar 22 09:51:16 PDT 2012


On Mar 22, 2012, at 9:37 AM, Brandon Allbery wrote:

> On Thu, Mar 22, 2012 at 12:23, Dave Curtis <dave at dave-curtis.com> wrote:
> > You should explicitly declare a dependency on py27-foo.
> 
> That doesn't seem right.  Don't I want to set up the port for spe so that it can be satisfied by *any* pyXX-foo module?  How do I do that?
> 
> Unless you have exactly one dependency, that doesn't work; you don't want it picking one py27- and one py26-, for example.

Yes, that would be bad.

>  I believe the normal way to deal with this is variants (or, for more complex situations, subports) that specify appropriately matched dependencies.

Please reconcile with this from Ryan Schmidt:

>> 
>> There only seems to be one port of spe.
> 
> And there should only be one. We provide multiple (sub)ports of python modules, but programs (like spe) that use python should only exist a single time in the tree.
> 


So Ryan says there should only be one in the tree.  What you are saying seems to be in conflict with that.  Pardon the confusion, I'm not familiar with writing portfiles.

-dave

> 
> -- 
> brandon s allbery                                      allbery.b at gmail.com
> wandering unix systems administrator (available)     (412) 475-9364 vm/sms
> 



More information about the macports-users mailing list