Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390577 - app-portage/gentoopm-0.2.2: sorting broken with pkgcore-0.7.5+
Summary: app-portage/gentoopm-0.2.2: sorting broken with pkgcore-0.7.5+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-11-14 22:00 UTC by Michał Górny
Modified: 2012-01-22 22:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-11-14 22:00:28 UTC
In [6]: list(enumerate(pm.stack.filter('gentoopm').sorted))
Out[6]: 
[(0, PkgCoreInstallablePackage('=app-portage/gentoopm-0.2.1::gentoo-cvs')),
 (1, PkgCoreInstallablePackage('=app-portage/gentoopm-0.2.2::gentoo-cvs')),
 (2, PkgCoreInstallablePackage('=app-portage/gentoopm-9999::mgorny')),
 (3, PkgCoreInstallablePackage('=app-portage/gentoopm-0.1.6')),
 (4, PkgCoreInstallablePackage('=app-portage/gentoopm-0.2.1'))]

(Expected like:
[(0, PortageCPV('=app-portage/gentoopm-0.1.6::gentoo')),
 (1, PortageCPV('=app-portage/gentoopm-0.2.1::gentoo')),
 (2, PortageCPV('=app-portage/gentoopm-0.2.1::gentoo-cvs')),
 (3, PortageCPV('=app-portage/gentoopm-0.2.2::gentoo-cvs')),
 (4, PortageCPV('=app-portage/gentoopm-9999::mgorny'))]
)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-11-14 22:14:50 UTC
Fix in git already, now gotta do a release soon.