Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/moto/
Date: Mon, 29 Nov 2021 23:17:11
Message-Id: 1638227822.9f82e8963ff9bbc89e9880fab328ce4732618e2e.mgorny@gentoo
1 commit: 9f82e8963ff9bbc89e9880fab328ce4732618e2e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 29 21:44:42 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 23:17:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f82e896
7
8 dev-python/moto: Bump to 2.2.17
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/moto/Manifest | 1 +
13 dev-python/moto/moto-2.2.17.ebuild | 87 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 88 insertions(+)
15
16 diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
17 index deda8a56ffe3..bfe4e828760e 100644
18 --- a/dev-python/moto/Manifest
19 +++ b/dev-python/moto/Manifest
20 @@ -3,3 +3,4 @@ DIST moto-2.2.12.tar.gz 1941427 BLAKE2B d1f85e46f4072b0e1c48e727d9e99eec12001a53
21 DIST moto-2.2.14.tar.gz 1962233 BLAKE2B 2e61a2a946bdb51280fc16a2efd47e88e9643a04cebec1fc117a984b3bb8be366523fb202fe558137c4bf5c6a9e8b2e035adceda6fd37712b004d650d3d042fd SHA512 2f6c5a498f95760e910174c91562aa4f5a223d691efc1db65b66508c407641473b5b94512e67f48ed02e3733421cc51eba7aa569b19e92cf58ffa6bbcb81b362
22 DIST moto-2.2.15.tar.gz 1962356 BLAKE2B 469f9c0eb36552b475b5e76fe286a6e50ae6379a9b0436a40eb290fd033123b2b400b6b85a1dd66b01176f1795a0211831acf10efac1a44a09f17efe325fad3b SHA512 2fffb3d095cd7274891d1d9ff5eee07550773eb06d1410205db39c75234e37833bda12aca7c29fda5b1d415145e55e7c7d59f8a03f3163c8f752e968fc273d3a
23 DIST moto-2.2.16.tar.gz 1982590 BLAKE2B 016760c1eebd418ddb281f9cf438d9e13c868409ca1465a2a8b8292c714b7a3e4a6d47bef7a506e5c8d4128282f4f68cfea30eb61940464be4a5e27e0749e035 SHA512 bca5d5a8efa6ba204caf0cfcae700ee4079ac0a1aca22eb4adfa09f3e81f0bb43daa24088a55578022fc7b25ae14c9f41701d9557f2dd09b818fdd25ba4c3e78
24 +DIST moto-2.2.17.tar.gz 2013217 BLAKE2B 6fe6dd23e96fe8ba210fc9bbb400ced7c27aa6626097c523579482d58709fbf2d22e217bdab604017ee17c45b4093c8106e15e5894484face28c07bba85d42ea SHA512 73dfa0f15afd299e2c5b4c7833a73b1a7537248b8b332258868bac01890c1861e9a62b6fb634d795d4e37e5505cc51008f1048154044a8238049de5b21f31251
25
26 diff --git a/dev-python/moto/moto-2.2.17.ebuild b/dev-python/moto/moto-2.2.17.ebuild
27 new file mode 100644
28 index 000000000000..7c4b8e8a3d1b
29 --- /dev/null
30 +++ b/dev-python/moto/moto-2.2.17.ebuild
31 @@ -0,0 +1,87 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..9} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Mock library for boto"
41 +HOMEPAGE="https://github.com/spulec/moto"
42 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
47 +
48 +RDEPEND="
49 + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}]
50 + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7})
51 + dev-python/boto[${PYTHON_USEDEP}]
52 + dev-python/cfn-lint[${PYTHON_USEDEP}]
53 + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
54 + dev-python/cookies[${PYTHON_USEDEP}]
55 + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}]
56 + >=dev-python/idna-2.5[${PYTHON_USEDEP}]
57 + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
58 + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}]
59 + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}]
60 + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}]
61 + dev-python/flask[${PYTHON_USEDEP}]
62 + dev-python/flask-cors[${PYTHON_USEDEP}]
63 + dev-python/more-itertools[${PYTHON_USEDEP}]
64 + dev-python/pretty-yaml[${PYTHON_USEDEP}]
65 + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
66 + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
67 + dev-python/pytz[${PYTHON_USEDEP}]
68 + dev-python/python-dateutil[${PYTHON_USEDEP}]
69 + dev-python/python-jose[${PYTHON_USEDEP}]
70 + dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
71 + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
72 + >=dev-python/requests-2.5[${PYTHON_USEDEP}]
73 + dev-python/xmltodict[${PYTHON_USEDEP}]
74 + dev-python/werkzeug[${PYTHON_USEDEP}]
75 + dev-python/zipp[${PYTHON_USEDEP}]
76 +"
77 +BDEPEND="
78 + test? (
79 + dev-python/freezegun[${PYTHON_USEDEP}]
80 + dev-python/responses[${PYTHON_USEDEP}]
81 + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
82 + )
83 +"
84 +
85 +distutils_enable_tests pytest
86 +
87 +python_prepare_all() {
88 + # unpin indirect dep on ecdsa that's supposed to workaround pip bugs
89 + sed -i -e '/ecdsa/s:<0.15::' setup.py || die
90 +
91 + distutils-r1_python_prepare_all
92 +}
93 +
94 +python_test() {
95 + local EPYTEST_DESELECT=(
96 + # TODO
97 + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
98 + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
99 + tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3
100 + tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3
101 + tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3
102 + tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3
103 + # Needs network (or docker?) but not marked as such, bug #807031
104 + # TODO: report upstream
105 + tests/test_batch/test_batch_jobs.py::test_terminate_job
106 + tests/test_batch/test_batch_jobs.py::test_cancel_running_job
107 + tests/test_batch/test_batch_jobs.py::test_dependencies
108 + tests/test_batch/test_batch_jobs.py::test_container_overrides
109 + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed
110 + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function
111 + tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception
112 + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception
113 + )
114 +
115 + # pytest-django causes freezegun try to mangle stuff inside django
116 + # which fails when django is not really used
117 + epytest -p no:django -m 'not network'
118 +}