Subject: bug#30486: closed (Re: [bug#30486] [PATCH] gnu: Add python-boto3 and python2-boto3.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 12 Dec 2020 01:26:01 +0000

Your bug report

#30486: [PATCH] gnu: Add python-boto3 and python2-boto3.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30486: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30486
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#30486] [PATCH] gnu: Add python-boto3 and python2-boto3.
From: Leo Famulari <[email-masked]>
To: Arun Isaac <[email-masked]>
Cc: "Thompson, David" <[email-masked]>, [email-masked]
Date: Fri, 11 Dec 2020 20:25:04 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, Dec 11, 2020 at 12:14:21PM +0530, Arun Isaac wrote:
> 
> Hi,
> 
> python-boto3 has been added in 65579957d524804ea27dec2bed4382aa00a607e2.
> 
> --8<---------------cut here---------------start------------->8---
> commit 65579957d524804ea27dec2bed4382aa00a607e2
> Author: Kristian Trandem <[email-masked]>
> Date:   Fri Aug 16 02:35:39 2019 +0200
> 
>     gnu: Add python-boto3.
>     
>     gnu/packages/python-xyz.scm (python-boto3): New variable.
>     
>     Signed-off-by: Marius Bakke <[email-masked]>
> --8<---------------cut here---------------end--------------->8---
> 
> I guess we don't need python2-boto3 since python2 has reached end of
> life. So, can we close this bug report?

Done!

Subject: [PATCH] gnu: Add python-boto3 and python2-boto3.
From: "Thompson, David" <[email-masked]>
To: [email-masked]
Date: Fri, 16 Feb 2018 10:37:20 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Small patch that adds the AWS SDK for Python which came in handy for
me while testing a Lambda function (in the AWS sense) on my local
machine yesterday.

- Dave
From a328be2daccc7778f05c86a06b3b7db237473a44 Mon Sep 17 00:00:00 2001
From: David Thompson <[email-masked]>
Date: Fri, 16 Feb 2018 10:35:04 -0500
Subject: [PATCH] gnu: Add python-boto3 and python2-boto3.

* gnu/packages/python-web.scm (python-boto3, python2-boto3): New variables.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3cad440b9..d295cbf1d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2442,3 +2442,32 @@ layouts.")
 
 (define-public python2-pastescript
   (package-with-python2 python-pastescript))
+
+(define-public python-boto3
+  (package
+    (name "python-boto3")
+    (version "1.5.29")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "boto3" version))
+       (sha256
+        (base32
+         "1f2sy0qjgs0sh0sxqfpf2ykr0y43cgrilp8y6zmzy9wbnkfp6cx8"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-botocore" ,python-botocore)
+       ("python-jmespath" ,python-jmespath)
+       ("python-s3transfer" ,python-s3transfer)))
+    (home-page "https://github.com/boto/boto3")
+    (synopsis "The AWS SDK for Python")
+    (description "Boto3 is the official Amazon Web Services SDK for Python.")
+    (license license:asl2.0)))
+
+(define-public python2-boto3
+  (let ((base (package-with-python2 python-boto3)))
+    (package
+      (inherit base)
+      (propagated-inputs
+       `(("python2-futures" ,python2-futures)
+         ,@(package-propagated-inputs base))))))
-- 
2.16.1