commit: f5724f7d9eed53f7bd5c6e5ca32f0cb886a389a8 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Oct 23 04:58:51 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Oct 23 06:16:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5724f7d
dev-python/boto3: Bump to 1.35.46 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.35.46.ebuild | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 43385cd2ef79..401feb3d0285 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.35.34.gh.tar.gz 870029 BLAKE2B 5cd9cfa0a742b8d01a6229183c3545945bb5 DIST boto3-1.35.39.gh.tar.gz 872172 BLAKE2B 1baad362b9bfcf68ea89c9ba9ea473fcf2451a71be8121a443830622114b3577ae83500aaa0cbef86115e24d276ffa5660fa6e9c08d2358fa493367405fc8dd4 SHA512 4244e71a3773d9abfa419c34220fa2c44c90a93b11b8338535582aee8fe9cd788672d6833ae97f1b32fb6479b9be97f1b2db953f24b403b07f2ee3153bc833aa DIST boto3-1.35.44.gh.tar.gz 875230 BLAKE2B 68c4fa6739a5d9cb720670a1bc14079ffac4b23101bd27367ec81675a34d717341c87257864a658c60d8a0c5fdea298f73db979b6aa64f65e9ea54479005d33b SHA512 6ff24f42088ae9f77b5e1ff033fab34c6a0c0f7fc46cf9cbe172b3151cf259e48c3804981afbc8de893dc2541105a04bc00d6becd3220c18243bda7ed206740b DIST boto3-1.35.45.gh.tar.gz 875934 BLAKE2B 0b532577dd9c27c50d6ddeb9916205f53926a401c6acb10a83b3f1b812ec9b084dc940f85d74c16cd7575345b512c58c5bd3865eabcbff7a8e12010f5165dded SHA512 96468e6fd5bf266061f499aa79be0420ecf03f7dc3b9172e39e79cf1e144ddd3365a43c1e5a4c441e8fb7005968cd1571542a390ba4b864257f171d62b5abbca +DIST boto3-1.35.46.gh.tar.gz 876859 BLAKE2B c37a8af936c8b02e08fe08fc300bb46df748654819db3ff82cb93db1350b1c37983ab4de5c191dda43632bc1460fa4e5e711ff2517873620f8b600e0abd9a931 SHA512 911f2bcbbe5c130d540e8b9cf718b17d53a128db8d12f28c965832f574b7261e057d9b669561ed928c6bd500ad7059760e4d54a56af8c5bc0e7954e897f454bb diff --git a/dev-python/boto3/boto3-1.35.46.ebuild b/dev-python/boto3/boto3-1.35.46.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.46.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} +}