Subject: [bug#27637] [PATCH] gnu: Add python-conda

From: Marius Bakke <[email-masked]>
Date: Tue, 11 Jul 2017 21:32:32 +0200

Frederick Muriithi <[email-masked]> writes:

> * gnu/package/python.scm (python-conda, python2-conda): New variables.

Yay! Since this is a package manager, I think it should go in
'package-management.scm'.

[...]

> +(define-public python-conda
> +  (package
> +    (name "python-conda")
> +    (version "4.3.16")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "conda" version))
> +       (sha256
> +        (base32
> +         "0lsr52a6x268ixfif36p6r64zkhsdjri0g8gcylkpsix6hhzh7m9"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (replace 'check
> +           (lambda* _xs

"(lambda _" here is sufficient.

> +             (zero? (system* "py.test")))))))
> +    (native-inputs
> +     `(("python-ruamel.yaml" ,python-ruamel.yaml)
> +       ("python-requests" ,python-requests)
> +       ("python-pycosat" ,python-pycosat)
> +       ("python-pytest" ,python-pytest)
> +       ("python-responses" ,python-responses)))

Wait, didn't we package some other dependencies too? Just curious :-)

> +    (home-page "https://github.com/conda/conda")
> +    (synopsis
> +     "Cross-platform, OS-agnostic, system-level binary package manager")
> +    (description
> +     "Conda is a cross-platform, Python-agnostic binary package manager.  It is
> +the package manager used by Anaconda installations, but it may be used for other
> +systems as well.  Conda makes environments first-class citizens, making it easy
> +to create independent environments even for C libraries.  Conda is written
> +entirely in Python, and is BSD licensed open source.")

You can cut the part after the comma. Everything in Guix is free
software, so there is no need to mention it :-)

Can you send updated patches please? Thanks for packaging these!