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

Bug 438252

Summary: net-dns/bind should depend on dev-python/argparse if python use flag is enabled
Product: Gentoo Linux Reporter: Florian Schmaus <flow>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal CC: python, slawomir.nizio
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian Schmaus gentoo-dev 2012-10-13 18:43:29 UTC
From USE="phython" emerge =net-dns/bind-9.9.2

checking for Exuberant Ctags etags... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python
checking python module 'argparse'... no found
configure: error: python 'argparse' module not supported


Reproducible: Always
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2012-10-13 22:11:07 UTC
Fixed in CVS. Thanks!
Comment 2 SÅ‚awomir Nizio 2012-10-14 10:45:25 UTC
It shouldn't be strictly needed with Python 2.7 because this version provides argparse itself [1]. (So does 3.2, as far as I can see.) Python 2.6 doesn't, however - not sure if it's what you have.

[1] http://docs.python.org/dev/whatsnew/2.7.html
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2012-10-14 16:36:04 UTC
(In reply to comment #2)
> It shouldn't be strictly needed with Python 2.7 because this version
> provides argparse itself [1]. (So does 3.2, as far as I can see.) Python 2.6
> doesn't, however - not sure if it's what you have.
> 
> [1] http://docs.python.org/dev/whatsnew/2.7.html

If that is the case then the Python guys should add a virtual for it.