From patchwork Fri Aug 30 14:25:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 15180 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DB32817368; Fri, 30 Aug 2019 15:41:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9081B17365 for ; Fri, 30 Aug 2019 15:41:22 +0100 (BST) Received: from localhost ([::1]:60940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3i5Z-0002Br-4R for patchwork@mira.cbaines.net; Fri, 30 Aug 2019 10:41:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57208) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3hrx-0002Xf-QD for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3hrt-0002or-1Y for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i3hrs-0002hW-Qd for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i3hrq-0003rR-Jy for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37234] [PATCH 16/21] gnu: Add python-boto. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Aug 2019 14:27:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37234@debbugs.gnu.org Received: via spool by 37234-submit@debbugs.gnu.org id=B37234.156717518114642 (code B ref 37234); Fri, 30 Aug 2019 14:27:10 +0000 Received: (at 37234) by debbugs.gnu.org; 30 Aug 2019 14:26:21 +0000 Received: from localhost ([127.0.0.1]:54648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3hr3-0003nz-4x for submit@debbugs.gnu.org; Fri, 30 Aug 2019 10:26:21 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:53191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3hqo-0003kX-OE for 37234@debbugs.gnu.org; Fri, 30 Aug 2019 10:26:07 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 6056752C for <37234@debbugs.gnu.org>; Fri, 30 Aug 2019 10:26:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 30 Aug 2019 10:26:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=HoFsrICHMzUP7 PMiZQIKbpyBPr0gdUxId0TddUkkplU=; b=p/1ZpEBNcaPOh/K1KjXDLCUHD6j8s ZMUNAIjjPbHyQuh1Atv/07E6/hrcV2vUflUXpBdMUQnE+rJyMr8NIoUC8udbD1xr 1usr8+gs5uq+LlljA9gUSV6MKinu/hf+HZJ9ggxy8fquvGT8nKkg0JttSDUwQN2r ZLNr9HoCVo1cVswa1cOka3BCfK0vPjRF4DrjMPHpP6C+o37+Ado3z8BnnCmnk645 8XVaPxs8Mt5kU5+X7J/4kSdXuukrm0I5U+RGftgjOQbHFJDvxYQKkasmfl2DVDlW vIfOLF22OFi1xMsAl6AKVlR85VtQsxQoEEuJ/itY8mYliHBKigqSuwfZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=HoFsrICHMzUP7PMiZQIKbpyBPr0gdUxId0TddUkkplU=; b=FsWtmvR0 z3TIt//JLM91RokmK+5M27gamHfnUA5zH8hcxrI69H5jaES5qUuZ1wQYxSI8LYQq BzCsUfaqz+gZpjboL4KsqT2kVHzrsM/LPtKroVpylaK0osC9uX92hchXqeXvfzU7 KFURLsxmX/D6vzmjalGEPPmnX96t++leIIJods8fbgF0BlKFpEar506jTfNEeR80 8cY8ZK5BPBOCdHdv3ku2UtXju9vi+eKaeuTHynx3iNc65+tYoOkjPiPrZemOMXAQ EcC1BaJY51lDqKWmah+sAjurp4FZbFBaqOfmyD5aCv7Pd9e3KIvohfZmauaHi3i1 p6Ifx/k6DRmSVg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudeigedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepie dvrdduiedrudelvddrudehtdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpeduud X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 93AF58005A for <37234@debbugs.gnu.org>; Fri, 30 Aug 2019 10:26:05 -0400 (EDT) From: Marius Bakke Date: Fri, 30 Aug 2019 16:25:34 +0200 Message-Id: <20190830142539.28376-16-mbakke@fastmail.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190830142539.28376-1-mbakke@fastmail.com> References: <20190830142539.28376-1-mbakke@fastmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")