Topological sorting of perl modules

Joshua Root jmr at macports.org
Wed Aug 13 02:54:24 PDT 2014


On 2014-8-13 18:38 , Mojca Miklavec wrote:
> Hi,
> 
> I would like to get a topologically sorted list of perl modules.
> 
> (Ideally sorted by the number of dependencies first, then
> alphabetically, but always making sure that all dependencies are
> listed before any other module depending on them. Alternatively sort
> by the number of ports depending on a particular module.)

This does a lot of what you want:

<https://trac.macports.org/browser/contrib/mpab/chroot-scripts/genportlist.tcl>

> PS/Off-topic: what's the proper way to talk about MacPorts in English?
> "MacPorts is" or "MacPorts are"? (wxWidgets is / are)

MacPorts is generally treated as a singular proper noun.

- Josh


More information about the macports-dev mailing list