After seeing this discussed on here - using an SQL database for Portage - I decided to take this on as a project. (I had to pause for a bit to learn how to program a web page so I could share it with the world.) It's still a bit rough, and there's a few things it doesn't do yet. What it does do is scan every ebuild in /usr/portage and put all the info, including description, homepage, and depends, in a MySQL database. A second program, when written, will be responsible for marking what is and is not installed. By itself, it's not very useful, but it can be used by a package management program which uses the database as a backend, including depends based on current use flags.
It does, of course, take a while to run this program.
Anyone interested can look at http://www.simons-rock.edu/~marshal/projects/portage2sql/
Check out <portagesql.breakmygentoo.net>
-- Andrew Gaffney
-- [EMAIL PROTECTED] mailing list