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


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

From: Marius Bakke <mbakke <at> fastmail.com>
To: 37234 <at> debbugs.gnu.org
Cc: Kristian Trandem <kristian <at> devup.no>
Subject: [PATCH 08/21] gnu: Add python-boto3.
Date: Fri, 30 Aug 2019 16:25:26 +0200
From: Kristian Trandem <kristian <at> devup.no>

gnu/packages/python-xyz.scm (python-boto3): New variable.

Signed-off-by: Marius Bakke <mbakke <at> fastmail.com>
---
 gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f0f99781b2..2fc2712395 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8763,6 +8763,41 @@ interface to the Amazon Web Services (AWS) API.")
 (define-public python2-botocore
   (package-with-python2 python-botocore))
 
+(define-public python-boto3
+  (package
+    (name "python-boto3")
+    (version "1.9.209")
+    (home-page "https://github.com/boto/boto3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference (url home-page) (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "08dy2sh36lg2zg0kk8hagxj2id97agqa9mpq4i2arvqlhi89xm5y"))))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+	 (add-after 'unpack 'delete-network-tests
+           ;; Deleting integration tests because they are trying to connect to AWS.
+	   (lambda _
+	     (delete-file-recursively "tests/integration")
+	     #t)))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-nose" ,python-nose)
+       ("python-mock" ,python-mock)))
+    (propagated-inputs
+     `(("python-botocore" ,python-botocore)
+       ("python-jmespath" ,python-jmespath)
+       ("python-s3transfer" ,python-s3transfer)))
+    (synopsis "AWS SDK for Python")
+    (description
+     "Boto3 is a @dfn{software development kit} (SDK) for @dfn{Amazon Web
+Services} (AWS), which allows Python developers to write software that makes
+use of services like Amazon S3 and Amazon EC2.")
+    (license license:asl2.0)))
+
 (define-public python-xdo
   (package
     (name "python-xdo")
-- 
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.