[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fixing package-with-python2
From: |
Ludovic Courtès |
Subject: |
Re: Fixing package-with-python2 |
Date: |
Mon, 01 Feb 2016 23:07:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
"Thompson, David" <address@hidden> skribis:
> On Mon, Feb 1, 2016 at 8:06 AM, Efraim Flashner <address@hidden> wrote:
>
>> I looked over the commit but not deeply enough yet, would it be possible to
>> use some of the logic in this to fix the package-with-python2 issue?
>
> Here's a potential solution for 'package-with-python2': module
> introspection.
Evil! ;-)
An idea I haven’t taken the time to test yet would be to use
‘properties’:
(define python-foobar ;with Python 3
(package
(name "foobar")
;; Specify which Python 2 variant to use.
(properties `((python2-variant . ,(delay python2-foobar))))))
(define python2-foobar
(package (inherit python-foobar)
;; … stuff beyond the mechanical python 2→3 switch…
))
‘package-with-python2’ would honor this ‘python2-variant’ property.
Thoughts?
Ludo’.
- Fixing package-with-python2 (was: Package transformations), Thompson, David, 2016/02/01
- Re: Fixing package-with-python2 (was: Package transformations), Pjotr Prins, 2016/02/01
- Re: Fixing package-with-python2 (was: Package transformations), Efraim Flashner, 2016/02/01
- Re: Fixing package-with-python2 (was: Package transformations), Andreas Enge, 2016/02/01
- Re: Fixing package-with-python2,
Ludovic Courtès <=
- Re: Fixing package-with-python2, Thompson, David, 2016/02/01
- Re: Fixing package-with-python2, Efraim Flashner, 2016/02/02
- Re: Fixing package-with-python2, Ludovic Courtès, 2016/02/03
- Re: bug#22437: Fixing package-with-python2, Ludovic Courtès, 2016/02/07
- Re: bug#22437: Fixing package-with-python2, Ludovic Courtès, 2016/02/08
- Re: bug#22437: Fixing package-with-python2, Andreas Enge, 2016/02/07
- Re: bug#22437: Fixing package-with-python2, Ludovic Courtès, 2016/02/07