unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: 27637@debbugs.gnu.org
Subject: [bug#27637] [PATCH 3/5] gnu: Add python-anaconda-client
Date: Tue, 18 Jul 2017 11:37:07 +0300	[thread overview]
Message-ID: <20170718083709.5062-3-fredmanglis@gmail.com> (raw)
In-Reply-To: <20170718083709.5062-1-fredmanglis@gmail.com>

* 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

  parent reply	other threads:[~2017-07-18  8:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10  7:29 [bug#27637] [PATCH] gnu: Add python-conda Frederick Muriithi
2017-07-11 19:32 ` Marius Bakke
2017-07-12 15:35   ` Frederick Muriithi
2017-07-13  1:47 ` [bug#27637] [PATCH 1/2] " Muriithi Frederick Muriuki
2017-07-13  1:47   ` [bug#27637] [PATCH 2/2] gnu: Add conda Muriithi Frederick Muriuki
2017-07-16 21:09     ` Marius Bakke
2017-07-17  6:17       ` Frederick Muriithi
2017-07-17 23:04         ` Marius Bakke
     [not found]           ` <CALjrZwaCshpenigzqh8qacedK09OYL0nFxeL0KGTzLvHgn5=Dg@mail.gmail.com>
     [not found]             ` <CALjrZwZ9Zcu313vXXKKZ7SooWiK1On8LDUQtw_-pcO3o8MWM4A@mail.gmail.com>
     [not found]               ` <CALjrZwbWHvkpb8bafQKfX=O0aPpF_KTFEhGohJf2JYdoPmZbHg@mail.gmail.com>
     [not found]                 ` <CALjrZwZE4WKT8d15aZAW1Et_g-Uiq3+FqVC9=dYOR87Jp+N2Bw@mail.gmail.com>
2017-07-18  7:53                   ` Frederick Muriithi
2017-07-18  8:37 ` [bug#27637] [PATCH 1/5] gnu: Add python-pytz Muriithi Frederick Muriuki
2017-07-18  8:37   ` [bug#27637] [PATCH 2/5] gnu: Add python-clyent Muriithi Frederick Muriuki
2017-07-21  5:45     ` Pjotr Prins
2017-07-18  8:37   ` Muriithi Frederick Muriuki [this message]
2017-07-21  5:45     ` [bug#27637] [PATCH 3/5] gnu: Add python-anaconda-client Pjotr Prins
2017-07-18  8:37   ` [bug#27637] [PATCH 4/5] gnu: Add python-conda Muriithi Frederick Muriuki
2017-07-21  5:46     ` Pjotr Prins
2017-07-18  8:37   ` [bug#27637] [PATCH 5/5] gnu: Add conda Muriithi Frederick Muriuki
2017-07-21  5:48     ` Pjotr Prins
2017-07-22  8:39       ` Ricardo Wurmus
2017-07-22  9:49         ` bug#27637: " Ricardo Wurmus
2017-07-22 10:27           ` [bug#27637] " Ricardo Wurmus
2017-07-22 21:07             ` Pjotr Prins
2017-07-21  5:44   ` [bug#27637] [PATCH 1/5] gnu: Add python-pytz Pjotr Prins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170718083709.5062-3-fredmanglis@gmail.com \
    --to=fredmanglis@gmail.com \
    --cc=27637@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).