Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202424 - net-analyzer/nmap doesn't require dev-python/pysqlite with python 2.5
Summary: net-analyzer/nmap doesn't require dev-python/pysqlite with python 2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-15 21:54 UTC by Giacomo Perale
Modified: 2008-06-19 19:29 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 Giacomo Perale 2007-12-15 21:54:18 UTC
The recently bumped ebuild for net-analyzer/nmap-4.50 has a forced dep to dev-python/pysqlite, however pysqlite is needed only with python 2.4; python 2.5 in fact includes the sqlite support (see: http://seclists.org/nmap-dev/2007/q4/0321.html).

The ebuild should be fixed to require pysqlite only if there's python 2.4 installed; with python 2.5, it should check that python was compiled with the 'sqlite' flag enabled and fail otherwise.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2007-12-16 10:01:14 UTC
Fixed in CVS.  Thanks for this helpful suggestion.
Comment 2 Reinhard Biegel 2008-06-19 19:29:06 UTC
I have compiled python 2.5.2-r4 without sqlite useflag. emerge of nmap-4.65 gives me:

 * In order to use the nmap GUI you have to either emerge dev-lang/python
 * with the 'sqlite' USE flag, or install dev-python/pysqlite-2*

So why not pull in pysqlite as a dependency if sqlite useflag is missing for python?