[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37234] [PATCH 16/21] gnu: Add python-boto.
From: |
Marius Bakke |
Subject: |
[bug#37234] [PATCH 16/21] gnu: Add python-boto. |
Date: |
Fri, 30 Aug 2019 16:25:34 +0200 |
* 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")
--
2.22.1
- [bug#37234] [PATCH 14/21] gnu: Add python-jsondiff., (continued)
- [bug#37234] [PATCH 14/21] gnu: Add python-jsondiff., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 06/21] gnu: python-docker-py: Propagate runtime dependency., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 09/21] gnu: python-botocore: Remove unused inputs., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 12/21] gnu: Add python-pytest-aiohttp., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 17/21] gnu: Add python-aws-sam-translator., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 07/21] gnu: python-botocore: Update to 1.12.209., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 10/21] gnu: Add python-sshpubkeys., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 18/21] gnu: Add python-cfn-lint., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 03/21] gnu: Add python-gorilla., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 13/21] gnu: Add python-aws-xray-sdk., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 16/21] gnu: Add python-boto.,
Marius Bakke <=
- [bug#37234] [PATCH 20/21] gnu: Add python-moto., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 19/21] gnu: python-pyyaml: Add version 5.1., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 21/21] gnu: Add mlflow., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 04/21] gnu: Add python-querystring-parser., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 15/21] gnu: Add python-jose., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 11/21] gnu: Add python-jsonpickle., Marius Bakke, 2019/08/30