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, 05 Jun 2022 09:14:35
Message-Id: 1654420464.7204c8994bb7e74f4847b84b5a4b4b6de5bad2a9.mgorny@gentoo
1 commit: 7204c8994bb7e74f4847b84b5a4b4b6de5bad2a9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 06:57:56 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 5 09:14:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7204c899
7
8 dev-python/moto: Bump to 3.1.12
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.12.ebuild | 90 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 91 insertions(+)
15
16 diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
17 index 5353a2c11d41..6ceda5714ee5 100644
18 --- a/dev-python/moto/Manifest
19 +++ b/dev-python/moto/Manifest
20 @@ -1,3 +1,4 @@
21 DIST moto-3.1.10.tar.gz 2314423 BLAKE2B ad09f8cb70a1541dce640c870355c349f9a932beec1c98d3d4739bda89e773670fb0209b9ec7aca3a250472d425048d444b08edf2f1555c6777251de14c5a80a SHA512 138e5be59fffcfe4579b6cb292f4f8ec21c5d05723bcd66cae85bcc0f60991ac84310206d5a0fe8361135ff04573173f41b276021981d6f7844a726f18b54f83
22 DIST moto-3.1.11.tar.gz 2320905 BLAKE2B 14cd572defd974e428a77f75be32f576d7cb222fa80a37b5f72bdb8f10fd36be3b456d7d660fe7943862824393b48b4d70687dde191ffc49a49db7ee05772994 SHA512 2e1a84beef161442f74dee95b1e5dc7b23c77d9b001c27b0d8ee3c429c5da13be9a6d0074bc26bacad72f5ea82b0eb85e88dd2adb585f7dfd688bd1e3d9cc5e9
23 +DIST moto-3.1.12.tar.gz 2323555 BLAKE2B f2ecefc5dbbc3f4ce66a799ec255cad40ce466f62fe3bfb0885866c7d0125884a0fef299b58fdcf1cb5da7ef58ac513d844b2fbae6d6545dcb38f2a3bbb2cda4 SHA512 29b8d0d71f3227784eddd05959434451ad88c9c0346b3684360e57bd3df8b9734f781d263bf992ac946749c88b433f6c86c1fc71d71a2dc565633c812579c297
24 DIST moto-3.1.9.tar.gz 2308059 BLAKE2B 85f5c084fc81d74e8297ab0a78e3823bb6e98b1d4fdb70b802dabfa3ba11475670c3bfda27f48069e5298691a8ca71c98acf156c3b15ab79ff85555545c7596e SHA512 600ec2042e5e6df5e3bbc9fafcaa32255568c35a2a127e4f093ecc9332a799b568002cb414e5c086f24795c4f8f510517bf00c29a9b6a38dd667807d04a18954
25
26 diff --git a/dev-python/moto/moto-3.1.12.ebuild b/dev-python/moto/moto-3.1.12.ebuild
27 new file mode 100644
28 index 000000000000..d32692d1217f
29 --- /dev/null
30 +++ b/dev-python/moto/moto-3.1.12.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 +}