[pacman-dev] Alternative dependencies.

Ray Rashif schivmeister at gmail.com
Fri Dec 10 15:23:04 EST 2010

On 11 December 2010 02:31, Kaiting Chen <kaitocracy at gmail.com> wrote:
> On Fri, Dec 10, 2010 at 9:58 AM, Xyne <xyne at archlinux.ca> wrote:
>> Hi,
>> Would it be possible to implement support for alternative dependencies,
>> e.g. a
>> package that could use either wget or curl to handle downloads?
> What kind of Arch user doesn't have both wget AND curl? Blasphemy.
> Okay, to be serious here I see where you're coming from but I don't know if
> there are quite enough packages in the repository that would benefit for
> this to be worth it. Any move that looks like Gentooification I think should
> be done very carefully after much consideration. --Kaiting.

Well, yeah, portage does have this feature IIRC. But that doesn't mean it's bad.

Anyway, fortunately most of the OR cases are optdepends, and as it is
(not) implemented currently, it can be as simple as:

'foo: for xyz, or'
'foo: for xyz'

Instead of:

'foo: for xyz'
'foo: for xyz'

Which I see a lot, but aren't necessarily AND optdepends.


More information about the pacman-dev mailing list