[aur-general] How to depend a pkg on two alternative packages?

Florian Bruhin me at the-compiler.org
Sat Mar 14 17:56:40 UTC 2015


* Damian Nowak <enwukaer at gmail.com> [2015-03-14 12:50:32 -0500]:
> If you maintain "pyaudio" package, you could add provides=(pygame) to it.
> 
> Then the package that you're now creating would just need to have
> depends=(pygame).

That's a bad idea. Then everything depending on pygame would consider
that dependency satisfied when pyaudio is installed, and thus break.

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20150314/18a04f60/attachment.asc>


More information about the aur-general mailing list