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/boto3/
Date: Sat, 28 May 2022 05:00:24
Message-Id: 1653714011.0aa6c8fd7fb91c25f5c43927332875801ab1c5b9.mgorny@gentoo
1 commit: 0aa6c8fd7fb91c25f5c43927332875801ab1c5b9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 28 04:05:57 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 28 05:00:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa6c8fd
7
8 dev-python/boto3: Bump to 1.23.10
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/boto3/Manifest | 1 +
13 dev-python/boto3/boto3-1.23.10.ebuild | 68 +++++++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 115b608953e7..5a2ac0ce24a2 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -1,6 +1,7 @@
21 DIST boto3-1.22.9.tar.gz 497262 BLAKE2B c3fad6d556c62403578347600f2781b5fbf34a5ba975b596878f892cd1981bd06e25e50e4c67e5b5b27d6a0fec3aa8af0ea6e30a38277dcf1ae157719d95b3c5 SHA512 f32d6b9b2a8f2d6fcf975446f2c3530a8ba29dc8a3d55ed7b675bc7fb68694c3e6e1f0c54c3f6a715923f9c10268c7db04d897b73add7098f0e43062d2f28775
22 DIST boto3-1.23.0.tar.gz 499085 BLAKE2B d606370e274564f909be46cfac838212de3213fd8407f1f2ac26afc3287feaa4aec8bf25ac6db4f1058739b2cbefc99c8e16c9dd0c12a5bdeaacf4700e9b0015 SHA512 c44237239cadb98f257796e152b13514839d2003d2a8157bf5f8a41c726401a3e248ff021ccfcd3e6b8099939744fb309c6f1ba342ff066e84632f1ac97dbaf8
23 DIST boto3-1.23.1.tar.gz 499867 BLAKE2B 1ea53a7bf5f453a202347f29f0278d5397d6d10cfb52253a64a09ccb6ddfe1a95631045ecf7b526016f314c8773db04d25ed8cd2a539ae20776629079c168b61 SHA512 a1cc49cd53444bbda3fe0bbb1ec6e7e445a53d94af1eda0ed2984f7e0ddc4af14eed09b269cb4b4e62a15d647071bd9a9e5182b7049da745c19ba8da74e5c9b8
24 +DIST boto3-1.23.10.gh.tar.gz 504080 BLAKE2B 1840715ec72b10131a430abdb303adf7619fb4dc542cb22acefffe378c96d094eb7d024c068df1df48882a22fc52e3883791da39d0e4fb34abdddad4d78c0ce8 SHA512 88d0abfc990eba2118698c27fe9f556a2b2ef27d0e287c2b3d65a1d485d4be264a5e9ccc02c017c404941c34efdb5f9d480ceb7c5752f99ebf95d3fab184dded
25 DIST boto3-1.23.2.tar.gz 500287 BLAKE2B b997f18cfb2b5c03eab7decd14a60d70546eb60fb2d52f02d94ee478686bd520e4e8111757e9e073f17f7f415d9eb7243fdcd9ac2e0f2b98f6bd6d34473dc794 SHA512 6a774199b719496143af79b1a8a0612441a4f1d9ce426dfc3d495679bb0fda3856b7b0e81e8403d050de52bf8363dec9f0242cca6b32cf39d172d559d6ddf548
26 DIST boto3-1.23.3.tar.gz 501196 BLAKE2B 8fbe6ec091e249bf675b9245a3ad73416bfae77de8c197f6b5bc6d919e7082aa36b53a93034d5658d7f27c928c932b0f077fc9beea6bbc9015c26e925cc565c2 SHA512 96fa0382a4841901eb961a1135799823710af24c236c4be6def180597bdb53a852fa2c0ea34cf6d1b8cfba0e5c5a2b10f361677a993b733bc14729ee68af16f2
27 DIST boto3-1.23.4.tar.gz 501445 BLAKE2B f38c963558c99fade5b55c0b8d96221de7af7a215f7be2a4863285152720318f05cbaf996f8f0910f68830fdbb214b242d2e8e2e538ae345e4877a0ed733c148 SHA512 85298ddbb4a305354c50f4f63e9e6d0a1c821ac18e15dfaaf3d8ea3e03fd86fb6ea913402c6ac5cde4305895f387cf25eca928b7f00403198ad2eb5efe965eb7
28
29 diff --git a/dev-python/boto3/boto3-1.23.10.ebuild b/dev-python/boto3/boto3-1.23.10.ebuild
30 new file mode 100644
31 index 000000000000..73f2eea33612
32 --- /dev/null
33 +++ b/dev-python/boto3/boto3-1.23.10.ebuild
34 @@ -0,0 +1,68 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +DISTUTILS_USE_PEP517=setuptools
41 +PYTHON_COMPAT=( python3_{8..11} )
42 +
43 +inherit distutils-r1 multiprocessing
44 +
45 +DESCRIPTION="The AWS SDK for Python"
46 +HOMEPAGE="
47 + https://github.com/boto/boto3/
48 + https://pypi.org/project/boto3/
49 +"
50 +LICENSE="Apache-2.0"
51 +SLOT="0"
52 +
53 +if [[ "${PV}" == "9999" ]]; then
54 + EGIT_REPO_URI="https://github.com/boto/boto3"
55 + inherit git-r3
56 + BOTOCORE_PV=${PV}
57 +else
58 + SRC_URI="
59 + https://github.com/boto/boto3/archive/${PV}.tar.gz
60 + -> ${P}.gh.tar.gz
61 + "
62 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
63 +
64 + # botocore is x.(y+3).z
65 + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
66 +fi
67 +
68 +RDEPEND="
69 + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
70 + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
71 + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
72 +"
73 +BDEPEND="
74 + test? (
75 + dev-python/mock[${PYTHON_USEDEP}]
76 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
77 + )
78 +"
79 +
80 +distutils_enable_sphinx docs/source \
81 + 'dev-python/guzzle_sphinx_theme'
82 +distutils_enable_tests pytest
83 +
84 +python_prepare_all() {
85 + # don't lock versions to narrow ranges
86 + sed -e '/botocore/ d' \
87 + -e '/jmespath/ d' \
88 + -e '/s3transfer/ d' \
89 + -i setup.py || die
90 +
91 + # do not rely on bundled deps in botocore (sic!)
92 + find -name '*.py' -exec sed -i \
93 + -e 's:from botocore[.]vendored import:import:' \
94 + -e 's:from botocore[.]vendored[.]:from :' \
95 + {} + || die
96 +
97 + distutils-r1_python_prepare_all
98 +}
99 +
100 +python_test() {
101 + epytest tests/{functional,unit} -n "$(makeopts_jobs)"
102 +}