List Archive: gentoo-dev
On Tue, 15 Jul 2008 19:12:37 +0100
Ciaran McCreesh <ciaran.mccreesh@...> wrote:
> On Tue, 15 Jul 2008 04:14:18 +0200
> Marius Mauch <genone@g.o> wrote:
> > As a result of Cardoes earlier mail we talked a bit about possible
> > solutions in #gento-portage, and I suggested to let portage
> > automatically inject the deps based on SRC_URI pattern matching.
> > A mapping of extensions and their unpack deps would be kept in the
> > tree (e.g. mapping '.tar.bz2' to '( app-arch/tar app-arch/bzip2 )'
>
> Could do it just as an eclass...
>
> inherit work-out-my-unpack-deps-for-me
>
> In principle, there's nothing that can't be done on the ebuild side
> here.
Right, just I'd expect the parsing of SRC_URI (with conditionals) to be
a bit tricky in bash, not something I'm going to work on. An
eclass-based solution would have a few benefits though wrt the metadata
cache.
Marius
--
gentoo-dev@g.o mailing list
|
|