On Tuesday 17 July 2007, Marius Mauch wrote:
> Alin Năstac <[EMAIL PROTECTED]> wrote:
> > I was asked to discuss here a portage enhancement proposed by me [1].
> >
> > Basically I need a pkg_create() that will be executed only in the
> > context of the upcoming "ebuild ${PF}.ebuild create" command.
> >
> > The package where I need it is app-mobilephone/bitpim. The upstream
> > doesn't offer a source tarball, so I need to construct it myself from
> > their svn repository. Up till recently, I used some hackery in
> > pkg_setup() to create it
> > (see the ebuild), but now "ebuild $PF.ebuild setup" verify the digest
> > before running pkg_setup().
> >
> > [1] http://bugs.gentoo.org/show_bug.cgi?id=185567
>
> Two questions:
> - are there more packages that could benefit from this?
> - is there a particular reason this has to be integrated into the
> ebuild and should not be handled by an ordinary script?i'll have to ponder for a while, but in the past, i could have made use of something like this ... lacking it, i had hand written scripts to do it for me. every case where i needed this though it was a similar situation -- upstream did not provide a release, but did provide SCM access. actually, netpbm is another example of where this could be utilized as they only tag releases in their svn, not roll tarballs ... -mike
signature.asc
Description: This is a digitally signed message part.
