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
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to