On 20:25 Tue 15 Jul , Ciaran McCreesh wrote: > On Tue, 15 Jul 2008 12:23:08 -0700 > Donnie Berkholz <[EMAIL PROTECTED]> wrote: > > Could someone explain why manually doing work is better than > > automatically detecting the deps? This sounds like an argument > > against automation, and I'm not following it. > > Sometimes the magic will be wrong. For example, packages that have > a .zip file in SRC_URI but that don't unpack that file (say, if they > install it into sharedir as-is instead) don't need a dep upon unzip.
Indeed, that is a great argument for the RESTRICT. I wonder how many packages do this? To get a quick idea, I did this grep: grep '\.zip' /usr/portage/*/*/*ebuild \ | grep -v -e http -e ftp -e mirror -e unpack -e SRC_URI -e unzip It produced a reasonable number of results, and I didn't investigate further. -- Thanks, Donnie Donnie Berkholz Developer, Gentoo Linux Blog: http://dberkholz.wordpress.com
pgpo1vLZKbpiP.pgp
Description: PGP signature