commit:     6198584a47eb6a0fb5e5748885b012a409f7d0f5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 04:21:05 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 11 04:57:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6198584a

dev-python/boto3: Bump to 1.34.103

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

 dev-python/boto3/Manifest              |  1 +
 dev-python/boto3/boto3-1.34.103.ebuild | 53 ++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 8f3b2a34242b..f90e46b59ed6 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -1,5 +1,6 @@
 DIST boto3-1.34.100.gh.tar.gz 806339 BLAKE2B 
42c4e98711f0d17ed36bbd15ef00f5c5d8383fa18ad8ac8006644cab0f905dc3694718af7d570e255a1bfdca347c3e8de3375fc3d36d5b9ed7decd46632831fc
 SHA512 
bfd43f323a81782cc7cd251b91786a773f5a3d890d154a9cf4353480e2e68ba64faebf3c83936d9c03b4301c9749076787ef0290b90f20381c4eefe51cae4c3d
 DIST boto3-1.34.101.gh.tar.gz 806852 BLAKE2B 
97c75d1d8bcbcf1120e0dce7d968796c1aafc69888fb93b56b0bb3871d1658aa4f887a478edb8ec743d4406c642eff30e28a2cd2a27ce7e68cc6023e3ad73e4a
 SHA512 
0d1818f79672d40378476b8a05ec98a85cb0d4dfbdb504fbe586c4d84be58ee0afc5dd7f1243d06b7a1f1b7c18e4c7742c11312c4caf522b258df9763d9fab1f
+DIST boto3-1.34.103.gh.tar.gz 807394 BLAKE2B 
da291c86a8b20bcaac5f93779899bfa5c6ce207499df393cd921f37021c1c38ed0587edd2261cee8de7ce17264670f9cda072d6748f274e6f3d9b40caa499803
 SHA512 
3b879f88a145ca7ea7533e4d8aa77cec351f272c59fa119622dab061fd6354f88d33709bd1621802f38f19e8378505caa94b8a6b561d16f4a2aa168828021206
 DIST boto3-1.34.88.gh.tar.gz 798806 BLAKE2B 
2d3e02f0584e138a75acb68593bd88126641d4617c668062685406d3dc1913556bdf8b821ed3deb6cd9abae40e27a5e03fda35f5824c40a8028346868776de67
 SHA512 
9bbff2c0589cb2dbc5ca52f224f052c2a924117f16903c2ecad32d486a8b2d31fb9253c827c5819a5203c3ac349d1c990be24a413fab7e0b9c558e1b94ed8e9e
 DIST boto3-1.34.93.gh.tar.gz 802078 BLAKE2B 
43f19efd6ae42bdb20e8dd79b1735df229ec2f231b5fe05006b26fcd5ddf4796a53fba6011c298fb919ee7b205b4ae3f4b563ad3b5325bdbbdebaeab7be59608
 SHA512 
4da1d9d7d8648e895f23763e5055a868d05bbfd8eb28d56e716975b3b8349bd1825d703f6fd11c316174004c39e1fca5ddcd8a4ad27a000e1a52f08a36eb4780
 DIST boto3-1.34.98.gh.tar.gz 805719 BLAKE2B 
5cf7f0cc415e25c8b41aa464b636b1683f4e71198569f5eac3e6e43cef7050e20e92c3fd988517fc1463601073b41b0b9c668a58bb866d03b83973c9b9cd976a
 SHA512 
06cab81bbf73a9c37b68e0312a7c587bace700b8032e283b6782c1275804ea7c93065c4282837957b5cf3523d50fe57319a54af494262e2666f65440da9771fd

diff --git a/dev-python/boto3/boto3-1.34.103.ebuild 
b/dev-python/boto3/boto3-1.34.103.ebuild
new file mode 100644
index 000000000000..2c733040b7a3
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.103.ebuild
@@ -0,0 +1,53 @@
+# 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/
+"
+SRC_URI="
+       https://github.com/boto/boto3/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+
+RDEPEND="
+       >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+       >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+       >=dev-python/s3transfer-0.10.0[${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