GNU bug report logs - #37234
[PATCH 00/21] MLflow

Previous Next

Package: guix-patches;

Reported by: Marius Bakke <mbakke <at> fastmail.com>

Date: Fri, 30 Aug 2019 14:24:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <marius <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Marius Bakke <mbakke <at> fastmail.com>
To: 37234 <at> debbugs.gnu.org
Subject: [bug#37234] [PATCH 16/21] gnu: Add python-boto.
Date: Fri, 30 Aug 2019 16:25:34 +0200
* gnu/packages/python-xyz.scm (python-boto): New public variable.
---
 gnu/packages/python-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 016fc4460c..7d4b0be494 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8752,6 +8752,48 @@ document.")
 (define-public python2-jmespath
   (package-with-python2 python-jmespath))
 
+(define-public python-boto
+  (package
+    (name "python-boto")
+    (version "2.49.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "boto" version))
+              (sha256
+               (base32
+                "0njy09c4wjx7ipxhwi6vv404nflyiasl78vwwxxpclnql903n3ga"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-before 'check 'prepare-tests
+                    (lambda _
+                      ;; The SSH tests requires HOME with a .ssh directory.
+                      (setenv "HOME" "/tmp")
+                      (mkdir "/tmp/.ssh")
+                      (call-with-output-file "/tmp/.ssh/authorized_keys"
+                        (const #t))
+                      (call-with-output-file "/tmp/.ssh/known_hosts"
+                        (const #t))
+                      #t))
+                  (replace 'check
+                    (lambda _
+                      (invoke "python" "tests/test.py" "default"))))))
+    (native-inputs
+     `(("python-httpretty" ,python-httpretty)
+       ("python-mock" ,python-mock)
+       ("python-nose" ,python-nose)))
+    (propagated-inputs
+     `(("python-paramiko" ,python-paramiko)
+       ("python-requests" ,python-requests)))
+    (home-page "https://github.com/boto/boto")
+    (synopsis "Python interfaces for Amazon Web Services")
+    (description
+     "This package provides various facilities for interacting with Amazon
+Web Services through Python.
+
+This software is unmaintained, and new projects should use @code{boto3} instead.")
+    (license license:expat)))
+
 (define-public python-botocore
   (package
     (name "python-botocore")
-- 
2.22.1





This bug report was last modified 4 years and 183 days ago.

Previous Next


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