[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37234] [PATCH 20/21] gnu: Add python-moto.
From: |
Marius Bakke |
Subject: |
[bug#37234] [PATCH 20/21] gnu: Add python-moto. |
Date: |
Fri, 30 Aug 2019 16:25:38 +0200 |
* gnu/packages/python-xyz.scm (python-moto): New public variable.
---
gnu/packages/python-xyz.scm | 56 +++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7056ea3d48..e908fcf3d5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -94,6 +94,7 @@
#:use-module (gnu packages crypto)
#:use-module (gnu packages databases)
#:use-module (gnu packages dbm)
+ #:use-module (gnu packages docker)
#:use-module (gnu packages file)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc)
@@ -8666,6 +8667,61 @@ text.")
(define-public python2-colorama
(package-with-python2 python-colorama))
+(define-public python-moto
+ (package
+ (name "python-moto")
+ (version "1.3.13")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "moto" version))
+ (sha256
+ (base32
+ "0rhbjvqi1khp80gfnl3x632kwlpq3k7m8f13nidznixdpa78vm4m"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-before 'check 'adjust-setuppy
+ (lambda _
+ ;; Remove artificial dependency on Zopes DateTime (see
+ ;; <https://github.com/spulec/moto/pull/2297>).
+ (substitute* "setup.py"
+ (("\"datetime\",")
+ ""))
+ #t)))))
+ (native-inputs
+ `(("python-flask" ,python-flask)
+ ("python-freezegun" ,python-freezegun)
+ ("python-nose" ,python-nose)
+ ("python-sure" ,python-sure)))
+ (propagated-inputs
+ `(("python-aws-xray-sdk" ,python-aws-xray-sdk)
+ ("python-boto" ,python-boto)
+ ("python-boto3" ,python-boto3)
+ ("python-botocore" ,python-botocore)
+ ("python-cfn-lint" ,python-cfn-lint)
+ ("python-cryptography" ,python-cryptography)
+ ("python-dateutil" ,python-dateutil)
+ ("python-docker" ,python-docker-py)
+ ("python-idna" ,python-idna)
+ ("python-jinja2" ,python-jinja2)
+ ("python-jose" ,python-jose)
+ ("python-jsondiff" ,python-jsondiff)
+ ("python-mock" ,python-mock)
+ ("python-pytz" ,python-pytz)
+ ("python-pyyaml" ,python-pyyaml-next)
+ ("python-requests" ,python-requests)
+ ("python-responses" ,python-responses)
+ ("python-six" ,python-six)
+ ("python-sshpubkeys" ,python-sshpubkeys)
+ ("python-werkzeug" ,python-werkzeug)
+ ("python-xmltodict" ,python-xmltodict)))
+ (home-page "https://github.com/spulec/moto")
+ (synopsis "Mock out the boto library")
+ (description
+ "@code{moto} is a library that allows your Python tests to easily mock
+out the @code{boto} library.")
+ (license license:asl2.0)))
+
(define-public python-rsa
(package
(name "python-rsa")
--
2.22.1
- [bug#37234] [PATCH 06/21] gnu: python-docker-py: Propagate runtime dependency., (continued)
- [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, 2019/08/30
- [bug#37234] [PATCH 20/21] gnu: Add python-moto.,
Marius Bakke <=
- [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