depends_run should ignore +/- universal?!

Joshua Root jmr at macports.org
Thu Jan 22 02:17:42 PST 2015


On 2015-1-22 20:49 , René J.V. Bertin wrote:
> How does MacPorts' version comparison work, btw? Does it only account for decimal points as version level separators or does it try to be more versatile than that?

Like this:
<https://trac.macports.org/browser/trunk/base/src/pextlib1.0/vercomp.c#L47>

It's close to what RPM does but not exactly the same.
<http://rpm5.org/docs/api/dependencies.html>
(relevant paragraph is about a quarter of the way down, starting with
"The algorithm that RPM uses to determine the version ordering of
packages").

- Josh


More information about the macports-dev mailing list