1 |
commit: f4be0b23607892b0168a6e32f68f200ce27194c5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 29 19:22:55 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 19:32:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4be0b23 |
7 |
|
8 |
dev-python/moto: Bump to 3.0.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/moto/Manifest | 1 + |
13 |
dev-python/moto/moto-3.0.2.ebuild | 84 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 85 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest |
17 |
index ddec90870776..e087e5aee670 100644 |
18 |
--- a/dev-python/moto/Manifest |
19 |
+++ b/dev-python/moto/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST moto-2.3.1.tar.gz 2088810 BLAKE2B 9e1b50bec4e0a7a0bb7496fe90e8caf0b80900e35 |
21 |
DIST moto-2.3.2.tar.gz 2095242 BLAKE2B 17b98e09c410e48cac60ca494d6d0a6264657e8df994c0395be15b072dbc998a59b25d017b2897cd2e05429959baa427358b4f11cc3b7a517f4f4ddb88d2f2c5 SHA512 f58b9cf3f0a88964776fc92e4982408f0826a2d0149cc84cc21752030d8c9d3de3ea1a07cb529ea4d77b0d2a5ac5222a6ec24f6b88e9d7d70cc82257b883bd10 |
22 |
DIST moto-3.0.0.tar.gz 2012729 BLAKE2B a1f53301c08d4ca0df55e1b4233a63a2bfe011b47ac6be992714e3f57f7e4cc50aca72917ff4132001c10870bbe08c0ca32e2b48e5d676f670345478ca846aed SHA512 e5238fb5e720f91999d4f0473d9833a3e1de3632401ee647858afc4e33a46981e866a51b353d1c21b92926da7267a5ba74ef667364ae99b09efd4f12d334e03e |
23 |
DIST moto-3.0.1.tar.gz 2028942 BLAKE2B 28ca3d59fff02b0afc0efc85db0fedbf1284131d48efb839aecf80c075da0e61d5751eb80588344948129f6b59ea9794adeacdca95e06be2e51367a4deb41c19 SHA512 800eb64f77e4c7ae62b056bb8d82de70c4a1044820314269b5dc3133d6b62a3a87d54bbf672a0845709404bd6f3e8d85c5cabc05da4ee2aa96b29cafd18aa6bc |
24 |
+DIST moto-3.0.2.tar.gz 2043877 BLAKE2B 5b7b8c50499723f9a658af3a261b8cfd1b9e2a2b2f3e4925f8a0a78d07402e75a715bc87d84f0af8cca69db950937edb193af3ed5798dadf21c9e25aa0e47e27 SHA512 41f350241bfe917d6511e19b53317d15e53bd09267aac21553fc52455fa15d2a9543086d82030e701a394b47039c853d0f89f2dde2002cb6e3993ebcb0ce587a |
25 |
|
26 |
diff --git a/dev-python/moto/moto-3.0.2.ebuild b/dev-python/moto/moto-3.0.2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..2d5483694a4e |
29 |
--- /dev/null |
30 |
+++ b/dev-python/moto/moto-3.0.2.ebuild |
31 |
@@ -0,0 +1,84 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Mock library for boto" |
42 |
+HOMEPAGE="https://github.com/spulec/moto" |
43 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] |
51 |
+ $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) |
52 |
+ dev-python/boto[${PYTHON_USEDEP}] |
53 |
+ dev-python/cfn-lint[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] |
55 |
+ dev-python/cookies[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/idna-2.5[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] |
60 |
+ dev-python/boto3[${PYTHON_USEDEP}] |
61 |
+ dev-python/botocore[${PYTHON_USEDEP}] |
62 |
+ dev-python/flask[${PYTHON_USEDEP}] |
63 |
+ dev-python/flask-cors[${PYTHON_USEDEP}] |
64 |
+ dev-python/more-itertools[${PYTHON_USEDEP}] |
65 |
+ dev-python/pretty-yaml[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] |
68 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
69 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
70 |
+ dev-python/python-jose[${PYTHON_USEDEP}] |
71 |
+ dev-python/python-sshpubkeys[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/requests-2.5[${PYTHON_USEDEP}] |
74 |
+ dev-python/xmltodict[${PYTHON_USEDEP}] |
75 |
+ dev-python/werkzeug[${PYTHON_USEDEP}] |
76 |
+ dev-python/zipp[${PYTHON_USEDEP}] |
77 |
+" |
78 |
+BDEPEND=" |
79 |
+ test? ( |
80 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
81 |
+ dev-python/responses[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] |
83 |
+ ) |
84 |
+" |
85 |
+ |
86 |
+distutils_enable_tests pytest |
87 |
+ |
88 |
+python_test() { |
89 |
+ local EPYTEST_DESELECT=( |
90 |
+ # TODO |
91 |
+ tests/test_firehose/test_firehose_put.py::test_put_record_http_destination |
92 |
+ tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination |
93 |
+ tests/test_sqs/test_sqs_cloudformation.py::test_describe_stack_subresources |
94 |
+ tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 |
95 |
+ tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 |
96 |
+ tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 |
97 |
+ tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 |
98 |
+ # broken code (local variable used referenced before definition) |
99 |
+ tests/test_appsync/test_appsync_schema.py |
100 |
+ # Needs network (or docker?) but not marked as such, bug #807031 |
101 |
+ # TODO: report upstream |
102 |
+ tests/test_batch/test_batch_jobs.py::test_terminate_job |
103 |
+ tests/test_batch/test_batch_jobs.py::test_cancel_running_job |
104 |
+ tests/test_batch/test_batch_jobs.py::test_dependencies |
105 |
+ tests/test_batch/test_batch_jobs.py::test_container_overrides |
106 |
+ tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed |
107 |
+ tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function |
108 |
+ tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception |
109 |
+ tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception |
110 |
+ ) |
111 |
+ |
112 |
+ # pytest-django causes freezegun try to mangle stuff inside django |
113 |
+ # which fails when django is not really used |
114 |
+ epytest -p no:django -m 'not network' |
115 |
+} |