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: Sun, 26 Jun 2022 05:38:27
Message-Id: 1656221899.376fc0bbd30dead58a111a94e0ab469254817723.mgorny@gentoo
1 commit: 376fc0bbd30dead58a111a94e0ab469254817723
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 03:22:59 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 05:38:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=376fc0bb
7
8 dev-python/moto: Bump to 3.1.15
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.1.15.ebuild | 90 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 91 insertions(+)
15
16 diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
17 index 8ee0c46b1053..b57aa609dccd 100644
18 --- a/dev-python/moto/Manifest
19 +++ b/dev-python/moto/Manifest
20 @@ -1,3 +1,4 @@
21 DIST moto-3.1.12.tar.gz 2323555 BLAKE2B f2ecefc5dbbc3f4ce66a799ec255cad40ce466f62fe3bfb0885866c7d0125884a0fef299b58fdcf1cb5da7ef58ac513d844b2fbae6d6545dcb38f2a3bbb2cda4 SHA512 29b8d0d71f3227784eddd05959434451ad88c9c0346b3684360e57bd3df8b9734f781d263bf992ac946749c88b433f6c86c1fc71d71a2dc565633c812579c297
22 DIST moto-3.1.13.tar.gz 2330638 BLAKE2B ded004bcd783f623edd5b198c39b0245bc847233be46e101b8556adf71c8a7495a175957b3c5c475ca66c392df0999f53c8cedbb439cbb39cd5566e610887cc2 SHA512 95708e6638ab9a8d68b1acaf3af14fc381584e2d978d7f03ee500c50cd2b3409d99633f0e211bfb86c40335e67581f9e6ff3dc7934f8e91fc9f8be8311de8b5b
23 DIST moto-3.1.14.tar.gz 2340613 BLAKE2B 8bdd9131449c2f3aeb1e4b4fcf40fe2d7ffac86777a73bcdff1d04a3450ec71030e5611c1d3d7429fd57e7ebc0791aecca4c57b8fb12456d18f2256693387fa0 SHA512 3a07e4f15a70ec422f81ba8cf5e2f38624981ff809e7ec51a3e23e26f3dff1755aa11d236daac097da0961948a46cc93e549e36102fbd8d5036f419d5fc96312
24 +DIST moto-3.1.15.tar.gz 2352817 BLAKE2B 29c756ac5a6bdca2bea4bd74c746756b1621342ce8db7064ca822f78cf9a49cb298c27f74b5ef388c5262217c3fb22b5ae8988de9b3d37422834c6eef85c1b4e SHA512 9d2268e71ef68136e2d43285cb96901e0b6176f59a03183ec6628df8055a636cf80ace1c31446daffb49b7b7a10c1ed6680f0e984654352c67cd0f2cc8ea1a25
25
26 diff --git a/dev-python/moto/moto-3.1.15.ebuild b/dev-python/moto/moto-3.1.15.ebuild
27 new file mode 100644
28 index 000000000000..d32692d1217f
29 --- /dev/null
30 +++ b/dev-python/moto/moto-3.1.15.ebuild
31 @@ -0,0 +1,90 @@
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 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Mock library for boto"
43 +HOMEPAGE="https://github.com/spulec/moto"
44 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
49 +
50 +RDEPEND="
51 + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}]
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/pyparsing-3.0.7[${PYTHON_USEDEP}]
66 + >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}]
67 + dev-python/pretty-yaml[${PYTHON_USEDEP}]
68 + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
69 + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
70 + dev-python/pytz[${PYTHON_USEDEP}]
71 + dev-python/python-dateutil[${PYTHON_USEDEP}]
72 + dev-python/python-jose[${PYTHON_USEDEP}]
73 + dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
74 + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
75 + >=dev-python/requests-2.5[${PYTHON_USEDEP}]
76 + dev-python/xmltodict[${PYTHON_USEDEP}]
77 + dev-python/werkzeug[${PYTHON_USEDEP}]
78 + dev-python/zipp[${PYTHON_USEDEP}]
79 +"
80 +BDEPEND="
81 + test? (
82 + dev-python/freezegun[${PYTHON_USEDEP}]
83 + dev-python/responses[${PYTHON_USEDEP}]
84 + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
85 + )
86 +"
87 +
88 +distutils_enable_tests pytest
89 +
90 +python_test() {
91 + local EPYTEST_DESELECT=(
92 + # TODO
93 + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
94 + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
95 + tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3
96 + tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3
97 + tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3
98 + tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3
99 + # broken code (local variable used referenced before definition)
100 + tests/test_appsync/test_appsync_schema.py
101 + # Needs network (or docker?) but not marked as such, bug #807031
102 + # TODO: report upstream
103 + tests/test_batch/test_batch_jobs.py::test_terminate_job
104 + tests/test_batch/test_batch_jobs.py::test_cancel_pending_job
105 + tests/test_batch/test_batch_jobs.py::test_cancel_running_job
106 + tests/test_batch/test_batch_jobs.py::test_dependencies
107 + tests/test_batch/test_batch_jobs.py::test_container_overrides
108 + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed
109 + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function
110 + tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda
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 + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]"
114 + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]"
115 + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]"
116 + )
117 +
118 + # pytest-django causes freezegun try to mangle stuff inside django
119 + # which fails when django is not really used
120 + epytest -p no:django -m 'not network'
121 +}