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 #38 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 3/5] gnu: Add python-anaconda-client
Date: Tue, 18 Jul 2017 11:37:07 +0300
* gnu/packages/package-management.scm (python-anaconda-client,
* python2-anaconda-client): New variables.
---
 gnu/packages/package-management.scm | 54 +++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 0c0b780ad..a16a49bd0 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -564,3 +564,57 @@ saving time.  Almost all of the Olson timezones are supported.")
 
 (define-public python2-clyent
   (package-with-python2 python-clyent))
+
+(define-public python-anaconda-client
+  (package
+    (name "python-anaconda-client")
+    (version "1.6.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/Anaconda-Platform/anaconda-client/archive/"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1wv4wi6k5jz7rlwfgvgfdizv77x3cr1wa2aj0k1595g7fbhkjhz2"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pyyaml" ,python-pyyaml)
+       ("python-requests" ,python-requests)
+       ("python-clyent" ,python-clyent)))
+    (native-inputs
+     `(("python-pytz" ,python-pytz)
+       ("python-dateutil" ,python-dateutil)
+       ("python-mock" ,python-mock)
+       ("python-coverage" ,python-coverage)
+       ("python-pillow" ,python-pillow)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check
+             'set-up-home
+           (lambda* _
+             (setenv "HOME" "/tmp")))
+         (add-before 'check
+             'remove-network-tests
+           (lambda* _
+             ;; Remove tests requiring a network connection
+             (delete-file "binstar_client/tests/test_upload.py")
+             (delete-file "binstar_client/tests/test_authorizations.py")
+             (delete-file "binstar_client/tests/test_login.py")
+             (delete-file "binstar_client/tests/test_whoami.py")
+             (delete-file "binstar_client/utils/notebook/tests/test_data_uri.py")
+             (delete-file "binstar_client/utils/notebook/tests/test_base.py")
+             (delete-file "binstar_client/utils/notebook/tests/test_downloader.py")
+             (delete-file "binstar_client/inspect_package/tests/test_conda.py"))))))
+    (home-page "https://github.com/Anaconda-Platform/anaconda-client")
+    (synopsis "Anaconda Cloud command line client library")
+    (description
+     "Anaconda Cloud command line client library provides an interface to
+Anaconda Cloud.   Anaconda Cloud is useful for sharing packages, notebooks and
+environments.")
+    (license bsd-3)))
+
+(define-public python2-anaconda-client
+  (package-with-python2 python-anaconda-client))
-- 
2.13.2





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

Previous Next


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