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/botocore/
Date: Thu, 20 Jan 2022 23:26:12
Message-Id: 1642721143.4bb4e7e07274c090e3f0dfc36c5d65bab23c508a.mgorny@gentoo
1 commit: 4bb4e7e07274c090e3f0dfc36c5d65bab23c508a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 22:45:16 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 23:25:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bb4e7e0
7
8 dev-python/botocore: Bump to 1.23.40
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/botocore/Manifest | 1 +
13 dev-python/botocore/botocore-1.23.40.ebuild | 65 +++++++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index d578b441070a..3874a2ffe7c4 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -12,4 +12,5 @@ DIST botocore-1.23.35.tar.gz 8719275 BLAKE2B 2bda51eef1ac3d420952751d610722fbb57
21 DIST botocore-1.23.37.tar.gz 8728451 BLAKE2B 039352d4c727433cc5aef435cd7527fa3bc6027c3db8b2a27219d4cab8f602f74995b09e5407c1df1c7a51e37830db7e8f351484485f6b822499933c35607472 SHA512 79004d38fbfc744d2fd91364a1cc99d8be1f2d03f25f2ba77df0da4b4d429a156ac5d52ca523ee4992ff99ac83b7a14e7f49e3b12b9b6f91e164fb720c41e10d
22 DIST botocore-1.23.38.tar.gz 8732008 BLAKE2B 012dbd44294038234ca127b5c2db924ecf4a6c17d91a4a5e8f1e58b860dba605cc43248035f8bc0b485e993c65ec5b6ba2d54ae4b9d93d423afedc025f806a40 SHA512 22c04b7d18c2642ea45e11886fac6379fea14466d7f03fc976c4a81e42166583d1702888229ba560d4220781e742ff0264bae5df94e2d00b945259efc35f6016
23 DIST botocore-1.23.39.tar.gz 8730499 BLAKE2B 0b622b23e89ec862b62ae078dc0b73218beb0824918cc01545832e66e98ed02f8fdd79b6fbc25a01360847795754c6e43d0dad7ab2a0492a1a8add651aa55ac2 SHA512 317206eeebebf490c950b858da627fe35a97312bf3e0d622c3bb18211d27f7b406b37b584c6e31774f911370401d3e04e721ea7fcdb51f690093ed3147272e24
24 +DIST botocore-1.23.40.tar.gz 8730992 BLAKE2B 855742e6661e497c10cee6becbc9fc5eae39b1525b11008ecc27e35126d3c2ab9ce68d5d260a974d8359eeb056dad0d79dd866b6097458989989b6ae9924e49f SHA512 cbed5c316e3976594930ae1c274fdac9e25289c9818bc515e5a27c620431b05c010736f8e94d90fb935e22e5a1c50dbd4708c7674ef6e697c35475f8757df63d
25 DIST botocore-1.23.5.tar.gz 8374467 BLAKE2B 467092e7d8aa5ccb756132669049865445a47205913964c1c944b20caaf100b1efdd1bf3af9c5416ff079b487e6d4d08ffe6208e2b352d09655cc5be21c88739 SHA512 6afca19b724f9019f21e5993ce970d605b95d31c1a4e969ec1b4080510a5a120b3fa0cfd5ade973a9203bd6b7983a3dbca2f7a03108a9167392efd60d5e2fe9b
26
27 diff --git a/dev-python/botocore/botocore-1.23.40.ebuild b/dev-python/botocore/botocore-1.23.40.ebuild
28 new file mode 100644
29 index 000000000000..79a1cd5da0e2
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.23.40.ebuild
32 @@ -0,0 +1,65 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DISTUTILS_USE_PEP517=setuptools
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Low-level, data-driven core of boto 3"
43 +HOMEPAGE="https://github.com/boto/botocore"
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +
47 +if [[ "${PV}" == "9999" ]]; then
48 + EGIT_REPO_URI="https://github.com/boto/botocore"
49 + inherit git-r3
50 +else
51 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
52 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
53 +fi
54 +
55 +RDEPEND="
56 + dev-python/six[${PYTHON_USEDEP}]
57 + dev-python/jmespath[${PYTHON_USEDEP}]
58 + dev-python/python-dateutil[${PYTHON_USEDEP}]
59 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + test? (
63 + dev-python/jsonschema[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +PATCHES=(
68 + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
69 +)
70 +
71 +distutils_enable_sphinx docs/source \
72 + 'dev-python/guzzle_sphinx_theme'
73 +distutils_enable_tests pytest
74 +
75 +src_prepare() {
76 + # unpin deps
77 + sed -i -e "s:>=.*':':" setup.py || die
78 +
79 + # unbundle deps
80 + rm -r botocore/vendored || die
81 + find -name '*.py' -exec sed -i \
82 + -e 's:from botocore[.]vendored import:import:' \
83 + -e 's:from botocore[.]vendored[.]:from :' \
84 + {} + || die
85 +
86 + distutils-r1_src_prepare
87 +}
88 +
89 +python_test() {
90 + local EPYTEST_DESELECT=(
91 + # rely on bundled six
92 + tests/functional/test_six_imports.py::test_no_bare_six_imports
93 + tests/functional/test_six_threading.py::test_six_thread_safety
94 + )
95 +
96 + epytest tests/{functional,unit}
97 +}