commit:     536b4237243dae5d9eb97a711a322a96df2629a0
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 13 20:01:54 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 20:03:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=536b4237

dev-python/boto3: add 1.37.12

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 43ab06208d73..653453fc45cc 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -1,5 +1,6 @@
 DIST boto3-1.36.26.gh.tar.gz 903988 BLAKE2B 
f9bb945e9132a7af7bd92ff48e5a99cc89488283c30e2d7d0cbb22d9002bd41c5d5f8a449494d2aa4758648aca3c2e88dad8bebda640af4bba7df64e72ffd2bc
 SHA512 
77a545fd94ed50114db72d7b763e232356e78cda7a2780c12c26b602ed85101218339adf6247ba45e3a8b16c33fb11f5fb34572a37dfeac43dd9322823372cc1
 DIST boto3-1.37.10.gh.tar.gz 912397 BLAKE2B 
fbd9fa118a936901c9cef6739bd114d69464d7f7d8211a42370ed7235637bd09c966c12a36c4faee2d4c3b8b58a179f6b20ee88723a881de8e03daed687ca76e
 SHA512 
1788b0e75b93e6a8c56e8f63cdcb39b5075d2746fcebc04f1842915d849b7976cb1ad537f913ee78405982d2527b49dd17a1781f51a75d9c731ba78d249e1eb6
 DIST boto3-1.37.11.gh.tar.gz 912680 BLAKE2B 
4ca885f51bb27e143d82202955a2df3177affd8fbcc2b66d2db3abd63330729f20e1846f03cfa5aa9f741d25ef954c52536655484f0b28a1d2f8be75ff5d5407
 SHA512 
5521938257057b6000759242c7aff586bb09a2439339c2ae7cb1e49869eae3d4e075694eb10eaf0d82832f73f1479b4979eb16feb730ad9f910f9b84865de292
+DIST boto3-1.37.12.gh.tar.gz 913451 BLAKE2B 
783d24f6dfcdce9cc69c8f6902c478866b5cd22a9a6e8ba10845807314a082a7933f17083b76ae8e9ccca478aee01da932423035c4b7d3bbbcb70cb74e07cbe2
 SHA512 
a28244d0b58846aa1af72a62bff524cd4f2f1ecae24d0eda773bbc49cdda99e2a801e08d6a042af695540bc4acb7799ff40be9cb10105c9556b2bf52f5277b70
 DIST boto3-1.37.4.gh.tar.gz 908620 BLAKE2B 
ed63365ccd6da9b97715e4110be2b562285a123139a90ddb10c1411d5bd5ba0de9c110177a31f03ecb7e257fd79a0de89a8be97493a83f3207050676f7022e04
 SHA512 
dbf40cb809ee1d3ef352b97f62c111d113293211226a63298979d8ea14833c83ac2e321714dac349bfe095f75120c2752d08a01c19e51d9b0fc947e27a910005
 DIST boto3-1.37.9.gh.tar.gz 911836 BLAKE2B 
d190525b9c5e39b445042aba6d8e57da5e49165775901ceebe44b76fd2780ec85a2f5a8a08d3a9a5e451d42bbae19b679e565a7a9acc663258ea0b7909a9a798
 SHA512 
12cba48d5f2c158b372eaf4e44903e22ca963e5712c3c463fbfd20626a771efe30530852b6c9ab70132a26472ff1b4656095675a5de37524f6b489c25175f8fe

diff --git a/dev-python/boto3/boto3-1.37.12.ebuild 
b/dev-python/boto3/boto3-1.37.12.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.37.12.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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 ~loong ~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.11.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