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


View this message in rfc822 format

From: Pjotr Prins <pjotr.public12 <at> thebird.nl>
To: Muriithi Frederick Muriuki <fredmanglis <at> gmail.com>
Cc: 27637 <at> debbugs.gnu.org
Subject: [bug#27637] [PATCH 3/5] gnu: Add python-anaconda-client
Date: Fri, 21 Jul 2017 07:45:59 +0200
LGTM

On Tue, Jul 18, 2017 at 11:37:07AM +0300, Muriithi Frederick Muriuki wrote:
> * 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 363 days ago.

Previous Next


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