commit: ccf1d75f296e5871bcc7d5eee4c60919b0a8d088 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Nov 27 04:26:57 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Nov 27 05:47:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf1d75f
dev-python/boto3: Bump to 1.35.70 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.35.70.ebuild | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 4bdc16dd07d9..5d1b416b8941 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.35.57.gh.tar.gz 885077 BLAKE2B 4f3a29db5e76c706fbfd0afb3ec05d5518e6 DIST boto3-1.35.63.gh.tar.gz 891481 BLAKE2B 092f4380aa31e57b3c8f6ef41ea8f0a4272e55f7a71762a532f338482f08782a11d57bdbc9af3630348706c4009bd0d3cd56ef4b2f1394d2d003638717cef860 SHA512 4deab7682b0f4d80a4aa12a8660b7263908411bd8f38692f9fa8820c6a18a4ecc3443e7524794282a0c0f38a4b94a1d09b6737e84ff3e01b9c8ac93abca2a9ce DIST boto3-1.35.68.gh.tar.gz 901189 BLAKE2B f7449998af169c873319d7b8748035db72c3af7be6499453c9fe61f40cbfd724dce7cf003fe700f6046f43c887768f4c26dd52e491f5734a5ec55c5b54e360c0 SHA512 24582ed20764870e2491a2dc48869089ebc4371a279eff68827ce3a6a962568fc1738e52285fa89a3a846385b498bb233460c1d0ae3177d735ad20b2cef7fea2 DIST boto3-1.35.69.gh.tar.gz 901747 BLAKE2B d05189e0fc1e22e34931275c9df0512cd622997b4dc0615d0566cd00c87e3501f94df36b2355017a6c585c5e9aae7cd8896d2222f4102da64b2d012ab868c48c SHA512 f0aa6885b414ae6e26f70c7b3ec2d28975f926d6c3525ce02fb2e1e3246cfaa1c4ad03d98a9b1d65b98db536b7cc88b5bb845892c8125316416336b16df96b95 +DIST boto3-1.35.70.gh.tar.gz 902264 BLAKE2B 530cb1e971c00021203e26aad14e05fee4ae81a5702a2cab7dc45bf7352e771d2aaccf05dbebae4a4d49afd7f88c6d3b9bd1e2953b5e968a2857f04354352b97 SHA512 09a8f4db6f411fc4efca2cb532696357742d67d19529027790ae5fdf18b5b52d082db1d020ad7147de94c1bc798dbd7dcc902fd1701283ec04408ceebe9e3b06 diff --git a/dev-python/boto3/boto3-1.35.70.ebuild b/dev-python/boto3/boto3-1.35.70.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.70.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..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 ~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} +}