Gentoo Archives: gentoo-dev

From: Luca Barbato <lu_zero@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball
Date: Tue, 17 Jul 2007 08:03:12
Message-Id: 469C7681.5030401@gentoo.org
In Reply to: Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball by Marius Mauch
1 Marius Mauch wrote:
2 > On Tue, 17 Jul 2007 07:25:02 +0300
3 > Alin Năstac <mrness@g.o> wrote:
4 >
5 >> I was asked to discuss here a portage enhancement proposed by me [1].
6 >>
7 >> Basically I need a pkg_create() that will be executed only in the
8 >> context of the upcoming "ebuild ${PF}.ebuild create" command.
9 >>
10 >> The package where I need it is app-mobilephone/bitpim. The upstream
11 >> doesn't offer a source tarball, so I need to construct it myself from
12 >> their svn repository. Up till recently, I used some hackery in
13 >> pkg_setup() to create it
14 >> (see the ebuild), but now "ebuild $PF.ebuild setup" verify the digest
15 >> before running pkg_setup().
16 >>
17 >> [1] http://bugs.gentoo.org/show_bug.cgi?id=185567
18 >
19 > Two questions:
20 > - are there more packages that could benefit from this?
21
22 ffmpeg, mplayer, libdvdread, mlt...
23
24 > - is there a particular reason this has to be integrated into the
25 > ebuild and should not be handled by an ordinary script?
26
27 overall nicer
28
29 lu
30
31 --
32
33 Luca Barbato
34
35 Gentoo/linux Gentoo/PPC
36 http://dev.gentoo.org/~lu_zero
37 --
38 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball Elias Probst <mail@×××××××××××.eu>