[aur-general] How to handle interchangeable dependencies?

Allan McRae allan at archlinux.org
Mon Apr 6 07:27:46 EDT 2009


hollunder at gmx.at wrote:
> Hi there.
> I'm looking for a clean way to handle packages that can replace others.
> Examples:
> lash can be substituted by lash-git, it works fine, except namcap
> complains:
>
> hydrogen-svn E: Dependency detected and not included (lash-git) from
> files ['usr/bin/hydrogen']
> hydrogen-svn W: Dependency included and not needed (lash)
>
> Adding 'lash' or 'lash=0.6.0' to the provides array of lash-git doesn't
> help.
> I have the same situation with for example jack-audio-connection-kit
> where we have quite a number of different packages that all provide the
> same basic functionality and are interchangeable.
>
> Note that it mostly works with provides, it just isn't clean and there
> are cases where it can break stuff.
> Is there a solution to this?
>   

I think this is more a limitation in namcap than your package.  I think 
a bug report for namcap would be appropriate.

Allan





More information about the aur-general mailing list