[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Looking for sponsor for several related packages



On Sat, Oct 12, 2002 at 11:07:00PM +0200, Roland Mas wrote:
> Kenneth Pronovici (2002-10-12 12:46:00 -0500) :
> >    libsort-versions-perl
> 
> From a very selfish point of view, I'd like to ask whether this module
> has a function to compare versions with the exact same algorithm dpkg
> uses (upstream, debian revision, and characters such as + and ~
> located where they belong in the ordering sequence).  If so, then I'd
> be happy to sponsor that one (my use for it is a package currently
> using a compare_versions() subroutine that runs dpkg through system(),
> which is, well, yuk).

libapt-pkg-perl gives you AptPkg::Version, which has a compare() method.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: