commit:     c8557b2eec156910c58a3bddc43ef04dde724df1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 03:14:28 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 04:12:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8557b2e

dev-python/boto3: Bump to 1.37.17

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 8e6cf5dd9a8d..b92d0fc0bcea 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -2,5 +2,6 @@ DIST boto3-1.37.13.gh.tar.gz 913692 BLAKE2B 
cc8b3dbe1f30d5969b8d0abb64b0ff6b7b6c
 DIST boto3-1.37.14.gh.tar.gz 914511 BLAKE2B 
0c175c4213ccb02e338fa42733032c6578983a313d3f1a6b0efdc90d1cd99b736af0a241959afe48ed16a4e16ca6202e2e4de4efe0a8b38b42a830f76001d794
 SHA512 
a238502382f19c697f6d6a1b8ea3293ead6232654a20a193fde6866a7a1915b3355bd0dec810eecad2b9023640623ae5ce1fdfa473743eeda89936eebd959ded
 DIST boto3-1.37.15.gh.tar.gz 914892 BLAKE2B 
139f7b6b6f7d092113a0be77338c53ae955bccd29900ad630867788f935cdbb2a7212b03b322fb5c9366d6f68cab5ce0a7386685eb537e1655aecd4778fbbc7b
 SHA512 
c5da973796066b56893f88a93867441e0186add4b86ec30791010c7e09deaeabb495bf40781cff847b818e31e801848233a422b3d2d0ad49dd6e51d2ebcdb05c
 DIST boto3-1.37.16.gh.tar.gz 915317 BLAKE2B 
2404b868dea6b75a5036ab7852789c78fad85f929bc0aaafea74714c3f38eb934e0bfa5ac0928d206fc0975adc807b12ddb625883834532954b50721d683d4a9
 SHA512 
d571fa3264b2cdc3243da1fac271e1ff1c7d9b77aa2679f532b43277189db5be5cba322a8ceb003c587f05e786e59fd1ec0a05f0a717e3d705426012227eeebe
+DIST boto3-1.37.17.gh.tar.gz 915751 BLAKE2B 
5dff8697f4f96a329e17594e558ce5752070fba88d1b6093aac63a42854555e27280354b45562df766e0cac4ddd36435b6dbd575c982437bc4aa84a1314afc5d
 SHA512 
2819c80154e525aedef9c1ae43c89e4c051861a6126c76e3bffe700564cf037f50cd535d1f28532744835fe9630ece80a280c20b29ea509d5059b425c596ec09
 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.17.ebuild 
b/dev-python/boto3/boto3-1.37.17.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.37.17.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