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, 22 Aug 2021 08:01:47
Message-Id: 1629619291.fa420188a2a93cc94b377941e050076fe4270aa3.mgorny@gentoo
1 commit: fa420188a2a93cc94b377941e050076fe4270aa3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 22 07:08:50 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 08:01:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa420188
7
8 dev-python/moto: Bump to 2.2.4
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.4.ebuild | 75 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 76 insertions(+)
15
16 diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
17 index f50448c1a10..1b7f4cf3727 100644
18 --- a/dev-python/moto/Manifest
19 +++ b/dev-python/moto/Manifest
20 @@ -3,3 +3,4 @@ DIST moto-2.0.5.tar.gz 1551415 BLAKE2B 452cb94443188e1715145bee574f04924d894a3d6
21 DIST moto-2.2.0.tar.gz 1650655 BLAKE2B 9969de2fb323b2deb272eb47727884054a35827a5db382f83a4177cf6cac5339f89164d05c288a977bc1895a204d13d02069e8b37880ea3d04374f6ed4d6be47 SHA512 7eabb515f94920af9b8f028afaaa51e27983f7bfd73f66c29fc191e2f3dd3e8939ddac67de0127c67c35cbc17c3500a7390103b26c85056780c865aadeb5e1d9
22 DIST moto-2.2.2.tar.gz 1684678 BLAKE2B ebe1eb08c67ccdb8c484fa8fc75d7ce58750d94620f46b53268d6b6b0732d90160bf7b6837efa492f621e1c001d933f5d59d39c266d65bbb1852f315b3bc03d0 SHA512 a8b192637b701eda0e4a7b11e84f5251386de98590f1d7c33732d8bf12642b39b61f1d360ad39c3e1b0a645268139d9e330d48fbe7029b943094ad317cb45ff6
23 DIST moto-2.2.3.tar.gz 1700636 BLAKE2B 926fe245ce457dd79eef6780fc0b984d2ff1cbe95807a3463f0d0080583af2ba356ccfcce22e60927737e1531ec7bc167c5f649e784b191ec821aa56df65277d SHA512 0b46229ae06db7cb2634df3f1b3b1a6b6fc983978a763e8879db0d9e209ccc6b96b28e8e2ee40f6e1a8e39b74d7a2430788126220e3a7dab5e8df217c3c8c005
24 +DIST moto-2.2.4.tar.gz 1724663 BLAKE2B 3feb39bec246a8157aa542c711289ab0ca257ec510835cd48aa732c3f07903db857971e3d024c1aef35b5a0b55b7c4ecef2b319824c1d76f0076ab8d2d75329e SHA512 8acd8a3156db71af35ad0ac6a5105a6b7739d8ca9881a2cb091637830bc6fbb10d8bf6adfd1a1091556f9269fad737b345d2bdf50e09b54201fe7438674dd906
25
26 diff --git a/dev-python/moto/moto-2.2.4.ebuild b/dev-python/moto/moto-2.2.4.ebuild
27 new file mode 100644
28 index 00000000000..afcc32f2336
29 --- /dev/null
30 +++ b/dev-python/moto/moto-2.2.4.ebuild
31 @@ -0,0 +1,75 @@
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/dicttoxml[${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-1.9.201[${PYTHON_USEDEP}]
61 + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}]
62 + dev-python/flask[${PYTHON_USEDEP}]
63 + dev-python/flask-cors[${PYTHON_USEDEP}]
64 + dev-python/importlib_metadata[${PYTHON_USEDEP}]
65 + dev-python/more-itertools[${PYTHON_USEDEP}]
66 + dev-python/pretty-yaml[${PYTHON_USEDEP}]
67 + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
68 + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
69 + dev-python/pytz[${PYTHON_USEDEP}]
70 + dev-python/python-dateutil[${PYTHON_USEDEP}]
71 + dev-python/python-jose[${PYTHON_USEDEP}]
72 + dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
73 + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
74 + >=dev-python/requests-2.5[${PYTHON_USEDEP}]
75 + dev-python/xmltodict[${PYTHON_USEDEP}]
76 + dev-python/werkzeug[${PYTHON_USEDEP}]
77 + dev-python/zipp[${PYTHON_USEDEP}]
78 +"
79 +BDEPEND="
80 + test? (
81 + dev-python/freezegun[${PYTHON_USEDEP}]
82 + dev-python/responses[${PYTHON_USEDEP}]
83 + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
84 + )
85 +"
86 +
87 +distutils_enable_tests pytest
88 +
89 +python_prepare_all() {
90 + # unpin indirect dep on ecdsa that's supposed to workaround pip bugs
91 + sed -i -e '/ecdsa/s:<0.15::' setup.py || die
92 +
93 + distutils-r1_python_prepare_all
94 +}
95 +
96 +python_test() {
97 + local ignore=(
98 + # incompatible versions?
99 + tests/test_core/test_decorator_calls.py
100 + tests/test_s3/test_s3_classdecorator.py
101 + )
102 +
103 + # pytest-django causes freezegun try to mangle stuff inside django
104 + # which fails when django is not really used
105 + epytest -p no:django -m 'not network' ${ignore[@]/#/--ignore }
106 +}