guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: Add new package definitions


From: Frederick Muriithi
Subject: Re: [PATCH] gnu: Add new package definitions
Date: Tue, 7 Feb 2017 20:01:15 +0300

On Tue, Feb 7, 2017 at 7:24 PM, Danny Milosavljevic
<address@hidden> wrote:
> Hi,
>
> +    (name "python-pycosat")
> +    (version "0.6.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             
> "https://pypi.python.org/packages/76/0f/16edae7bc75b79376f2c260b7a459829785f";
> +             "08e463ecf74a8ccdef62dd4a/pycosat-"
> +             version
> +             ".tar.gz"))
>
> Please use (uri (pypi-uri "pycosat" version)). Or does it fail?
>

Okay. Let me fix that.

> +    (name "python-ruamel.ordereddict")
> +    (version "0.4.9")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             
> "https://pypi.python.org/packages/b1/17/97868578071068fe7d115672b52624d421ff";
> +             "24e5e802f65d6bf3ea184e8f/ruamel.ordereddict-"
> +             version
> +             ".tar.gz"))
>
> pypi-uri
>
> +       (sha256
> +        (base32
> +         "1xmkl8v9l9inm2pyxgc1fm5005yxm7fkd5gv74q7lj1iy5qc8n3h"))))
> +    (build-system python-build-system)
>
> +    (arguments
> +     `(#:python ,python-2))
>
> Why does python-ruamel.ordereddict use python-2? (as opposed to 
> python2-ruamel.ordereddict using python-2 and python-ruamel.ordereddict using 
> python)

So far, I have tried to build python-ruamel.ordereddict with python3,
but it fails in the build_ext stage (building C extensions), with
python3, but passes with python2.


-- 
Frederick M. Muriithi



reply via email to

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