From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add matplotlib. Date: Sun, 30 Nov 2014 18:00:03 +0100 Message-ID: <87lhmspqss.fsf@gnu.org> References: <877fydvhs8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xv7r1-0004om-Ev for guix-devel@gnu.org; Sun, 30 Nov 2014 12:00:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xv7qv-0000RJ-VI for guix-devel@gnu.org; Sun, 30 Nov 2014 12:00:11 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:44284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xv7qv-0000Nj-PM for guix-devel@gnu.org; Sun, 30 Nov 2014 12:00:05 -0500 In-Reply-To: (Federico Beffa's message of "Sun, 30 Nov 2014 17:01:02 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel Federico Beffa skribis: > On Sat, Nov 29, 2014 at 10:05 PM, Ludovic Court=C3=A8s wro= te: >> What happens is that =E2=80=98package-with-python2=E2=80=99 automaticall= y generates >> python2 variants of the dependencies of the package you give it. So >> (package-with-python2 python-matplotlib) generates a package with an >> input that is exactly (package-with-python2 python-numpydoc), hence with >> #:tests? #t. > > Oh, I see. Wouldn't it be better if, for each input, > 'pyckage-with-python2' would check if in (gnu packages python) a > variable with prefix 'python2-' is defined and, in case it is, use > that variable instead of constructing new package? No, I think this is not desirable. Variable names are for us humans, and programs shouldn=E2=80=99t try to guess what=E2=80=99s meant by browsin= g module name spaces. Thanks, Ludo=E2=80=99.