Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 254009

Summary: sys-apps/portage-2.1.6.4 depclean wants remove dev-python/pycrypto
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2009-01-06 20:21:55 UTC
but that package is a dependency for portage itself :

n22 ~ # equery d dev-python/pycrypto
[ Searching for packages depending on dev-python/pycrypto... ]
sys-apps/portage-2.1.6.4 (!build? >=dev-python/pycrypto-2.0.1-r6)

(OTOH depclean is much more useable nowadays than - say months - before).


Reproducible: Always
Comment 1 Nick Fortino 2009-01-07 02:14:31 UTC
This is perfectly valid. equery doesn't actually check that the dependency is needed, just whether it is in the ebuild. From the portage ebuild:
PDEPEND="
        !build? (
                >=net-misc/rsync-2.6.4
                userland_GNU? ( >=sys-apps/coreutils-6.4 )
                || ( >=dev-lang/python-2.5 >=dev-python/pycrypto-2.0.1-r6 )
        )"

Assuming you have python-2.5, pycrpto is not needed.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-07 04:41:15 UTC
As you can see, "equery depends" does not always give very precise information. The best source for checking dependencies still are the corresponding ebuilds.