From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NeOMm-00080Y-Qf for garchives@archives.gentoo.org; Mon, 08 Feb 2010 07:49:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75BFAE0B31; Mon, 8 Feb 2010 07:49:03 +0000 (UTC) Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by pigeon.gentoo.org (Postfix) with ESMTP id 9B232E0AF6 for ; Mon, 8 Feb 2010 07:48:33 +0000 (UTC) Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id CF783818115 for ; Mon, 8 Feb 2010 08:48:30 +0100 (CET) Received: from [192.168.0.10] (bdv75-1-81-57-102-74.fbx.proxad.net [81.57.102.74]) by smtp3-g21.free.fr (Postfix) with ESMTP id E8C64818128 for ; Mon, 8 Feb 2010 08:48:27 +0100 (CET) Message-ID: <4B6FC1C8.70502@gentoo.org> Date: Mon, 08 Feb 2010 08:48:24 +0100 From: =?UTF-8?B?UsOpbWkgQ2FyZG9uYQ==?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Calling unknown commands in an ebuild References: <1265577010.28554.15.camel@blackhole.cddr.org> <4B6F3C7F.700@gentoo.org> <201002072124.49047.vapier@gentoo.org> In-Reply-To: <201002072124.49047.vapier@gentoo.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ba7b9059-9023-4e36-bbce-e68beec1046f X-Archives-Hash: 446fbfe0dac3e4b507bfaf61f72de204 Le 08/02/2010 03:24, Mike Frysinger a =C3=A9crit : > if we wanted to specifically target semi-common errors (and i think 'ep= atch'=20 > w/out eutils.eclass falls into this category), then a repoman check wou= ld be=20 > good. >=20 > it might also be useful to add a default epatch() to the initial env th= at=20 > would be clobbered when the inherit occurred. > epatch() { die "you need to inherit eutils.eclass to use epatch" ; } +1, that's a very good idea! I've stopped counting how many times that's happened to me. I'm sure there are other common mistakes we all do, but this particular one is a low-hanging fruit. Cheers, R=C3=A9mi