Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254009 - sys-apps/portage-2.1.6.4 depclean wants remove dev-python/pycrypto
Summary: sys-apps/portage-2.1.6.4 depclean wants remove dev-python/pycrypto
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 20:21 UTC by Toralf Förster
Modified: 2009-01-07 04:41 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 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.