On Fri, May 06, 2016 at 03:28:39AM +0200, Cyril Roelandt wrote:
> On 04/30/2016 11:33 PM, Leo Famulari wrote:
> > As with python-cmd2, could you if setuptools is required for the
> > python-3 variant?
> > 
> 
> So, I applied the following patch:
> 
> 
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -1520,8 +1520,7 @@ matching them against a list of media-ranges.")
>      (build-system python-build-system)
>      (propagated-inputs
>       `(("python-six" ,python-six)))
> -    (inputs
> -     `(("python-setuptools" ,python-setuptools)))
> +    ;(inputs `(("python-setuptools" ,python-setuptools)))
>      (home-page "http://pypi.python.org/pypi/unittest2";)
>      (synopsis "Python unit testing library")
>      (description
> @@ -1530,7 +1529,12 @@ standard library.")
>      (license psfl)))

I think you forgot to add a line like this one to the python-3 variant's
definition:

   (properties `((python2-variant . ,(delay python2-unittest2))))

Can you check if everything works when you do that?

Reply via email to