Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290280 - Would be nice to have a @python-update set for portage
Summary: Would be nice to have a @python-update set for portage
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
Depends on:
Blocks: 144480
  Show dependency tree
Reported: 2009-10-23 19:09 UTC by Albert W. Hopkins
Modified: 2011-11-18 14:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2009-10-23 19:09:11 UTC
The newer portage has a dynamic sets system such as @installed, @world, @live-rebuild and @preserved-rebuild (although I don't trust the latter).  I was having a discussion with someone about the python-updater utility that must be run when a point release of python is updated and that's when I thought, "It would be nice if that was a dynamic set".  So instead of running python-updater which has to crawl site-packages for a list of packages to rebuild, it would already be in a dynamic set.  Though admittedly, I don't yet know how these sets work internally, it does at lease *appear* to be a more efficient way of performing a python-update.

Is this feasible, implementable, or just a stupid idea?  I would be willing to try help implement it (I know a little python) and submit a patch if someone would point me to how these sets actually work.


Reproducible: Always

Steps to Reproduce:
Comment 1 Zac Medico gentoo-dev 2009-10-23 21:43:50 UTC
As an example, you can already do something like this to rebuild all python modules built for python-2.5:

  emerge -1 /usr/lib/python2.5/site-packages