From: Peter Volkov <pva@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Calling unknown commands in an ebuild
Date: Mon, 08 Feb 2010 13:18:03 +0300 [thread overview]
Message-ID: <1265624283.5916.484.camel@tablet> (raw)
In-Reply-To: <201002072124.49047.vapier@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
В Вск, 07/02/2010 в 21:24 -0500, Mike Frysinger пишет:
> it might also be useful to add a default epatch() to the initial env that
> would be clobbered when the inherit occurred.
> epatch() { die "you need to inherit eutils.eclass to use epatch" ; }
After fixing breakage that was introduced by dropping inherit eutils
from distutils.eclass I think we must have such thing. But one function
just covers most common case while we need to cover all cases. What
about pregenerating env file with script like in attachment?
$ awk -f generate-die-eclass-env /usr/portage/eclass/*.eclass
I guess it's possible to generate such env file on server side and make
portage use it if file exists... Opinions?
--
Peter.
[-- Attachment #2: generate-die-eclass-env --]
[-- Type: application/x-awk, Size: 338 bytes --]
next prev parent reply other threads:[~2010-02-08 10:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-07 21:10 [gentoo-dev] Calling unknown commands in an ebuild Stelian Ionescu
2010-02-07 22:19 ` Zac Medico
2010-02-08 0:56 ` Stelian Ionescu
2010-02-08 1:45 ` Tomas Touceda
2010-02-08 2:24 ` Mike Frysinger
2010-02-08 7:48 ` Rémi Cardona
2010-02-08 10:18 ` Peter Volkov [this message]
2010-02-08 2:22 ` Mike Frysinger
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=1265624283.5916.484.camel@tablet \
--to=pva@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