On Sat, Dec 5, 2009 at 4:14 PM, Ray Rashif <schivmeister@gmail.com> wrote:
2009/12/5 Ionut Biru <ibiru@archlinux.org>
On 12/05/2009 02:35 PM, Stefan Husmann wrote:
Ionut Biru schrieb:
On 12/05/2009 01:46 AM, Ray Rashif wrote:
2) How are cross-repository buildtime and optional dependencies
handled? For example, can we have a package in [extra] makedepend and/or optdepend on another in [community]?
no. all packages that depend has the be in the same repo.
Well, that cannot be true. There are lots of packages in extra that (make-)depend on packages in core, and packages in community that (make-)depend on packages in core or extra. Only the other way around is forbidden. Read the "->" as "may deliver (make-)dependencies for" core -> extra -> community
Regards Stefan
thanks for explaining better. what i wanted to say is that a package from core can't depend on o package from extra or community. or a package from extra cannont dependend on one from community.
he asked that exact type of dependency and that's why i said is not allowed.
Yes, correct, that's exactly what I wanted to know. In terms of dependencies, it's obvious they have to be in the same repo since a user may want to just use one. But what I was concerned about was makedepends and optdepends, since they don't affect the user when he downloads the binary.
-- GPG/PGP ID: B42DDCAD
For makedepends applies the same, though if you search carefully you'll find some package which don't follow this rule of thumb if I'm correct. An example would be if a makedepends of a core package would bring a shitload of packages to core. Either way, these cases are really rare and when come up they should be discussed what the best course of action would be in that particular caes. Ronald