I couldn't succeed in doing something like 'emerge -p <package> | update-world'. By the way, in the first post, in the green code text you forgot '-p'.
I was trying:
Code: Select all
emerge -p coreutils | update-world.sh
Your script says:
Code: Select all
No arguments supplied. If you're piping from the emerge command (emerge -p <package> | update-world), this is fine. Otherwise, cancel and type 'update-world --help' for usage information.
Error: Invalid Command.
Run 'update-world --help' for usage.
The output in between would be:
Code: Select all
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-devel/automake-1.10.1 [1.10]
[ebuild N ] app-arch/lzma-utils-4.32.6 USE="-nocxx"
[ebuild U ] sys-apps/coreutils-6.10-r2 [6.9-r1] USE="-vanilla%"
The emergelist is empty and it didn't even ask me if I wanted to overwrite (well it could have been that it asked me once, I said no, and it still wiped but didnt put in the new stuff).
Last of all, while I appreciate your work, I'm a bit worried you didn't enhance the already existing pye script, or more importantly that this kind of functionality still is missing from standard portage (allthough paludis apparently has it).