From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KhWKA-0000xb-Or for garchives@archives.gentoo.org; Sun, 21 Sep 2008 21:18:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA483E053E; Sun, 21 Sep 2008 21:18:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9C0E4E053E for ; Sun, 21 Sep 2008 21:18:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 75056B49E1 for ; Sun, 21 Sep 2008 21:18:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.793 X-Spam-Level: X-Spam-Status: No, score=-0.793 required=5.5 tests=[AWL=0.739, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, RCVD_NUMERIC_HELO=2.067] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kC8w44qTPavm for ; Sun, 21 Sep 2008 21:18:26 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 57B7BB4A3E for ; Sun, 21 Sep 2008 21:18:24 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KhWJv-0001xE-8M for gentoo-dev@gentoo.org; Sun, 21 Sep 2008 21:18:19 +0000 Received: from 82.152.208.249 ([82.152.208.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Sep 2008 21:18:19 +0000 Received: from slong by 82.152.208.249 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Sep 2008 21:18:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Steve Long Subject: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI Date: Sun, 21 Sep 2008 22:10:02 +0100 Message-ID: References: <18646.17986.821510.192980@a1ihome1.kph.uni-mainz.de> <8cd1ed20809211030w74725bb1qd60482d5fa7bfce2@mail.gmail.com> <18646.38777.205043.568794@a1ihome1.kph.uni-mainz.de> <18646.45711.173931.589892@a1ihome1.kph.uni-mainz.de> 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82.152.208.249 User-Agent: KNode/0.10.9 Sender: news X-Archives-Salt: 3b4381f2-9732-4bcd-8d8b-5c1e418e6673 X-Archives-Hash: a631e748a36c84e02a9c86266a834d7c Ulrich Mueller wrote: >>>>>> On Sun, 21 Sep 2008, Steve Long wrote: > >> That works for that specific case, yes, but it's still not a general >> solution, which is what BASH arrays were invented for. For instance, >> an ebuild author cannot specifically include a file with spaces, and >> ignore all the other files in the same directory. > > The better solution would be to rename a such strange files ... > How about an "edetox"? ;-) > Heh, I like the name (it brings lots of ideas to mind, none of them very achievable ;) but you get into the issue that you're changing the upstream naming, which goes against the principle of source transparency I personally love. It makes dealing with upstream projects much easier. > And I still don't see why we would need the most general solution for > a *default* function. There's always the possibility to write your own > src_install() for the few ebuilds that need it. > ? Generality for lib functions seems like a desirable attribute to me. If we handle the general case with the defaults, it means less need for anyone to write more code, allowing them to focus on the interesting stuff and keeping the tree smaller. If we never have to worry about whether the base will cope with filenames, and only about quoting our own stuff, it makes development quicker.