unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: [PATCH 3/4] gnu: Add python-s3transfer.
Date: Sat, 15 Oct 2016 21:55:00 -0400	[thread overview]
Message-ID: <990dc670d030a97779e112d21e17cf879ab7b1f4.1476582893.git.leo@famulari.name> (raw)
In-Reply-To: <f21826c376925d99d38b3b2bf21933766cccc388.1476582893.git.leo@famulari.name>
In-Reply-To: <f21826c376925d99d38b3b2bf21933766cccc388.1476582893.git.leo@famulari.name>

* gnu/packages/python.scm (python-s3transfer, python2-s3transfer): New
variable.
---
 gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6a81455..900e6ae 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11030,3 +11030,34 @@ with an associated set of resolve methods that know how to fetch data.")
 provide extendible implementations of common aspects of a cloud so that you can
 focus on building massively scalable web applications.")
     (license license:expat)))
+
+(define-public python-s3transfer
+  (package
+    (name "python-s3transfer")
+    (version "0.1.8")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "s3transfer" version))
+              (sha256
+               (base32
+                "1jivjkp3xqif9gzr5fiq28jsskmh50vzzd7ldsb4rbyiw1iyv3hy"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-docutils" ,python-docutils)))
+    (inputs
+     `(("python-botocore" ,python-botocore)))
+    (synopsis "Amazon S3 Transfer Manager")
+    (description "S3transfer is a Python library for managing Amazon S3
+transfers.")
+    (home-page "https://github.com/boto/s3transfer")
+    (license license:asl2.0)
+    (properties `((python2-variant . ,(delay python2-s3transfer))))))
+
+(define-public python2-s3transfer
+  (let ((base (package-with-python2 (strip-python2-variant python-s3transfer))))
+    (package
+      (inherit base)
+      (native-inputs
+       `(("python2-futures" ,python2-futures)
+         ("python2-setuptools" ,python2-setuptools)
+         ,@(package-native-inputs base))))))
-- 
2.10.1

  parent reply	other threads:[~2016-10-16  1:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-16  1:54 [PATCH 1/4] gnu: python-rsa: Update to 3.4.2 Leo Famulari
2016-10-16  1:54 ` [PATCH 2/4] gnu: python-botocore: Update to 1.4.62 Leo Famulari
2016-10-16  1:55 ` Leo Famulari [this message]
2016-10-16  1:55 ` [PATCH 4/4] gnu: awscli: Update to 1.11.5 Leo Famulari
2016-10-19 15:10 ` [PATCH 1/4] gnu: python-rsa: Update to 3.4.2 Ludovic Courtès
2016-10-19 17:13   ` Leo Famulari

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=990dc670d030a97779e112d21e17cf879ab7b1f4.1476582893.git.leo@famulari.name \
    --to=leo@famulari.name \
    --cc=guix-devel@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).