Unifying Python Ports

Joshua Root jmr at macports.org
Sat Aug 13 13:14:54 PDT 2011


On 2011-8-14 06:09 , Blair Zajac wrote:
> 
> On Aug 11, 2011, at 11:35 AM, Joshua Root wrote:
> 
>> On 2011-8-12 03:51 , Jeremy Lavergne wrote:
>>> As we unify python packages, will things depending on python2.4 packages 
>>> need the dependency name changed?
>>> * py-some_py -> py24-some_py
>>> * py-some_py -> py${python.version}-some_py
>>>
>>> Otherwise, depending on py-some_py will go to the python.default_version
>>> for the package, which is likely the py27 subport.
>>
>> Yes, dependents should be be updated. But you shouldn't be changing the
>> default version where there was a pre-existing python24 version. The
>> default is 24 precisely for backward compatibility.
> 
> Is there a search that you can do like this:
> 
> port list maintainer:blair (something that finds all dependents matching py-*)

Not sure exactly what you're wanting? One of these maybe?

port echo depends:py-foo

port echo depends:py-foo and maintainer:blair

port echo depends:py- and maintainer:blair

- Josh


More information about the macports-dev mailing list