public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Luca Barbato <lu_zero@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball
Date: Tue, 17 Jul 2007 12:23:12 +0200	[thread overview]
Message-ID: <469C9890.4050303@gentoo.org> (raw)
In-Reply-To: <20070717105820.6de6defd@snowflake>

Ciaran McCreesh wrote:
> On Tue, 17 Jul 2007 07:25:02 +0300
> Alin Năstac <mrness@gentoo.org> 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 maintained by the appropriate herd.
> There's no point cluttering up the tree with something that is of no
> use to end users.
> 

Having something that interacts with the live eclasses gives you all you
need to end up with a good tarball with the minimal number of lines of
code. Obviously it could be a gentoolkit-dev/portage-utils script
instead of src_create/pack, since you just need to repack what the
src_unpack did in the ebuild.

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.

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2007-07-17 10:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-17  4:25 [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball Alin Năstac
2007-07-17  4:37 ` Marius Mauch
2007-07-17  5:16   ` Alin Năstac
2007-07-17  6:41     ` Petteri Räty
2007-07-17 10:15       ` Stelian Ionescu
2007-07-17 20:28     ` Mike Frysinger
2007-07-17  5:42   ` Mike Frysinger
2007-07-17  7:57   ` Luca Barbato
2007-07-17  9:33     ` Elias Probst
2007-07-17 19:30   ` Donnie Berkholz
2007-07-17  9:58 ` Ciaran McCreesh
2007-07-17 10:23   ` Luca Barbato [this message]
2007-07-17 10:30     ` Alin Năstac
2007-07-17 11:15       ` Luca Barbato
2007-07-17 17:47         ` Alin Năstac
2007-07-17 18:13           ` Luca Barbato
2007-07-17 20:26   ` Mike Frysinger
2007-07-17 10:05 ` Jan Kundrát
2007-07-17 10:17   ` Alin Năstac
2007-07-17 10:25   ` Vlastimil Babka
2007-07-17 11:16     ` Mike Auty
2007-07-17 16:46       ` Robert Buchholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=469C9890.4050303@gentoo.org \
    --to=lu_zero@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox