Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Petteri Räty
Alin Năstac kirjoitti: Marius Mauch wrote: Two questions: - are there more packages that could benefit from this? None that I know of. However, there might be other similar packages without a source tarball (slim chance, but quite possible). At first, I asked upstream to provide such

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Luca Barbato
Marius Mauch wrote: On Tue, 17 Jul 2007 07:25:02 +0300 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.

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Elias Probst
On Tuesday 17 July 2007 09:57:53 Luca Barbato wrote: Marius Mauch wrote: Two questions: - are there more packages that could benefit from this? ffmpeg, mplayer, libdvdread, mlt... Finally, this bug could be closed too, since the development in SVN is proceeded very far, but no versioned

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Ciaran McCreesh
On Tue, 17 Jul 2007 07:25:02 +0300 Alin Năstac [EMAIL PROTECTED] wrote: Basically I need a pkg_create() that will be executed only in the context of the upcoming ebuild ${PF}.ebuild create command. This isn't something that should be done in an ebuild. It's more suitable to an external script

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Jan Kundrát
Alin Năstac wrote: The upstream doesn't offer a source tarball, so I need to construct it myself from their svn repository. If you're creating a live ebuild, there are already existing eclasses that works from the user's POV. If your aim is to create an ebuild for a specific version, you might

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Stelian Ionescu
On Tue, Jul 17, 2007 at 09:41:04AM +0300, Petteri Räty wrote: Alin Năstac kirjoitti: Marius Mauch wrote: Two questions: - are there more packages that could benefit from this? None that I know of. However, there might be other similar packages without a source tarball (slim chance, but

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Alin Năstac
Jan Kundrát wrote: Alin Năstac wrote: The upstream doesn't offer a source tarball, so I need to construct it myself from their svn repository. If you're creating a live ebuild, there are already existing eclasses that works from the user's POV. I'm not speaking about live

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Luca Barbato
Ciaran McCreesh wrote: On Tue, 17 Jul 2007 07:25:02 +0300 Alin Năstac [EMAIL PROTECTED] wrote: Basically I need a pkg_create() that will be executed only in the context of the upcoming ebuild ${PF}.ebuild create command. This isn't something that should be done in an ebuild. It's more

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Vlastimil Babka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan Kundrát wrote: Alin Năstac wrote: The upstream doesn't offer a source tarball, so I need to construct it myself from their svn repository. If your aim is to create an ebuild for a specific version, you might as well checkout stuff yourself

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Alin Năstac
Luca Barbato wrote: I'm not sure how many special cases/option would be necessary for such script, like exclude dir, one tar per dir and so on. The process of creating the tarball is quite specific to the package in question, therefore you cannot make an universal function that does that.

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Luca Barbato
Alin Năstac wrote: Luca Barbato wrote: I'm not sure how many special cases/option would be necessary for such script, like exclude dir, one tar per dir and so on. The process of creating the tarball is quite specific to the package in question, therefore you cannot make an universal

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Mike Auty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vlastimil Babka wrote: I think he wants to do exactly that, but having the code needed for this right in the ebuild, so it can benefit from varibles like PV and versionator eclass for converting PV to e.g. CVS tags... I think it's quite elegant

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Robert Buchholz
On Tuesday, 17. July 2007 13:16, Mike Auty wrote: It also means that if a developer has had to move files around or in some way create the specific layout of the tarball for the ebuild, they won't be lost if the dev goes away, or retires, etc. So attaching the specific package creation code

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Alin Năstac
Luca Barbato wrote: My idea is to have your overlay with live ebuilds and a tool to make a release out of it. All the messy stuff remains in pkg_setup/src_unpack all you need to do then is to iterate the workdir and make tarballs of what you find there. Sounds good enough? Basically you

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Luca Barbato
Alin Năstac wrote: Luca Barbato wrote: My idea is to have your overlay with live ebuilds and a tool to make a release out of it. All the messy stuff remains in pkg_setup/src_unpack all you need to do then is to iterate the workdir and make tarballs of what you find there. Sounds good

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Donnie Berkholz
On Tue, 17 Jul 2007 06:37:43 +0200 Marius Mauch [EMAIL PROTECTED] wrote: On Tue, 17 Jul 2007 07:25:02 +0300 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

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Mike Frysinger
On Tuesday 17 July 2007, Ciaran McCreesh wrote: Alin Năstac [EMAIL PROTECTED] wrote: Basically I need a pkg_create() that will be executed only in the context of the upcoming ebuild ${PF}.ebuild create command. This isn't something that should be done in an ebuild. It's more suitable to an

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-17 Thread Mike Frysinger
On Tuesday 17 July 2007, Alin Năstac wrote: P.S: The name proposed by me isn't exactly right, as Mike already remarked on the bug. I suggest to use src_create as function name. Marius proposed src_makedist which is pretty good ... i wonder though if there may be a better prefix than src_ or

[gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-16 Thread Alin Năstac
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,

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-16 Thread Marius Mauch
On Tue, 17 Jul 2007 07:25:02 +0300 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

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-16 Thread Alin Năstac
Marius Mauch wrote: Two questions: - are there more packages that could benefit from this? None that I know of. However, there might be other similar packages without a source tarball (slim chance, but quite possible). At first, I asked upstream to provide such tarball, but I got refused

Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball

2007-07-16 Thread Mike Frysinger
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