[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about (properties `((python2-variant . , (delay XXX)))) an

From: Leo Famulari
Subject: Re: Question about (properties `((python2-variant . , (delay XXX)))) and name resolution
Date: Tue, 19 Jul 2016 23:58:23 -0400
User-agent: Mutt/1.6.0 (2016-04-01)

On Tue, Jul 19, 2016 at 07:47:54PM +0200, Danny Milosavljevic wrote:
> +    (properties `((python2-variant . ,(delay ptpython-2))))

This 'python2-variant' system is used when the Python 2 version of a
package requires some changes beyond simply building everything with
Python 2 instead of Python 3. For example, the Python 2 variant might
require an extra dependency.

> +(define-public ptpython-2
> +  (package-with-python2 ptpython))

In this case, it looks like the Python 2 variant of the package is the
same as the Python 3 variant, aside from the Python version. So, you
should be able to drop the (properties `((python2-variant ...) line from
the python-ptpython package.

I hope that helps!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]