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: Sat, 12 Jun 2021 21:02:10
Message-Id: 1623531720.6680073bf1b4b70fd9c3f9c0309d896066095be4.mgorny@gentoo
1 commit: 6680073bf1b4b70fd9c3f9c0309d896066095be4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 12 20:13:18 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 12 21:02:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6680073b
7
8 dev-python/moto: Bump to 2.0.9
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.9.ebuild | 70 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
17 index 2755f57c218..911a3f2fac0 100644
18 --- a/dev-python/moto/Manifest
19 +++ b/dev-python/moto/Manifest
20 @@ -7,3 +7,4 @@ DIST moto-2.0.5.tar.gz 1551415 BLAKE2B 452cb94443188e1715145bee574f04924d894a3d6
21 DIST moto-2.0.6.tar.gz 1557871 BLAKE2B dd4c23758bc9c98fbd2b2a70af744daa245fc8b4b1154348486ae85d195e5e3fa2c513f61386504d05c0d646e81fbf8ec5bf41be317b9fd7581668cd23cc1db3 SHA512 9f287ff07f948dd3d2d6af1c6120d29e9625e420bb94f83c230d813e26689161f9a2e89e2b32947e82084cdcd865fef714ad14309ff41371bd37d251481f8dc9
22 DIST moto-2.0.7.tar.gz 1565849 BLAKE2B 1c6491828a43156fd347bcce80f3440cd8d4964e28bab19593e29fd88aed558652b08c81c577312f9c612adc666ddd35fdd46b4d2d8fb82eef380210e9c62d8d SHA512 5df26f478909c57d4ba76bb7c6e002c37d7f604084c157744be32da93dbb705605a7a85eb0774cbf2c0083f7096f01075ddb1a119cb7ac2f3931cf58896f1629
23 DIST moto-2.0.8.tar.gz 1569426 BLAKE2B 746313241d49558ab49d7e2116406f128a315a9fca40956808e7f901e91518551a1f75c95c9ce5c92534221d1db3e01a3baa2cef6cadab9a9d024cc30d8ce0e2 SHA512 5cf1a47c97100b76ad9b69787ce4df00f24f93ba1a36a242cea535ede649af457ff043b44f1cce4a4e44b6735844652f69271f18edac0748b636f4e519545018
24 +DIST moto-2.0.9.tar.gz 1614328 BLAKE2B 0bb9e3dcc0c25476b7fdabeecc31be6904a21d6a77f6ce3d9c9c176625873d30c55321c8939ecb8bbc91ee64faab9cd7231150dfdcbd4d5d7d3dc8eae614d9f2 SHA512 41b32aa192dd5c5052a90f345f29e696f9cc6abb3698ea0b738f8805fc920f4abf7d418a64aecf6efd66162aad631c88754d5e4e349ca2ba5b393771038219cb
25
26 diff --git a/dev-python/moto/moto-2.0.9.ebuild b/dev-python/moto/moto-2.0.9.ebuild
27 new file mode 100644
28 index 00000000000..eb634172a25
29 --- /dev/null
30 +++ b/dev-python/moto/moto-2.0.9.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_{8..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 +}