| Summary: | dev-lang/python: Force eselect python update on upgrades | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Rick Farina (Zero_Chaos) <zerochaos> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | mgorny |
| Priority: | Normal | ||
| Version: | autobuilds | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Add ESELECT_PYTHON_UPDATE_FORCE variable
Cleanup eselect_python_update function |
||
|
Description
Rick Farina (Zero_Chaos)
2013-12-21 03:03:45 UTC
Created attachment 365792 [details, diff]
Add ESELECT_PYTHON_UPDATE_FORCE variable
Created attachment 365794 [details, diff]
Cleanup eselect_python_update function
The first patch is pretty safe. Let me know if that works for you. Did you want this on the stable ebuilds as well, or does ~arch suffice?
Also, I would like to apply this second cleanup patch, but it is a little risky. If you could do me a favor and run it through a stage1 build when you have some time that would be most appreciated.
Optionally, we could use PYTHON_TARGETS to do extra safety check before switching. That is, switch only if user has appropriate target enabled. (In reply to Michał Górny from comment #3) Any details on how you would implement that? Adding python_targets to IUSE on dev-lang/python is a bit awkward. We no longer really want to use eselect-python automatically. |