commit:     3f31130793a64e143aae189c157d7436f2bdcd17
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 06:54:02 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 08:19:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f311307

dev-python/boto3: Bump to 1.34.18

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.34.18.ebuild | 64 +++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index ce4db56498ba..79b5a1c72283 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,4 +3,5 @@ DIST boto3-1.34.14.gh.tar.gz 762792 BLAKE2B 
87857a6ff7e19f8438fe6b57978cdb3c8d22
 DIST boto3-1.34.15.gh.tar.gz 763117 BLAKE2B 
52172262ea046139e1e828ded5f47564523a4e32e290e994333b73fc003c61537b8db77480dc5f7a6a2b4d5c4428819d53e0b43337fb32b1e0ea27dd81c2819d
 SHA512 
8f6f11553d4226c6fbf9e5642a99a9a3f17f55882b80a79b6e584f0848524da0af98bf5c0729820bb73102cbcb733433febe01a188b8fc29f0187b7e4dbfb2a6
 DIST boto3-1.34.16.gh.tar.gz 763874 BLAKE2B 
9186b3f5e1dad7ef235bb1e1ff25b02d07bc9fcfb59803c99f489f67128f15305dce7bee998d20f9bf33d48bb24e76f864420dd834f44a70aabbbd85bc1f22fc
 SHA512 
25b828f4bfcd51d5d1812970dd205429317f77e90d7ce0576370302b20a2f1bb972674b82bfa95b6398088ca059009d3980569ab1e132fc33e6af8d1dc33c37a
 DIST boto3-1.34.17.gh.tar.gz 764676 BLAKE2B 
a6e98ad81c3eb2a028c3d474860d8ec49f55be78bd832433e22444625a03adff7f7a7b21bb2cc435837831c008aa11a9186affc0cf09ab13279db09140ed0f4d
 SHA512 
83e17c46e9c839b6ec500ecdf3b1982f8b76c0b8ad63d66da3feb49646107be89c9ee3c913b3b03427eaf3d3d46cb34e7ef761261f3d72b78bc6771bd3f89c4e
+DIST boto3-1.34.18.gh.tar.gz 765458 BLAKE2B 
29414e20fa034f63c899b6f2d5460d8973dd617aa97adbe1940daaf3f4a08cf9286bf24709fe9bcd745fdec8415578a87033f99cfd1335baa8ecf29f1723074d
 SHA512 
aa5dc9363d3f04f49a40ea352ab75a30b52e9b1aa1153ab4ed9d6bef6059ea6cb0cb04301158f0e857d9abd19c670db447dda6cd9d8898d6c71c0b69242775fc
 DIST boto3-1.34.7.gh.tar.gz 759909 BLAKE2B 
059228d7bd57ac34274437f77b3510dff6dca7d1293ffd6f7672b0fcc0acefffeeda2c5c2b4e19ef49bbffd4746dc226edfba52d57f5f8629516c9e830dbdd90
 SHA512 
43395937977ad3c860ede35d2adbb9575312ddab4972b8d258e41a7d6e86f3e6a74037dadb0f0e0f4f3d5ed715a66390041ac9c980bc8a3cfb727a44e252113e

diff --git a/dev-python/boto3/boto3-1.34.18.ebuild 
b/dev-python/boto3/boto3-1.34.18.ebuild
new file mode 100644
index 000000000000..037a85ad96ee
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.18.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="The AWS SDK for Python"
+HOMEPAGE="
+       https://github.com/boto/boto3/
+       https://pypi.org/project/boto3/
+"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_REPO_URI="https://github.com/boto/boto3";
+       inherit git-r3
+       BOTOCORE_PV=${PV}
+else
+       SRC_URI="
+               https://github.com/boto/boto3/archive/${PV}.tar.gz
+                       -> ${P}.gh.tar.gz
+       "
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+fi
+
+RDEPEND="
+       >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+       >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+       >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       # don't lock versions to narrow ranges
+       sed -e '/botocore/ d' \
+               -e '/jmespath/ d' \
+               -e '/s3transfer/ d' \
+               -i setup.py || die
+
+       # do not rely on bundled deps in botocore (sic!)
+       find -name '*.py' -exec sed -i \
+               -e 's:from botocore[.]vendored import:import:' \
+               -e 's:from botocore[.]vendored[.]:from :' \
+               {} + || die
+
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to