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, 27 Mar 2022 09:31:59
Message-Id: 1648373509.c0daca67d1d30a2385b47de0027dbe82150fa184.mgorny@gentoo
1 commit: c0daca67d1d30a2385b47de0027dbe82150fa184
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 27 08:34:37 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 27 09:31:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0daca67
7
8 dev-python/moto: Bump to 3.1.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.1.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 2c65f15885cd..a857028c66fb 100644
18 --- a/dev-python/moto/Manifest
19 +++ b/dev-python/moto/Manifest
20 @@ -1,2 +1,3 @@
21 DIST moto-3.0.5.tar.gz 2219507 BLAKE2B 019e0f66d8a183f9d758c372252488e79692e140db19820b568279148d88181b944f547d3a213072a29fb61115b73b40b656d3a0657078c54ca1c6de001c65ab SHA512 0529711897a25ff969bf945abfda9e86ab0a310b6b273240b35c981960e04ed14f879a4a86e2251f9824d1d5bc9241afe4a0b964981c8a02a176bca459025359
22 DIST moto-3.1.1.tar.gz 2236948 BLAKE2B 8ab52a59dc09f4819c1169d26fd198b13159635c2571fd27e38eaedc0a83fa5e7af0a7adba90db1c48658a849ff0b17e8d9c9750a47c6981960ac786f3d9a4e0 SHA512 2354886a9b3b46bb33b832495a94f1dcd10cf5cb00454b6e8b6b6838618842ca06f8577c1826bca02a10e2f723cf474a7c492cd9fb587bdb660deb118c17aa4d
23 +DIST moto-3.1.2.tar.gz 2245068 BLAKE2B f25a4476bfbbbd3cab77efc1ef2ceeb74b2b7ee9067aac4a02f90c6fd385c5ed0d66d3fd8171945e22dcd78555c9fdbec78656109b9f61fd15950c44b456d4ea SHA512 51dfef58069f09b4654aa59bef2ee0426c0e662af51d78013c19671b664ade78d2c664c20f19592236808ba7bcc50613700232e87be1ac8dcead4be2df36d39b
24
25 diff --git a/dev-python/moto/moto-3.1.2.ebuild b/dev-python/moto/moto-3.1.2.ebuild
26 new file mode 100644
27 index 000000000000..49b6647dfd22
28 --- /dev/null
29 +++ b/dev-python/moto/moto-3.1.2.ebuild
30 @@ -0,0 +1,84 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
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 + 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[${PYTHON_USEDEP}]
60 + dev-python/botocore[${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_test() {
88 + local EPYTEST_DESELECT=(
89 + # TODO
90 + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
91 + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
92 + tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3
93 + tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3
94 + tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3
95 + tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3
96 + # broken code (local variable used referenced before definition)
97 + tests/test_appsync/test_appsync_schema.py
98 + # Needs network (or docker?) but not marked as such, bug #807031
99 + # TODO: report upstream
100 + tests/test_batch/test_batch_jobs.py::test_terminate_job
101 + tests/test_batch/test_batch_jobs.py::test_cancel_pending_job
102 + tests/test_batch/test_batch_jobs.py::test_cancel_running_job
103 + tests/test_batch/test_batch_jobs.py::test_dependencies
104 + tests/test_batch/test_batch_jobs.py::test_container_overrides
105 + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed
106 + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function
107 + tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception
108 + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception
109 + )
110 +
111 + # pytest-django causes freezegun try to mangle stuff inside django
112 + # which fails when django is not really used
113 + epytest -p no:django -m 'not network'
114 +}