GNU bug report logs - #27637
[PATCH] gnu: Add python-conda

Previous Next

Package: guix-patches;

Reported by: Frederick Muriithi <fredmanglis <at> gmail.com>

Date: Mon, 10 Jul 2017 07:32:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 27637 <at> debbugs.gnu.org (full text, mbox):

From: Muriithi Frederick Muriuki <fredmanglis <at> gmail.com>
To: 27637 <at> debbugs.gnu.org
Cc: mbakke <at> fastmail.com
Subject: [PATCH 1/2] gnu: Add python-conda
Date: Thu, 13 Jul 2017 04:47:25 +0300
* gnu/packages/package-management.scm (python-conda, python2-conda) New
* variables.
---
 gnu/packages/package-management.scm | 40 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 39 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index af91ec1d7..121a915fb 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -25,7 +25,7 @@
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
-  #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0))
+  #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 bsd-3))
   #:use-module (gnu packages)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages file)
@@ -516,3 +516,41 @@ different.  It recursively unpacks archives of many kinds and transforms
 various binary formats into more human readable forms to compare them.  It can
 compare two tarballs, ISO images, or PDFs just as easily.")
     (license gpl3+)))
+
+(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* _
+             (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)))
+    (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.")
+    (license bsd-3)))
+
+(define-public python2-conda
+  (package-with-python2 python-conda))
-- 
2.13.2





This bug report was last modified 7 years and 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.