From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Branching based on Python version (was [PATCH 2/6] gnu: add python-sqlparse and python2-sqlparse) Date: Sun, 29 May 2016 18:21:11 +0200 Message-ID: <574B16F7.1090005@crazy-compilers.com> References: <1461266395-2731-1-git-send-email-h.goebel@crazy-compilers.com> <1461266395-2731-3-git-send-email-h.goebel@crazy-compilers.com> <20160424192402.GD9128@jasmine> <87inz6ado2.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]:43059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b73Sq-0005oU-1C for guix-devel@gnu.org; Sun, 29 May 2016 12:21:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b73Sl-0001Dj-0l for guix-devel@gnu.org; Sun, 29 May 2016 12:21:19 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:33349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b73Sk-0001Dd-QU for guix-devel@gnu.org; Sun, 29 May 2016 12:21:14 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3rHlP535VZz3hk4C for ; Sun, 29 May 2016 18:21:13 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3rHlP51W7Tzvh1n for ; Sun, 29 May 2016 18:21:13 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id qR1Y1Ljdl_oV for ; Sun, 29 May 2016 18:21:12 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-93-104-104-67.dynamic.mnet-online.de [93.104.104.67]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sun, 29 May 2016 18:21:12 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id D233C60221 for ; Sun, 29 May 2016 18:15:31 +0200 (CEST) In-Reply-To: <87inz6ado2.fsf@gnu.org> 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" To: guix-devel@gnu.org Am 24.04.2016 um 23:40 schrieb Ludovic Court=C3=A8s: > (guix build python-build-system) includes =E2=80=98get-python-version=E2= =80=99, which > could be used for this purpose. I looked into this: using it is very cumbersome, since it requires `python` to be passed: (get-python-version (assoc-ref inputs "python"))) Which then makes the "lambda" definition more complicated and the test itself much more ugly :-( So I'll keep the `system` call. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |