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: Wed, 05 May 2021 09:25:52
Message-Id: 1620206732.d41d330137eff4059893c12c1f67930ee5907543.mgorny@gentoo
1 commit: d41d330137eff4059893c12c1f67930ee5907543
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 5 08:19:26 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 5 09:25:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d41d3301
7
8 dev-python/moto: Bump to 2.0.6
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.0.6.ebuild | 70 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
17 index 19fa8f3d311..a84789ae085 100644
18 --- a/dev-python/moto/Manifest
19 +++ b/dev-python/moto/Manifest
20 @@ -4,3 +4,4 @@ DIST moto-2.0.0.tar.gz 5054551 BLAKE2B be9b18909f90b22fe57d47e2eea50144b4ac8046d
21 DIST moto-2.0.1.tar.gz 1530088 BLAKE2B eb35bcbc8b22044ae86eaa6eb1f71eb24174a8686ef06d475c870ef629d0a525719c4f153cb0a55fa27f3c33568a5796a07ce903800468557dfe275de3da3623 SHA512 d650140c76a2090332fd9f4c8be84379d4e578a63125d473b821d59bff9f93ee8e696268e4784df13f2ee3b8b6967fd10cbd94750f37e63967ed679b4a301682
22 DIST moto-2.0.2.tar.gz 1534459 BLAKE2B b4609f332e8f8eb8d61250919eca805f82a6dfc468cf0b9cfe81f462aae9f93373efec6165c818589abe60955abe061a273148a36e4b1f8534ce9fa7e59f5cd2 SHA512 b478f9938f8e7b92c3e718a1aea5907c2070bda42995050d39f8e62cbd7cfd30fe4c9cbd7e7475f5a50c71c3370a89f53480adcf83df1fe08968125f2a1427f6
23 DIST moto-2.0.5.tar.gz 1551415 BLAKE2B 452cb94443188e1715145bee574f04924d894a3d647673443a8a335bb907f8601098540b032d6c9a8ced3e1fc490c49ad70c877547d905cece05bbb742d05976 SHA512 70e64ab98873d480e776a2139a4d351665c6c2f98faf90e2871c6b9998571d1bd239757bc90bbc6ab6e1ed510598bfce77157ad522953efe40c884068885c57d
24 +DIST moto-2.0.6.tar.gz 1557871 BLAKE2B dd4c23758bc9c98fbd2b2a70af744daa245fc8b4b1154348486ae85d195e5e3fa2c513f61386504d05c0d646e81fbf8ec5bf41be317b9fd7581668cd23cc1db3 SHA512 9f287ff07f948dd3d2d6af1c6120d29e9625e420bb94f83c230d813e26689161f9a2e89e2b32947e82084cdcd865fef714ad14309ff41371bd37d251481f8dc9
25
26 diff --git a/dev-python/moto/moto-2.0.6.ebuild b/dev-python/moto/moto-2.0.6.ebuild
27 new file mode 100644
28 index 00000000000..7c3740bdf84
29 --- /dev/null
30 +++ b/dev-python/moto/moto-2.0.6.ebuild
31 @@ -0,0 +1,70 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +DISTUTILS_USE_SETUPTOOLS=rdepend
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-python-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/more-itertools[${PYTHON_USEDEP}]
65 + dev-python/pretty-yaml[${PYTHON_USEDEP}]
66 + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
67 + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
68 + dev-python/pytz[${PYTHON_USEDEP}]
69 + dev-python/python-dateutil[${PYTHON_USEDEP}]
70 + dev-python/python-jose[${PYTHON_USEDEP}]
71 + dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
72 + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
73 + >=dev-python/requests-2.5[${PYTHON_USEDEP}]
74 + dev-python/xmltodict[${PYTHON_USEDEP}]
75 + >=dev-python/six-1.9[${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 + # unping indirect dep on ecdsa that's supposed to workaround pip
91 + # bugs
92 + sed -i -e '/ecdsa/s:<0.15::' setup.py || die
93 +
94 + distutils-r1_python_prepare_all
95 +}
96 +
97 +python_test() {
98 + # pytest-django causes freezegun try to mangle stuff inside django
99 + # which fails when django is not really used
100 + epytest -p no:django -m 'not network'
101 +}