Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438252 - net-dns/bind should depend on dev-python/argparse if python use flag is enabled
Summary: net-dns/bind should depend on dev-python/argparse if python use flag is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-13 18:43 UTC by Florian Schmaus
Modified: 2012-10-14 16:36 UTC (History)
2 users (show)

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 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.