[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Branching based on Python version (was [PATCH 2/6] gnu: add python-s
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 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 |
Am 24.04.2016 um 23:40 schrieb Ludovic Courtès:
> (guix build python-build-system) includes ‘get-python-version’, 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.
--
Regards
Hartmut Goebel
| Hartmut Goebel | address@hidden |
| www.crazy-compilers.com | compilers which you thought are impossible |
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Branching based on Python version (was [PATCH 2/6] gnu: add python-sqlparse and python2-sqlparse),
Hartmut Goebel <=