From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 3/4] gnu: Add python-s3transfer. Date: Sat, 15 Oct 2016 21:55:00 -0400 Message-ID: <990dc670d030a97779e112d21e17cf879ab7b1f4.1476582893.git.leo@famulari.name> References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvafb-0002bi-Bi for guix-devel@gnu.org; Sat, 15 Oct 2016 21:55:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvafY-0000wW-Ah for guix-devel@gnu.org; Sat, 15 Oct 2016 21:55:23 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:45633) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bvafY-0000vx-5g for guix-devel@gnu.org; Sat, 15 Oct 2016 21:55:20 -0400 Received: from localhost.localdomain (74-94-60-115-philadelphia.hfc.comcastbusiness.net [74.94.60.115]) by mail.messagingengine.com (Postfix) with ESMTPA id 584C6CC0BE for ; Sat, 15 Oct 2016 21:55:19 -0400 (EDT) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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