On Mon, 22 Nov 2010 16:13:16 -0600, Dan McGee <dpmcgee@gmail.com> wrote:
On Monday, November 22, 2010, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Mon, Nov 22, 2010 at 3:58 PM, Pierre Schmitz <pierre@archlinux.de> wrote:
Maybe it would be way more portable if we would just call the vercmp binary; or maybe python has such a method built-in like PHP has.
I've used distutils.version to some success for this sort of thing. Not sure if it follows the pacman rules to the letter though
Look in the archives; we switched it on purpose and sped it up by like 10x. So calling the vercmp binary is not a great idea.
-Dan
Good to know; found that commit from two years ago. :-) I need to have a closer look at that code; there is some new stuff we need to take care of. -- Pierre Schmitz, https://users.archlinux.de/~pierre