Ciaran McCreesh a écrit :
On Fri, 9 Nov 2007 00:13:39 -0800
Donnie Berkholz <[EMAIL PROTECTED]> wrote:
PDEPEND="
        ppds? ( || (
                (
                        net-print/foomatic-filters-ppds
                        net-print/foomatic-db-ppds
                )
                net-print/foomatic-filters-ppds
                net-print/foomatic-db-ppds
                net-print/hplip
                media-gfx/gimp-print
                net-print/foo2zjs
                net-print/cups-pdf
        ) )
I'm not sure I understand this dep. Either these two packages, or
these two packages and a lot more? When would the second one ever
happen?

Looks like it's a silly hack that relies upon the resolver taking the
first available option if nothing's installed. So if the user already
has any one of the listed packages, it does nothing, otherwise it
installs the two in their own block.

Which is rather perverse, and doesn't have the desired effect anyway,
since one of the listed options could well be pulled in as an earlier
dep anyway, in which case the pair wouldn't be chosen even if the user
previously had none of those packages.


Either way, those are just runtime deps.

Wouldn't it be best to drop them from the ebuild and add an einfo printing out this list of possible driver packages and let users decide which one they are going to use?

Rémi
--
[EMAIL PROTECTED] mailing list

Reply via email to